From 7ac8fc7797126e53022cdbcc579259b031eb1904 Mon Sep 17 00:00:00 2001 From: SongFerng Wang Date: Tue, 22 Aug 2023 06:36:58 +0000 Subject: [PATCH] Add the config_show_sim_info to control the DataUsageSummary SHORTCUT Bug: 292998280 Change-Id: I248066b5f9a25c271604041d95369d051643c35a Test: Build pass --- AndroidManifest.xml | 1 + res/xml/shortcuts.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 138758059c3..fa4b27affdf 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -3279,6 +3279,7 @@ android:name="Settings$DataUsageSummaryActivity" android:label="@string/data_usage_summary_title" android:exported="true" + android:enabled="@bool/config_show_sim_info" android:icon="@drawable/ic_homepage_data_usage"> diff --git a/res/xml/shortcuts.xml b/res/xml/shortcuts.xml index afb2104aff3..058d22e9edf 100644 --- a/res/xml/shortcuts.xml +++ b/res/xml/shortcuts.xml @@ -24,6 +24,7 @@