Created
December 7, 2014 16:24
-
-
Save Flex1911/2e5ea3dc24b66e0ffa5b to your computer and use it in GitHub Desktop.
Fix for crash in AOSP Browser's settings(Android 5.0)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/com/android/browser/BrowserPreferencesPage.java b/src/com/android/browser/BrowserPreferencesPage.java | |
index 6e6da17..766b653 100644 | |
--- a/src/com/android/browser/BrowserPreferencesPage.java | |
+++ b/src/com/android/browser/BrowserPreferencesPage.java | |
@@ -98,4 +98,9 @@ public class BrowserPreferencesPage extends PreferenceActivity { | |
return intent; | |
} | |
+ @Override | |
+ protected boolean isValidFragment(String fragmentName) { | |
+ return true; | |
+ } | |
+ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment