Add ResetMobileNetworkSettingsActivity into Settings

The feature introduces an API (an activity action) that
allow applications to launch the Reset mobile network settings
page in Settings Reset options menu.

Since the page is not implemented as an activity and can't directly
work as a intent filter of such activity action, a trampoline activity
is introduced to service as the default one.

Bug: 271921464
Test: atest TelephonyManagerTest
Test: Feature functionality test with flag on and off
Change-Id: Idfba4bedaac8841205424ecdc6300042c2e94733
This commit is contained in:
rambowang
2023-11-29 14:18:20 -06:00
committed by Rambo Wang
parent 05c7b59361
commit b010448689
3 changed files with 18 additions and 0 deletions

View File

@@ -482,4 +482,7 @@ public class Settings extends SettingsActivity {
public static class PreviouslyConnectedDeviceActivity extends SettingsActivity { /* empty */ }
public static class ScreenTimeoutActivity extends SettingsActivity { /* empty */ }
/** Activity for the Reset mobile network settings. */
public static class ResetMobileNetworkSettingsActivity extends SettingsActivity { /* empty */ }
}