diff options
author | Ruben Brunk <rubenbrunk@google.com> | 2015-03-20 22:18:55 -0700 |
---|---|---|
committer | Ruben Brunk <rubenbrunk@google.com> | 2015-03-31 12:01:22 -0700 |
commit | 9d21ee5d7755755cc5695a9d7cea00a05a4b92aa (patch) | |
tree | 6209cce943f5000f6ce4b4d03ac2ad075d813b4d /core/java/android/hardware | |
parent | 75e4f353835d62c8625fb145e3aba1d442f93a90 (diff) | |
download | frameworks_base-9d21ee5d7755755cc5695a9d7cea00a05a4b92aa.zip frameworks_base-9d21ee5d7755755cc5695a9d7cea00a05a4b92aa.tar.gz frameworks_base-9d21ee5d7755755cc5695a9d7cea00a05a4b92aa.tar.bz2 |
Add CameraService to system server.
- Adds a camera service to system server that forwards events to the
mediaserver camera service.
- Notify the camera service when the device user changes.
Bug: 19186859
Change-Id: I172a2ce46c8e8a131ae7e8dd99d60c5f4f0d6668
Diffstat (limited to 'core/java/android/hardware')
-rw-r--r-- | core/java/android/hardware/ICameraService.aidl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/java/android/hardware/ICameraService.aidl b/core/java/android/hardware/ICameraService.aidl index d5dfaf6..9bc2f46 100644 --- a/core/java/android/hardware/ICameraService.aidl +++ b/core/java/android/hardware/ICameraService.aidl @@ -75,4 +75,11 @@ interface ICameraService out BinderHolder device); int setTorchMode(String CameraId, boolean enabled, IBinder clientBinder); + + /** + * Notify the camera service of a system event. Should only be called from system_server. + * + * Callers require the android.permission.CAMERA_SEND_SYSTEM_EVENTS permission. + */ + oneway void notifySystemEvent(int eventId, int arg0); } |