From b010448689c883a6a2d7076d86e4612dfb7f6a16 Mon Sep 17 00:00:00 2001 From: rambowang Date: Wed, 29 Nov 2023 14:18:20 -0600 Subject: [PATCH] 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 --- AndroidManifest.xml | 13 +++++++++++++ src/com/android/settings/Settings.java | 3 +++ .../settings/core/gateway/SettingsGateway.java | 2 ++ 3 files changed, 18 insertions(+) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index a8253db5cf7..6ad4c055e31 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -312,6 +312,19 @@ android:value="true" /> + + + + + + + + +