Optimizations and fixes of rare situations

- popup after orientation change had incorrect allowed bounds for swiping
- popup could cause a crash after many quick switches to main player and back
- better method of setting fullscreen/non-fullscreen layout using thumbnail view. Also fixed thumbnail height in fullscreen layout
- global settings observer didn't work when a user closed a service manually via notification because it checked for service existing
- app will now exits from fullscreen mode when the user switches players
- playQueuePanel has visibility "gone" by default (not "invisible") because "invisible" can cause problems
This commit is contained in:
Avently 2019-12-31 05:07:07 +03:00
parent c45514b989
commit fc9b63298c
5 changed files with 22 additions and 21 deletions

View file

@ -53,7 +53,7 @@
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_height="match_parent"
android:visibility="invisible"
android:visibility="gone"
android:background="?attr/queue_background_color"
tools:visibility="visible">

View file

@ -51,7 +51,7 @@
android:id="@+id/playQueuePanel"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="invisible"
android:visibility="gone"
android:background="?attr/queue_background_color"
tools:visibility="visible">