OSDN Git Service

Block the user from enabling or disabling webview fallback packages.
authorGustav Sennton <gsennton@google.com>
Thu, 18 Feb 2016 12:28:36 +0000 (12:28 +0000)
committerGustav Sennton <gsennton@google.com>
Tue, 23 Feb 2016 14:09:13 +0000 (14:09 +0000)
commita4e32a24c4f70c6c54a459cbeaf70a6eac63f52c
tree31e47fc80eb91a0de384c5f8a223302cbc700cb6
parent0b485bb5233057507d01e4baa02f6ede72ed3306
Block the user from enabling or disabling webview fallback packages.

Now that we support webview fallback packages - packages that should be
enabled if and only if no other webview packages are available - we need
to ensure that the Settings UI consistently shows that these packages
cannot be enabled or disabled (e.g. the 'Enable' and 'Disable' buttons
for enabling/disabling them are greyed out).

Also, remove the Dialog that lets a user enable a disabled webview
package from the webview implementation Dev Setting. Instead show a
Toast if the user has chosen an invalid package.

Bug: 2637552426375860

Change-Id: I949083d3f7c83cd2e049dd2c5c15ec5ab880fe07
src/com/android/settings/DevelopmentSettings.java
src/com/android/settings/applications/InstalledAppDetails.java
src/com/android/settings/applications/ResetAppsHelper.java