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

Commit 7636a1a3 authored by Venkatraman Nerellapalli's avatar Venkatraman Nerellapalli Committed by Linux Build Service Account
Browse files

Fix: Navigate back to 'Cellular network settings' from 'APN settings' screen

Navigate back to 'Cellular network settings' from 'APN settings' screen if
'back icon' on Actionbar is pressed

Change-Id: Ie135e69a08175037caa485b2e0320efd516070d6
CRs-Fixed: 1021317
parent b55c80f2
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -396,7 +396,6 @@
                android:launchMode="singleTask"
                android:taskAffinity="com.android.settings"
                android:configChanges="orientation|keyboardHidden|screenSize"
                android:parentActivityName="Settings$WirelessSettingsActivity"
                android:process="com.android.phone">
            <intent-filter android:priority="1">
                <action android:name="android.settings.APN_SETTINGS" />
+4 −0
Original line number Diff line number Diff line
@@ -434,6 +434,10 @@ public class ApnSettings extends RestrictedSettingsFragment implements
        case MENU_RESTORE:
            restoreDefaultApn();
            return true;

        case android.R.id.home:
            getActivity().onBackPressed();
            return true;
        }
        return super.onOptionsItemSelected(item);
    }