Skip to content

Commit 5414f11

Browse files
committed
show module scope on ui
Signed-off-by: Tommy Alex <[email protected]>
1 parent d9b8e36 commit 5414f11

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

UsbDebugging/src/main/res/values/strings.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
<string name="app_name">USB Debugging</string>
2121
<string name="app_description">Deny USB debugging on new computers</string>
2222
<string name="pref_title_usb_debugging">USB Debugging</string>
23+
<string name="pref_title_module_scope">Module Scope</string>
24+
<string name="pref_summery_module_scope">You should enable this module for Android System (package name: android).</string>
2325
<string name="pref_deny_usb_debugging">deny_usb_debugging</string>
2426
<string name="pref_title_deny_usb_debugging">Deny USB Debugging</string>
2527
<string name="pref_summery_deny_usb_debugging">If this option as no effect, you may need to disable this module and then reboot to allow debugging again.</string>

UsbDebugging/src/main/res/xml/preferences.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
<PreferenceCategory
2121
android:title="@string/pref_title_usb_debugging"
2222
>
23+
<Preference
24+
android:title="@string/pref_title_module_scope"
25+
android:summary="@string/pref_summery_module_scope"
26+
/>
2327
<SwitchPreference
2428
android:title="@string/pref_title_deny_usb_debugging"
2529
android:summary="@string/pref_summery_deny_usb_debugging"

0 commit comments

Comments
 (0)