diff options
author | Dianne Hackborn <hackbod@google.com> | 2010-01-12 18:14:19 -0800 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2010-01-17 15:10:24 -0800 |
commit | d68478467e3f837511196c80891d7245d0e163df (patch) | |
tree | 598148f587955a89e72017b59df3ba7ba4d8b20b /core/java/android/view/inputmethod | |
parent | 5fbf4094f5857ab15801c65a260a5c4b6866d655 (diff) | |
download | frameworks_base-d68478467e3f837511196c80891d7245d0e163df.zip frameworks_base-d68478467e3f837511196c80891d7245d0e163df.tar.gz frameworks_base-d68478467e3f837511196c80891d7245d0e163df.tar.bz2 |
First pass at new device policy and administration APIs.
This adds new DevicAdmin, DevicePolicyManager, and DeviceAdminInfo classes.
See the java docs for each on documentation on them. Basically: a DeviceAdmin
is what you derive from to administer a device; DevicePolicyManager is what you
use to apply and check your policy requirements and perform other administration
tasks.
Diffstat (limited to 'core/java/android/view/inputmethod')
-rw-r--r-- | core/java/android/view/inputmethod/InputMethod.java | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/core/java/android/view/inputmethod/InputMethod.java b/core/java/android/view/inputmethod/InputMethod.java index a5e0e94..2ddf5f8 100644 --- a/core/java/android/view/inputmethod/InputMethod.java +++ b/core/java/android/view/inputmethod/InputMethod.java @@ -16,6 +16,8 @@ package android.view.inputmethod; +import android.annotation.SdkConstant; +import android.annotation.SdkConstant.SdkConstantType; import android.inputmethodservice.InputMethodService; import android.os.IBinder; import android.os.ResultReceiver; @@ -54,9 +56,12 @@ public interface InputMethod { /** * This is the interface name that a service implementing an input * method should say that it supports -- that is, this is the action it - * uses for its intent filter. (Note: this name is used because this - * interface should be moved to the view package.) + * uses for its intent filter. + * To be supported, the service must also require the + * {@link android.Manifest.permission#BIND_INPUT_METHOD} permission so + * that other applications can not abuse it. */ + @SdkConstant(SdkConstantType.SERVICE_ACTION) public static final String SERVICE_INTERFACE = "android.view.InputMethod"; /** |