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

Commit 97b26ecd authored by Unpublished's avatar Unpublished
Browse files

QuickSettings: fix long press on Network Mode Tile

fixes networks settings to work on single sim.

Change-Id: I6093be5386733d369d8896882f0e068e27c7b981
parent 56f9cde8
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -96,10 +96,7 @@ public class MobileNetworkTypeTile extends QuickSettingsTile implements NetworkS
        mOnLongClick = new View.OnLongClickListener() {
            @Override
            public boolean onLongClick(View v) {
                Intent intent = new Intent(Intent.ACTION_MAIN);
                intent.setClassName("com.android.phone", "com.android.phone.Settings");
                intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
                startSettingsActivity(intent);
                startSettingsActivity(Settings.ACTION_DATA_ROAMING_SETTINGS);
                return true;
            }
        };