cmsdk: send intent to intialize CMHW

Ref: OPO-513

Change-Id: Iedd88bfad12b8f257bb792bf024d8eefa92b321c
Signed-off-by: Roman Birg <roman@cyngn.com>
This commit is contained in:
Roman Birg
2016-02-24 08:58:39 -08:00
committed by Gerrit Code Review
parent c2efaa7794
commit e3c966861f
3 changed files with 23 additions and 1 deletions

View File

@@ -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";
}