mirror of
https://github.com/jrpie/Launcher.git
synced 2025-04-19 18:30:50 +02:00
add consent dialog for accessibility service
This commit is contained in:
parent
46aaa91fe9
commit
97d10d09b5
6 changed files with 98 additions and 8 deletions
|
@ -298,4 +298,12 @@
|
|||
<string name="dialog_select_color_cancel">Cancel</string>
|
||||
<string name="dialog_select_color_color_hex">Color</string>
|
||||
<string name="dialog_choose_color_title">Choose color</string>
|
||||
<string name="dialog_consent_accessibility_privileges">I am aware that this will grant far-reaching privileges to µLauncher.</string>
|
||||
<string name="dialog_consent_accessibility_other_options">I am aware that other options exist (using device administrator privileges or the power button).</string>
|
||||
<string name="dialog_consent_accessibility_consent">I consent to µLauncher using the accessibility service to provide functionality unrelated to accessibility.</string>
|
||||
<string name="dialog_consent_accessibility_data_collection">I consent to µLauncher not collecting any data.</string>
|
||||
<string name="dialog_consent_accessibility_text"><![CDATA[You are about to activate the accessibility service. This will grant <strong>far-reaching privileges</strong> to µLauncher.<br/>µLauncher will use these privileges <strong>only to lock the screen</strong>. µLauncher <strong>will never collect any data</strong>. In particular, µLauncher does not use the accessibility service to collect any data.]]></string>
|
||||
<string name="dialog_consent_accessibility_title">Activating the Accessibility Service</string>
|
||||
<string name="dialog_consent_accessibility_ok">Activate Accessibility Service</string>
|
||||
<string name="dialog_consent_accessibility_cancel">Cancel</string>
|
||||
</resources>
|
||||
|
|
|
@ -116,19 +116,18 @@
|
|||
<item name="android:textColor">#000</item>
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<style name="PopupMenuCustom" parent="@android:style/Widget.PopupMenu" tools:keep="@style/PopupMenuCustom">
|
||||
<item name="android:popupBackground">#252827</item>
|
||||
</style>
|
||||
|
||||
<style name="AlertDialogCustom" parent="Theme.AppCompat.Light.Dialog.Alert">
|
||||
<item name="android:textColor">#000000</item>
|
||||
<item name="android:background">#ffffff</item>
|
||||
<item name="android:color">#000000</item>
|
||||
<item name="android:textColor">@color/text_color_toggle</item>
|
||||
<item name="android:background">#ffffff</item>
|
||||
</style>
|
||||
|
||||
<style name="AlertDialogDanger" parent="AlertDialogCustom">
|
||||
<item name="buttonTint">#ff0000</item>
|
||||
</style>
|
||||
|
||||
<!-- Set the fade in animation on all activities by default -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue