clean: explain user why to disable manufacturer optimizations and troubleshooting steps

This commit is contained in:
antonio 2023-06-24 15:28:02 +02:00
parent 2046872d79
commit 992b16cc1d
4 changed files with 88 additions and 20 deletions

View file

@ -0,0 +1,25 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/battery_optimization_primary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="24dp"
android:layout_marginTop="12dp"
android:layout_marginEnd="24dp"
android:layout_marginBottom="4dp"
android:text="@string/activity_battery_optimizations_summary" />
<TextView
android:id="@+id/battery_optimization_secondary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="24dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="24dp"
android:autoLink="web"
android:text="@string/activity_battery_optimizations_conclusion" />
</LinearLayout>

View file

@ -1,5 +1,6 @@
<resources>
<string name="activity_battery_optimizations_summary">Please disable battery optimizations for media playback while the screen is off.</string>
<string name="activity_battery_optimizations_conclusion">If in trouble visit https://dontkillmyapp.com. It provides detailed instructions on how to disable any power-saving features that may affect app\'s performance.</string>
<string name="activity_battery_optimizations_title">Battery Optimizations</string>
<string name="activity_info_offline_mode">Offline mode</string>
<string name="battery_optimization_negative_button">Ignore</string>