fix: wrong language shown when rotating screen in popup player
This commit is contained in:
parent
105981b2eb
commit
9d8fcbbffe
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue