diff options
author | Roman Birg <roman@cyngn.com> | 2016-02-24 08:58:39 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-02-25 09:00:18 -0800 |
commit | e3c966861f5069dc03c2939953681607d56e10b6 (patch) | |
tree | 87bda0c4572e32835966a13f72bd183c8ee51d39 /src | |
parent | c2efaa77945e58e396c4ac36cf5f47d555556ede (diff) | |
download | vendor_cmsdk-e3c966861f5069dc03c2939953681607d56e10b6.zip vendor_cmsdk-e3c966861f5069dc03c2939953681607d56e10b6.tar.gz vendor_cmsdk-e3c966861f5069dc03c2939953681607d56e10b6.tar.bz2 |
cmsdk: send intent to intialize CMHW
Ref: OPO-513
Change-Id: Iedd88bfad12b8f257bb792bf024d8eefa92b321c
Signed-off-by: Roman Birg <roman@cyngn.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/java/cyanogenmod/content/Intent.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/java/cyanogenmod/content/Intent.java b/src/java/cyanogenmod/content/Intent.java index ecc4877..5a1f612 100644 --- a/src/java/cyanogenmod/content/Intent.java +++ b/src/java/cyanogenmod/content/Intent.java @@ -77,4 +77,15 @@ public class Intent { public static final String ACTION_SCREEN_CAMERA_GESTURE = "cyanogenmod.intent.action.SCREEN_CAMERA_GESTURE"; + /** + * Broadcast action: perform any initialization required for CMHW services. + * Runs when the service receives the signal the device has booted, but + * should happen before {@link android.content.Intent#ACTION_BOOT_COMPLETED}. + * + * Requires {@link cyanogenmod.platform.Manifest.permission#HARDWARE_ABSTRACTION_ACCESS}. + * @hide + */ + public static final String ACTION_INITIALIZE_CM_HARDWARE = + "cyanogenmod.intent.action.INITIALIZE_CM_HARDWARE"; + } |