OSDN Git Service

Correctly propagate bundle extra from intent to fragment
[android-x86/packages-apps-Settings.git] / src / com / android / settings / SettingsActivity.java
index 8b71df1..15b3c66 100644 (file)
@@ -523,7 +523,7 @@ public class SettingsActivity extends SettingsDrawerActivity
         if (startingFragment != null) {
             Intent modIntent = new Intent(superIntent);
             modIntent.putExtra(EXTRA_SHOW_FRAGMENT, startingFragment);
-            Bundle args = superIntent.getExtras();
+            Bundle args = superIntent.getBundleExtra(EXTRA_SHOW_FRAGMENT_ARGUMENTS);
             if (args != null) {
                 args = new Bundle(args);
             } else {