Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d0f13652 authored by Steve Kondik's avatar Steve Kondik
Browse files

Revert "Telephony(MSIM): Support to launch SimSettings from vendor space"

 * This is silly to be delegated to a blob.

This reverts commit 188be8ee.

Change-Id: If76a4cf992e9368b21d4d6d42d085020cd122c33
parent 453baf4b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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" />
+0 −9
Original line number Diff line number Diff line
@@ -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);