lineage-sdk: Add config to define camera key type
* To be used for buttons settings Change-Id: I11ef0333bd98953ce10381d0e338bd25142ca5d8
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2015 The CyanogenMod Project
|
||||
2017 The LineageOS Project
|
||||
2017-2018 The LineageOS Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
@@ -232,4 +232,8 @@
|
||||
sdk/src/java/org/lineageos/internal/util/DeviceKeysConstants.java.
|
||||
-->
|
||||
<integer name="config_longPressOnAppSwitchBehavior">9</integer>
|
||||
|
||||
<!-- Indicates that the device has Single-stage Camera key
|
||||
(without "Focus" state) instead of Dual-stage. -->
|
||||
<bool name="config_singleStageCameraKey">false</bool>
|
||||
</resources>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2015 The CyanogenMod Project
|
||||
2017 The LineageOS Project
|
||||
2017-2018 The LineageOS Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
@@ -126,6 +126,9 @@
|
||||
<java-symbol type="integer" name="config_longPressOnMenuBehavior" />
|
||||
<java-symbol type="integer" name="config_longPressOnAppSwitchBehavior" />
|
||||
|
||||
<!-- Camera key type -->
|
||||
<java-symbol type="bool" name="config_singleStageCameraKey" />
|
||||
|
||||
<!-- BurnIn protection -->
|
||||
<java-symbol type="bool" name="config_enableBurnInProtection" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user