diff options
author | Michael Bestas <mikeioannina@gmail.com> | 2013-11-05 16:43:50 +0200 |
---|---|---|
committer | Bruno Martins <bgcngm@gmail.com> | 2018-11-20 12:30:48 +0000 |
commit | c2e6b4b570d9736026e420979acc45a6f718b9f1 (patch) | |
tree | 85f1a82772bce93ac7e3840b632d242c31c54cc3 /Android.mk | |
parent | 451b8afdfb4e1bc401b9d189682c108d3bce272b (diff) | |
download | android_packages_apps_Snap-c2e6b4b570d9736026e420979acc45a6f718b9f1.tar.gz android_packages_apps_Snap-c2e6b4b570d9736026e420979acc45a6f718b9f1.tar.bz2 android_packages_apps_Snap-c2e6b4b570d9736026e420979acc45a6f718b9f1.zip |
Camera: Cleanup hardware key handling
* Fix power shutter behaviour in camcorder mode
* Disable volume change while in panorama mode, volume buttons should only
handle camera operations while in the camera
* Add camera/power/volume key shutter handling in panorama mode
On devices with a hardware camera key:
* Disable power & volume shutter features
* Volume buttons control the zoom
On devices without a hardware camera key:
* When power shutter is disabled, volume buttons control the shutter (like AOSP)
* When power shutter is enabled, volume buttons control the zoom
Change-Id: I141946d5b6f5aec8b1e9a9f99270d30295596079
Diffstat (limited to 'Android.mk')
-rwxr-xr-x | Android.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk index d2ec01c8a..0baa728c4 100755 --- a/Android.mk +++ b/Android.mk @@ -22,6 +22,8 @@ LOCAL_AAPT_FLAGS := \ --version-name "$(version_name_package)" \ --version-code $(version_code_package) \ +LOCAL_JAVA_LIBRARIES := org.lineageos.platform.internal + LOCAL_PACKAGE_NAME := Snap LOCAL_PRIVILEGED_MODULE := true LOCAL_PRIVATE_PLATFORM_APIS:=true |