</intent-filter>
</activity-alias>
- <activity android:name="ApnSettings"
+ <activity android:name="Settings$ApnSettingsActivity"
android:label="@string/apn_settings"
android:configChanges="orientation|keyboardHidden|screenSize"
android:launchMode="singleTask"
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.VOICE_LAUNCH" />
</intent-filter>
+ <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
+ android:value="com.android.settings.ApnSettings" />
</activity>
+ <!-- Keep compatibility with old shortcuts. -->
+ <activity-alias android:name=".ApnSettings"
+ android:label="@string/apn_settings"
+ android:configChanges="orientation|keyboardHidden|screenSize"
+ android:launchMode="singleTask"
+ android:exported="true"
+ android:targetActivity="Settings$ApnSettingsActivity">
+ <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
+ android:value="com.android.settings.ApnSettings" />
+ </activity-alias>
+
<activity android:name="Settings$BluetoothSettingsActivity"
android:uiOptions="splitActionBarWhenNarrow"
android:label="@string/bluetooth_settings_title"
super.onCreate(icicle);
addPreferencesFromResource(R.xml.apn_settings);
- getListView().setItemsCanFocus(true);
mMobileStateFilter = new IntentFilter(
TelephonyIntents.ACTION_ANY_DATA_CONNECTION_STATE_CHANGED);
}
@Override
+ public void onActivityCreated(Bundle savedInstanceState) {
+ super.onActivityCreated(savedInstanceState);
+
+ getListView().setItemsCanFocus(true);
+ }
+
+ @Override
public void onResume() {
super.onResume();
PaymentSettings.class.getName(),
KeyboardLayoutPickerFragment.class.getName(),
ChooseAccountFragment.class.getName(),
- DashboardSummary.class.getName()
+ DashboardSummary.class.getName(),
+ ApnSettings.class.getName()
};
private SharedPreferences mDevelopmentPreferences;