Loading policy/src/com/android/internal/policy/impl/ImmersiveModeConfirmation.java +10 −3 Original line number Diff line number Diff line Loading @@ -201,14 +201,21 @@ public class ImmersiveModeConfirmation { private ValueAnimator mColorAnim; private ViewGroup mClingLayout; private BroadcastReceiver mReceiver = new BroadcastReceiver() { private Runnable mUpdateLayoutRunnable = new Runnable() { @Override public void onReceive(Context context, Intent intent) { if (intent.getAction().equals(Intent.ACTION_CONFIGURATION_CHANGED)) { public void run() { if (mClingLayout != null && mClingLayout.getParent() != null) { mClingLayout.setLayoutParams(getBubbleLayoutParams()); } } }; private BroadcastReceiver mReceiver = new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) { if (intent.getAction().equals(Intent.ACTION_CONFIGURATION_CHANGED)) { post(mUpdateLayoutRunnable); } } }; Loading Loading
policy/src/com/android/internal/policy/impl/ImmersiveModeConfirmation.java +10 −3 Original line number Diff line number Diff line Loading @@ -201,14 +201,21 @@ public class ImmersiveModeConfirmation { private ValueAnimator mColorAnim; private ViewGroup mClingLayout; private BroadcastReceiver mReceiver = new BroadcastReceiver() { private Runnable mUpdateLayoutRunnable = new Runnable() { @Override public void onReceive(Context context, Intent intent) { if (intent.getAction().equals(Intent.ACTION_CONFIGURATION_CHANGED)) { public void run() { if (mClingLayout != null && mClingLayout.getParent() != null) { mClingLayout.setLayoutParams(getBubbleLayoutParams()); } } }; private BroadcastReceiver mReceiver = new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) { if (intent.getAction().equals(Intent.ACTION_CONFIGURATION_CHANGED)) { post(mUpdateLayoutRunnable); } } }; Loading