OSDN Git Service

Add new disabled state for "optional" built-in apps.
authorDianne Hackborn <hackbod@google.com>
Wed, 23 Jan 2013 01:10:23 +0000 (17:10 -0800)
committerDianne Hackborn <hackbod@google.com>
Wed, 23 Jan 2013 01:10:23 +0000 (17:10 -0800)
commitfd7adedebf88427162a3ce27fcc9cfd3893c869d
treed9dfb04e5d0972a6ae7bf92431b0d48925e97b48
parentcc7433470f00fac3bbe7835de3ded4b9bf121244
Add new disabled state for "optional" built-in apps.

The disabled state allows you to make an app disabled
except for whatever parts of the system still want to
provide access to them and automatically enable them
if the user want to use it.

Currently the input method manager service is the only
part of the system that supports this, so you can put
an IME in this state and it will generally look disabled
but still be available in the IME list and once selected
switched to the enabled state.

Change-Id: I77f01c70610d82ce9070d4aabbadec8ae2cff2a3
api/current.txt
cmds/pm/src/com/android/commands/pm/Pm.java
core/java/android/content/Intent.java
core/java/android/content/pm/PackageManager.java
core/java/android/content/pm/PackageParser.java
core/java/com/android/internal/content/PackageMonitor.java
core/java/com/android/internal/inputmethod/InputMethodUtils.java
services/java/com/android/server/InputMethodManagerService.java
services/java/com/android/server/pm/PackageManagerService.java
services/java/com/android/server/pm/Settings.java
services/java/com/android/server/usb/UsbSettingsManager.java