add option to disable playhead updates/reporting
This commit is contained in:
		@ -378,6 +378,68 @@
 | 
			
		||||
                    android:textSize="16sp"
 | 
			
		||||
                    android:textStyle="bold" />
 | 
			
		||||
 | 
			
		||||
                <LinearLayout
 | 
			
		||||
                    android:id="@+id/linear_update_playhead"
 | 
			
		||||
                    android:layout_width="match_parent"
 | 
			
		||||
                    android:layout_height="match_parent"
 | 
			
		||||
                    android:gravity="center"
 | 
			
		||||
                    android:orientation="horizontal"
 | 
			
		||||
                    android:padding="7dp">
 | 
			
		||||
 | 
			
		||||
                    <ImageView
 | 
			
		||||
                        android:id="@+id/imageView5"
 | 
			
		||||
                        android:layout_width="wrap_content"
 | 
			
		||||
                        android:layout_height="wrap_content"
 | 
			
		||||
                        android:minWidth="48dp"
 | 
			
		||||
                        android:minHeight="48dp"
 | 
			
		||||
                        android:padding="9dp"
 | 
			
		||||
                        android:scaleType="fitXY"
 | 
			
		||||
                        android:src="@drawable/ic_baseline_access_time_24"
 | 
			
		||||
                        app:tint="?iconColor" />
 | 
			
		||||
 | 
			
		||||
                    <androidx.constraintlayout.widget.ConstraintLayout
 | 
			
		||||
                        android:layout_width="match_parent"
 | 
			
		||||
                        android:layout_height="wrap_content"
 | 
			
		||||
                        android:layout_weight="1">
 | 
			
		||||
 | 
			
		||||
                        <LinearLayout
 | 
			
		||||
                            android:id="@+id/linearLayout4"
 | 
			
		||||
                            android:layout_width="0dp"
 | 
			
		||||
                            android:layout_height="match_parent"
 | 
			
		||||
                            android:orientation="vertical"
 | 
			
		||||
                            app:layout_constraintBottom_toBottomOf="parent"
 | 
			
		||||
                            app:layout_constraintEnd_toStartOf="@+id/switch_update_playhead"
 | 
			
		||||
                            app:layout_constraintStart_toStartOf="parent"
 | 
			
		||||
                            app:layout_constraintTop_toTopOf="parent">
 | 
			
		||||
 | 
			
		||||
                            <TextView
 | 
			
		||||
                                android:id="@+id/text_update_playhead"
 | 
			
		||||
                                android:layout_width="match_parent"
 | 
			
		||||
                                android:layout_height="wrap_content"
 | 
			
		||||
                                android:text="@string/disable_playhead_updates"
 | 
			
		||||
                                android:textSize="16sp" />
 | 
			
		||||
 | 
			
		||||
                            <TextView
 | 
			
		||||
                                android:id="@+id/text_update_playhead_desc"
 | 
			
		||||
                                android:layout_width="match_parent"
 | 
			
		||||
                                android:layout_height="wrap_content"
 | 
			
		||||
                                android:text="@string/disable_playhead_updates_desc"
 | 
			
		||||
                                android:textColor="?textSecondary" />
 | 
			
		||||
                        </LinearLayout>
 | 
			
		||||
 | 
			
		||||
                        <com.google.android.material.switchmaterial.SwitchMaterial
 | 
			
		||||
                            android:id="@+id/switch_update_playhead"
 | 
			
		||||
                            android:layout_width="wrap_content"
 | 
			
		||||
                            android:layout_height="wrap_content"
 | 
			
		||||
                            android:checked="true"
 | 
			
		||||
                            app:layout_constraintBottom_toBottomOf="parent"
 | 
			
		||||
                            app:layout_constraintEnd_toEndOf="parent"
 | 
			
		||||
                            app:layout_constraintTop_toTopOf="parent" />
 | 
			
		||||
 | 
			
		||||
                    </androidx.constraintlayout.widget.ConstraintLayout>
 | 
			
		||||
 | 
			
		||||
                </LinearLayout>
 | 
			
		||||
 | 
			
		||||
                <LinearLayout
 | 
			
		||||
                    android:id="@+id/linear_export_data"
 | 
			
		||||
                    android:layout_width="match_parent"
 | 
			
		||||
 | 
			
		||||
@ -50,6 +50,8 @@
 | 
			
		||||
    <string name="theme_light">Hell</string>
 | 
			
		||||
    <string name="theme_dark">Dunkel</string>
 | 
			
		||||
    <string name="dev_settings">Entwickler Einstellungen</string>
 | 
			
		||||
    <string name="disable_playhead_updates">Playhead Updates</string>
 | 
			
		||||
    <string name="disable_playhead_updates_desc">Fortschritt bei Episoden auf cr updaten</string>
 | 
			
		||||
    <string name="export_data">Daten exportieren</string>
 | 
			
		||||
    <string name="export_data_desc">Speichere "Meine Liste" in eine Datei</string>
 | 
			
		||||
    <string name="import_data">Daten importieren</string>
 | 
			
		||||
 | 
			
		||||
@ -59,6 +59,8 @@
 | 
			
		||||
    <string name="theme_light">Light</string>
 | 
			
		||||
    <string name="theme_dark">Dark</string>
 | 
			
		||||
    <string name="dev_settings">Developer Settings</string>
 | 
			
		||||
    <string name="disable_playhead_updates">Playhead updates</string>
 | 
			
		||||
    <string name="disable_playhead_updates_desc">Update episode playhead on cr</string>
 | 
			
		||||
    <string name="export_data">export data</string>
 | 
			
		||||
    <string name="export_data_desc">export "My list" to a file</string>
 | 
			
		||||
    <string name="import_data">import data</string>
 | 
			
		||||
@ -137,6 +139,8 @@
 | 
			
		||||
    <string name="save_key_autoplay" translatable="false">org.mosad.teapod.autoplay</string>
 | 
			
		||||
    <string name="save_key_dev_settings" translatable="false">org.mosad.teapod.dev.settings</string>
 | 
			
		||||
    <string name="save_key_theme" translatable="false">org.mosad.teapod.theme</string>
 | 
			
		||||
    <!-- dev settings -->
 | 
			
		||||
    <string name="save_key_update_playhead" translatable="false">org.mosad.teapod.update_playhead</string>
 | 
			
		||||
 | 
			
		||||
    <!-- intents & states -->
 | 
			
		||||
    <string name="intent_media_id" translatable="false">intent_media_id</string>
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user