Bug 1326374 Changed the method spelling from Lollopop to lollipop. r=sebastian,walkingice
authorsuman <sumangpt9@gmail.com>
Sat, 25 Feb 2017 22:06:07 +0530
changeset 346346 341ec10ef4c9
parent 346345 713c0a78c2c1
child 346347 ea38b28d4a65
push id38479
push userryanvm@gmail.com
push dateTue, 07 Mar 2017 21:44:55 +0000
treeherderautoland@341ec10ef4c9 [default view] [failures only]
reviewerssebastian, walkingice
bugs1326374
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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
+}