Fix to launch sub-preference activities.
Change-Id: Ie7b5a6737b30159467d5ff5786b22107d73daedc
This commit is contained in:
@@ -71,6 +71,12 @@
|
|||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
|
|
||||||
|
<activity android:name=".SubSettings"
|
||||||
|
android:taskAffinity="com.android.settings"
|
||||||
|
android:theme="@android:style/Theme.Holo"
|
||||||
|
>
|
||||||
|
</activity>
|
||||||
|
|
||||||
<activity android:name="CreateShortcut" android:label="@string/settings_shortcut"
|
<activity android:name="CreateShortcut" android:label="@string/settings_shortcut"
|
||||||
android:theme="@style/Theme.CreateShortCut">
|
android:theme="@style/Theme.CreateShortCut">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
|
@@ -229,6 +229,13 @@ public class Settings extends PreferenceActivity implements ButtonBarHandler {
|
|||||||
return super.onGetInitialHeader();
|
return super.onGetInitialHeader();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Intent onBuildStartFragmentIntent(String fragmentName, Bundle args) {
|
||||||
|
Intent intent = super.onBuildStartFragmentIntent(fragmentName, args);
|
||||||
|
intent.setClass(this, SubSettings.class);
|
||||||
|
return intent;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Populate the activity with the top-level headers.
|
* Populate the activity with the top-level headers.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user