KeyHandler: Add customization options

Change-Id: I5f50f5d442342b2082bf47e11b1351e578fa0144
This commit is contained in:
Timi Rautamäki
2021-10-06 13:17:27 +00:00
committed by LuK1337
parent 94f6a33159
commit a9f61a216e
9 changed files with 261 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2018 The LineageOS Project
Copyright (C) 2018, 2021 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.
@@ -18,4 +18,37 @@
android:sharedUserId="android.uid.system"
package="org.lineageos.settings.device">
<uses-permission android:name="android.permission.VIBRATE" />
<application
android:icon="@mipmap/ic_launcher"
android:label="@string/device_settings_app_name"
android:theme="@style/Theme.Main"
android:defaultToDeviceProtectedStorage="true"
android:directBootAware="true">
<provider
android:name=".ConfigPanelSearchIndexablesProvider"
android:authorities="org.lineageos.settings.device"
android:multiprocess="false"
android:grantUriPermissions="true"
android:permission="android.permission.READ_SEARCH_INDEXABLES"
android:exported="true">
<intent-filter>
<action android:name="android.content.action.SEARCH_INDEXABLES_PROVIDER" />
</intent-filter>
</provider>
<!-- Additional button settings (Button settings) -->
<activity
android:name=".ButtonSettingsActivity"
android:label="@string/button_panel_title"
android:exported="false">
<intent-filter>
<action android:name="org.lineageos.settings.device.ADDITIONAL_BUTTONS_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name=".KeyHandler" />
</application>
</manifest>