Developer setting to skip Package Verification

Add a developer setting to skip package verification when installing over
USB/ADB/ADT, but still perform package verification on all other installs.

This change also fixes visibility issues. Namely, now all "Verify apps"
related settings will disappear when
Settings.Global.PACKAGE_VERIFIER_SETTING_VISIBLE is 0.

Bug: 7183252
Change-Id: I04cfc4f521d1ecb73df56b172cf29cbd84f53dad
This commit is contained in:
rich cannings
2012-09-25 16:20:36 -07:00
parent f4b6a68215
commit f04211443e
5 changed files with 81 additions and 3 deletions

View File

@@ -75,6 +75,11 @@
android:title="@string/wait_for_debugger"
android:summary="@string/wait_for_debugger_summary"/>
<CheckBoxPreference
android:key="verify_apps_over_usb"
android:title="@string/verify_apps_over_usb_title"
android:summary="@string/verify_apps_over_usb_summary"/>
</PreferenceCategory>
<PreferenceCategory android:key="debug_input_category"

View File

@@ -37,7 +37,8 @@
android:persistent="false"/>
</PreferenceCategory>
<PreferenceCategory android:title="@string/device_admin_title"
<PreferenceCategory android:key="device_admin_category"
android:title="@string/device_admin_title"
android:persistent="false">
<Preference android:title="@string/manage_device_admin"