OSDN Git Service

Don't show disabled packages in the WebView implementation Dev setting.
authorGustav Sennton <gsennton@google.com>
Mon, 15 Feb 2016 14:23:22 +0000 (14:23 +0000)
committerGustav Sennton <gsennton@google.com>
Mon, 15 Feb 2016 15:38:36 +0000 (15:38 +0000)
commit0851ede886d480d6e4f8f8385bbeb57bb7f4a46c
tree0be06cb2b26a4feba9cb639de868215a7e4973d8
parent23ce96c2298d51c6dfe86c341562c23f3f5e1436
Don't show disabled packages in the WebView implementation Dev setting.

You can't choose to use a disabled WebView package as WebView
implementation (this ensures that without interference from the user the
system will always try choose a package which will eventually become
updated, rather than a package that does not receive updates) and there
are cases where a package cannot/should not be enabled (to save e.g.
bandwidth).
Therefore, with this change we no longer show disabled WebView packages
as potential WebView implementations in the WebView implementation
Developer setting.

Bug: 27188851

Change-Id: I19a9b16118703d8a54d8215c186fc99ffefc4b6d
src/com/android/settings/DevelopmentSettings.java