Revert "overlay: Decommonize long press power action"
This reverts commit 5c5c497acd
.
Change-Id: Iaaa9d1c2aa0704d2f09f7b979e08057f25b74e5c
This commit is contained in:
committed by
Bruno Martins
parent
a706715bdd
commit
7dd2be50b1
@@ -93,5 +93,3 @@ PRODUCT_PACKAGES += \
|
|||||||
LineageBlackTheme \
|
LineageBlackTheme \
|
||||||
ThemePicker \
|
ThemePicker \
|
||||||
ThemesStub
|
ThemesStub
|
||||||
|
|
||||||
PRODUCT_PACKAGE_OVERLAYS += vendor/lineage/overlay/mobile
|
|
||||||
|
@@ -124,6 +124,16 @@
|
|||||||
-->
|
-->
|
||||||
<string name="config_wallpaperCropperPackage" translatable="false">com.android.wallpaper</string>
|
<string name="config_wallpaperCropperPackage" translatable="false">com.android.wallpaper</string>
|
||||||
|
|
||||||
|
<!-- Control the behavior when the user long presses the power button.
|
||||||
|
0 - Nothing
|
||||||
|
1 - Global actions menu
|
||||||
|
2 - Power off (with confirmation)
|
||||||
|
3 - Power off (without confirmation)
|
||||||
|
4 - Go to voice assist
|
||||||
|
5 - Go to assistant (Settings.Secure.ASSISTANT)
|
||||||
|
-->
|
||||||
|
<integer name="config_longPressOnPowerBehavior">1</integer>
|
||||||
|
|
||||||
<!-- Control the behavior when the user presses the power and volume up buttons together.
|
<!-- Control the behavior when the user presses the power and volume up buttons together.
|
||||||
0 - Nothing
|
0 - Nothing
|
||||||
1 - Mute toggle
|
1 - Mute toggle
|
||||||
|
@@ -1,27 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
Copyright (C) 2024 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.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
-->
|
|
||||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<!-- Control the behavior when the user long presses the power button.
|
|
||||||
0 - Nothing
|
|
||||||
1 - Global actions menu
|
|
||||||
2 - Power off (with confirmation)
|
|
||||||
3 - Power off (without confirmation)
|
|
||||||
4 - Go to voice assist
|
|
||||||
5 - Go to assistant (Settings.Secure.ASSISTANT)
|
|
||||||
-->
|
|
||||||
<integer name="config_longPressOnPowerBehavior">1</integer>
|
|
||||||
</resources>
|
|
@@ -1,27 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
Copyright (C) 2024 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.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
-->
|
|
||||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<!-- Control the behavior when the user long presses the power button.
|
|
||||||
0 - Nothing
|
|
||||||
1 - Global actions menu
|
|
||||||
2 - Power off (with confirmation)
|
|
||||||
3 - Power off (without confirmation)
|
|
||||||
4 - Go to voice assist
|
|
||||||
5 - Go to assistant (Settings.Secure.ASSISTANT)
|
|
||||||
-->
|
|
||||||
<integer name="config_longPressOnPowerBehavior">5</integer>
|
|
||||||
</resources>
|
|
Reference in New Issue
Block a user