Loading services/accessibility/java/com/android/server/accessibility/autoclick/AutoclickTypePanel.java +4 −1 Original line number Diff line number Diff line Loading @@ -135,7 +135,7 @@ public class AutoclickTypePanel { void onHoverChange(boolean hovered); } private final Context mContext; private Context mContext; private AutoclickTypeLinearLayout mContentView; Loading Loading @@ -456,6 +456,9 @@ public class AutoclickTypePanel { mWindowManager.removeView(mContentView); } // Update mContext with the new configuration. mContext = mContext.createConfigurationContext(newConfig); // Always re-inflate the views and resources to adopt the new configuration. // This is important even if the panel is hidden. inflateViewAndResources(); Loading Loading
services/accessibility/java/com/android/server/accessibility/autoclick/AutoclickTypePanel.java +4 −1 Original line number Diff line number Diff line Loading @@ -135,7 +135,7 @@ public class AutoclickTypePanel { void onHoverChange(boolean hovered); } private final Context mContext; private Context mContext; private AutoclickTypeLinearLayout mContentView; Loading Loading @@ -456,6 +456,9 @@ public class AutoclickTypePanel { mWindowManager.removeView(mContentView); } // Update mContext with the new configuration. mContext = mContext.createConfigurationContext(newConfig); // Always re-inflate the views and resources to adopt the new configuration. // This is important even if the panel is hidden. inflateViewAndResources(); Loading