-Added player conversion to background and popup players.
-[#919] Fixed custom notification does not trigger unlocking on lockscreen. -[#947] Fixes player crashing on internet outage, issue partially addressed. -Fixed main player losing state after destroy while in background. -Fixed main player controls not hiding automatically after orientation change. -Fixed dialog uploader not marqueeing when too long. -Fixed popup permission throwing NPE on BaseList. -Refactored popup permissions to start in NavigationHelper. -Extracted hardcoded string for player menus. -Bump Java version to 1.8. -Some lambda conversions.
This commit is contained in:
parent
0223d6d200
commit
39b0b2f032
21 changed files with 282 additions and 221 deletions
|
|
@ -17,4 +17,9 @@
|
|||
android:orderInCategory="996"
|
||||
android:title="@string/play_queue_audio_settings"
|
||||
app:showAsAction="never"/>
|
||||
|
||||
<item android:id="@+id/action_switch_main"
|
||||
android:orderInCategory="999"
|
||||
android:title="@string/switch_to_main"
|
||||
app:showAsAction="never"/>
|
||||
</menu>
|
||||
|
|
|
|||
10
app/src/main/res/menu/menu_play_queue_bg.xml
Normal file
10
app/src/main/res/menu/menu_play_queue_bg.xml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context="org.schabi.newpipe.history.HistoryActivity">
|
||||
|
||||
<item android:id="@+id/action_switch_popup"
|
||||
android:orderInCategory="1999"
|
||||
android:title="@string/switch_to_popup"
|
||||
app:showAsAction="never"/>
|
||||
</menu>
|
||||
10
app/src/main/res/menu/menu_play_queue_popup.xml
Normal file
10
app/src/main/res/menu/menu_play_queue_popup.xml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context="org.schabi.newpipe.history.HistoryActivity">
|
||||
|
||||
<item android:id="@+id/action_switch_background"
|
||||
android:orderInCategory="1999"
|
||||
android:title="@string/switch_to_background"
|
||||
app:showAsAction="never"/>
|
||||
</menu>
|
||||
|
|
@ -6,16 +6,16 @@
|
|||
<item
|
||||
android:icon="@drawable/ic_screen_rotation_white"
|
||||
android:id="@+id/toggleOrientation"
|
||||
android:title="Toggle orientation"
|
||||
android:title="@string/toggle_orientation"
|
||||
app:showAsAction="always|withText" />
|
||||
<item
|
||||
android:icon="@drawable/ic_fullscreen_exit_white"
|
||||
android:id="@+id/switchPopup"
|
||||
android:title="Switch to popup"
|
||||
android:title="@string/switch_to_popup"
|
||||
app:showAsAction="always|withText" />
|
||||
<item android:icon="?audio"
|
||||
android:id="@+id/switchBackground"
|
||||
android:title="Switch to background"
|
||||
android:title="@string/switch_to_background"
|
||||
app:showAsAction="always|withText" />
|
||||
</menu>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue