Bug 1326374 Changed the method spelling from Lollopop to lollipop. r=sebastian,walkingice draft
authorsuman <sumangpt9@gmail.com>
Sat, 25 Feb 2017 22:06:07 +0530
changeset 489825 0f4d67bc9c22e3e2038d931d9c86f7d153f2a5a4
parent 489583 f36062d04d165f6f6e781cf0633ffcbbebe6c273
child 547083 96a5407d2c5e1c163c99b043b7611588827dd3ab
push id46909
push userbmo:sumangpt9@gmail.com
push dateSun, 26 Feb 2017 11:45:44 +0000
reviewerssebastian, walkingice
bugs1326374
milestone54.0a1
Bug 1326374 Changed the method spelling from Lollopop to lollipop. r=sebastian,walkingice MozReview-Commit-ID: FSOglE5UuRa
mobile/android/base/java/org/mozilla/gecko/media/MediaControlService.java
--- a/mobile/android/base/java/org/mozilla/gecko/media/MediaControlService.java
+++ b/mobile/android/base/java/org/mozilla/gecko/media/MediaControlService.java
@@ -156,17 +156,17 @@ public class MediaControlService extends
     }
 
     private boolean isMediaPlaying() {
         return mMediaState.equals(State.PLAYING);
     }
 
     private void initialize() {
         if (mInitialize ||
-            !isAndroidVersionLollopopOrHigher()) {
+            !isAndroidVersionLollipopOrHigher()) {
             return;
         }
 
         Log.d(LOGTAG, "initialize");
         getGeckoPreference();
         initMediaSession();
 
         coverSize = (int) getResources().getDimension(R.dimen.notification_media_cover);
@@ -185,17 +185,17 @@ public class MediaControlService extends
         setState(State.STOPPED);
         PrefsHelper.removeObserver(mPrefsObserver);
 
         Tabs.unregisterOnTabsChangedListener(this);
         mInitialize = false;
         stopSelf();
     }
 
-    private boolean isAndroidVersionLollopopOrHigher() {
+    private boolean isAndroidVersionLollipopOrHigher() {
         return Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP;
     }
 
     private void handleIntent(Intent intent) {
         if (intent == null || intent.getAction() == null || !mInitialize) {
             return;
         }
 
@@ -507,9 +507,9 @@ public class MediaControlService extends
                 Intent pauseIntent = new Intent(getApplicationContext(), MediaControlService.class);
                 pauseIntent.setAction(ACTION_PAUSE);
                 handleIntent(pauseIntent);
             }
         }
 
     }
 
-}
\ No newline at end of file
+}