1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-23 16:40:32 +00:00

fix: wrong language shown when rotating screen in popup player

This commit is contained in:
B0pol 2020-01-15 08:33:57 +01:00
parent 105981b2eb
commit 9d8fcbbffe

View File

@ -172,6 +172,7 @@ public final class PopupVideoPlayer extends Service {
@Override
public void onConfigurationChanged(Configuration newConfig) {
changeAppLanguage(getAppLocale(getApplicationContext()), getResources());
if (DEBUG) Log.d(TAG, "onConfigurationChanged() called with: newConfig = [" + newConfig + "]");
updateScreenSize();
updatePopupSize(popupLayoutParams.width, -1);