Bug 1396589 - Remove unsupported API call for lower versions. r=liuche
authorChenxia Liu <liuche@mozilla.com>
Tue, 05 Sep 2017 09:14:37 -0700
changeset 428405 643915efb742b9c561be7d46b6b599321d8679f5
parent 428404 5f580744fe7ae5350f6278ce70749a5696f8d4a5
child 428406 d342ab7ef7c3565bf5bea01acd261cd1b3d2a456
push id7761
push userjlund@mozilla.com
push dateFri, 15 Sep 2017 00:19:52 +0000
treeherdermozilla-beta@c38455951db4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersliuche
bugs1396589
milestone57.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 1396589 - Remove unsupported API call for lower versions. r=liuche MozReview-Commit-ID: H1oSMcM6BCD
mobile/android/base/java/org/mozilla/gecko/preferences/TopSitesPanelsPreference.java
--- a/mobile/android/base/java/org/mozilla/gecko/preferences/TopSitesPanelsPreference.java
+++ b/mobile/android/base/java/org/mozilla/gecko/preferences/TopSitesPanelsPreference.java
@@ -17,12 +17,11 @@ public class TopSitesPanelsPreference ex
 
     TopSitesPanelsPreference(Context context, CustomListCategory parentCategory, boolean isRemovable, int index, boolean animate) {
         super(context, parentCategory, isRemovable, index, animate);
     }
 
     @Override
     protected void configureDialogBuilder(AlertDialog.Builder builder) {
         final LayoutInflater inflater = LayoutInflater.from(getContext());
-        builder.setView(R.layout.preference_topsites_panel_dialog);
         builder.setView(inflater.inflate(R.layout.preference_topsites_panel_dialog, null));
     }
 }
\ No newline at end of file