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
1 changed files with 1 additions and 0 deletions

View File

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