Loading AndroidManifest.xml +4 −0 Original line number Diff line number Diff line Loading @@ -2907,6 +2907,10 @@ android:label="@string/sim_settings_title" android:icon="@drawable/ic_settings_sim" android:taskAffinity=""> <intent-filter android:priority="1"> <action android:name="com.android.settings.sim.SIM_SUB_INFO_SETTINGS" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.DEFAULT" /> Loading src/com/android/settings/SettingsActivity.java +0 −9 Original line number Diff line number Diff line Loading @@ -1048,15 +1048,6 @@ public class SettingsActivity extends SettingsDrawerActivity */ private Fragment switchToFragment(String fragmentName, Bundle args, boolean validate, boolean addToBackStack, int titleResId, CharSequence title, boolean withTransition) { if (fragmentName.equals(SimSettings.class.getName())){ Log.i(LOG_TAG, "switchToFragment, launch simSettings "); Intent provisioningIntent = new Intent("com.android.settings.sim.SIM_SUB_INFO_SETTINGS"); startActivity(provisioningIntent); finish(); return null; } if (LTE_4G_FRAGMENT.equals(fragmentName)) { Intent newIntent = new Intent("android.settings.SETTINGS"); newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); Loading Loading
AndroidManifest.xml +4 −0 Original line number Diff line number Diff line Loading @@ -2907,6 +2907,10 @@ android:label="@string/sim_settings_title" android:icon="@drawable/ic_settings_sim" android:taskAffinity=""> <intent-filter android:priority="1"> <action android:name="com.android.settings.sim.SIM_SUB_INFO_SETTINGS" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.DEFAULT" /> Loading
src/com/android/settings/SettingsActivity.java +0 −9 Original line number Diff line number Diff line Loading @@ -1048,15 +1048,6 @@ public class SettingsActivity extends SettingsDrawerActivity */ private Fragment switchToFragment(String fragmentName, Bundle args, boolean validate, boolean addToBackStack, int titleResId, CharSequence title, boolean withTransition) { if (fragmentName.equals(SimSettings.class.getName())){ Log.i(LOG_TAG, "switchToFragment, launch simSettings "); Intent provisioningIntent = new Intent("com.android.settings.sim.SIM_SUB_INFO_SETTINGS"); startActivity(provisioningIntent); finish(); return null; } if (LTE_4G_FRAGMENT.equals(fragmentName)) { Intent newIntent = new Intent("android.settings.SETTINGS"); newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); Loading