mirror of
https://github.com/sifacaii/VlcJellyfin
synced 2025-06-03 00:58:06 -04:00
优化
This commit is contained in:
parent
62d86656c0
commit
611ddc5dbe
@ -17,6 +17,7 @@
|
|||||||
android:supportsRtl="true"
|
android:supportsRtl="true"
|
||||||
android:theme="@style/jellyfin"
|
android:theme="@style/jellyfin"
|
||||||
android:usesCleartextTraffic="true"
|
android:usesCleartextTraffic="true"
|
||||||
|
android:hardwareAccelerated="true"
|
||||||
tools:targetApi="31">
|
tools:targetApi="31">
|
||||||
<activity
|
<activity
|
||||||
android:name=".MainActivity"
|
android:name=".MainActivity"
|
||||||
|
@ -336,7 +336,6 @@ public class VlcPlayerActivity extends BaseActivity implements MediaPlayer.Event
|
|||||||
ControllerTop.setVisibility(View.VISIBLE);
|
ControllerTop.setVisibility(View.VISIBLE);
|
||||||
}
|
}
|
||||||
if (ControllerBottom.getVisibility() == View.GONE) {
|
if (ControllerBottom.getVisibility() == View.GONE) {
|
||||||
ControllerBottom.setVisibility(View.VISIBLE);
|
|
||||||
progressTime = new Timer();
|
progressTime = new Timer();
|
||||||
progressTime.schedule(new TimerTask() {
|
progressTime.schedule(new TimerTask() {
|
||||||
@Override
|
@Override
|
||||||
@ -348,7 +347,9 @@ public class VlcPlayerActivity extends BaseActivity implements MediaPlayer.Event
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}, 500, 500);
|
}, 0, 1000);
|
||||||
|
ControllerBottom.setVisibility(View.VISIBLE);
|
||||||
|
playPauseBtn.requestFocus();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user