Bug 1301160 - Part 0 - Add an explicit string conversion to fix an error in Android Studio. r=sebastian
authorJan Henning <jh+bugzilla@buttercookie.de>
Fri, 18 Nov 2016 20:14:26 +0100
changeset 374392 af1e1981ddc8806263292f1f72f01e13eed1f35d
parent 374391 6e2a6c6c3881562e942d67a66acccfd8e1007dde
child 374393 99c708631eee0d35590ca719671ea3d75ebf4b92
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssebastian
bugs1301160
milestone53.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 1301160 - Part 0 - Add an explicit string conversion to fix an error in Android Studio. r=sebastian MozReview-Commit-ID: GLf0zXsAkAI
mobile/android/base/java/org/mozilla/gecko/GeckoApp.java
--- a/mobile/android/base/java/org/mozilla/gecko/GeckoApp.java
+++ b/mobile/android/base/java/org/mozilla/gecko/GeckoApp.java
@@ -2310,17 +2310,17 @@ public abstract class GeckoApp
         }
 
         super.onDestroy();
 
         Tabs.unregisterOnTabsChangedListener(this);
     }
 
     public void showSDKVersionError() {
-        final String message = getString(R.string.unsupported_sdk_version, Build.CPU_ABI, Build.VERSION.SDK_INT);
+        final String message = getString(R.string.unsupported_sdk_version, Build.CPU_ABI, Integer.toString(Build.VERSION.SDK_INT));
         Toast.makeText(this, message, Toast.LENGTH_LONG).show();
     }
 
     // Get a temporary directory, may return null
     public static File getTempDirectory(@NonNull Context context) {
         return context.getApplicationContext().getExternalFilesDir("temp");
     }