mirror of
https://github.com/He4eT/yamf_launcher.git
synced 2026-05-05 18:07:25 +00:00
Double Tap to Lock Screen gesture implemented
This commit is contained in:
parent
914c7a0ed4
commit
c6f3d537f6
6 changed files with 118 additions and 3 deletions
|
|
@ -173,6 +173,12 @@
|
|||
app:key="rightSwipeApp"
|
||||
app:selectable="true"
|
||||
app:title="Right Swipe App" />
|
||||
<SwitchPreference
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:defaultValue="false"
|
||||
android:title="Double Tap to Lock Screen"
|
||||
app:key="doubleTap" />
|
||||
<SwitchPreference
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
|
|
|||
8
app/src/main/res/xml/screenlock_service_config.xml
Normal file
8
app/src/main/res/xml/screenlock_service_config.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<accessibility-service
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:accessibilityEventTypes="typeViewClicked"
|
||||
android:accessibilityFeedbackType="feedbackGeneric"
|
||||
android:notificationTimeout="100"
|
||||
android:canRetrieveWindowContent="true"
|
||||
android:description="@string/accessibility_service_description" />
|
||||
Loading…
Add table
Add a link
Reference in a new issue