Loading libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java +1 −1 Original line number Diff line number Diff line Loading @@ -1346,7 +1346,7 @@ public class BubbleStackView extends FrameLayout // Recreates & shows the education views. Call when a theme/config change happens. private void updateUserEdu() { if (isStackEduVisible()) { if (isStackEduVisible() && !mStackEduView.isHiding()) { removeView(mStackEduView); mStackEduView = new StackEducationView(mContext, mPositioner, mBubbleController); addView(mStackEduView); Loading libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/StackEducationView.kt +3 −3 Original line number Diff line number Diff line Loading @@ -37,8 +37,7 @@ class StackEducationView constructor( context: Context, positioner: BubblePositioner, controller: BubbleController ) : LinearLayout(context) { ) : LinearLayout(context) { private val TAG = if (BubbleDebugConfig.TAG_WITH_CLASS_NAME) "BubbleStackEducationView" else BubbleDebugConfig.TAG_BUBBLES Loading @@ -53,7 +52,8 @@ class StackEducationView constructor( private val titleTextView by lazy { findViewById<TextView>(R.id.stack_education_title) } private val descTextView by lazy { findViewById<TextView>(R.id.stack_education_description) } private var isHiding = false var isHiding = false private set init { LayoutInflater.from(context).inflate(R.layout.bubble_stack_user_education, this) Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java +1 −1 Original line number Diff line number Diff line Loading @@ -1346,7 +1346,7 @@ public class BubbleStackView extends FrameLayout // Recreates & shows the education views. Call when a theme/config change happens. private void updateUserEdu() { if (isStackEduVisible()) { if (isStackEduVisible() && !mStackEduView.isHiding()) { removeView(mStackEduView); mStackEduView = new StackEducationView(mContext, mPositioner, mBubbleController); addView(mStackEduView); Loading
libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/StackEducationView.kt +3 −3 Original line number Diff line number Diff line Loading @@ -37,8 +37,7 @@ class StackEducationView constructor( context: Context, positioner: BubblePositioner, controller: BubbleController ) : LinearLayout(context) { ) : LinearLayout(context) { private val TAG = if (BubbleDebugConfig.TAG_WITH_CLASS_NAME) "BubbleStackEducationView" else BubbleDebugConfig.TAG_BUBBLES Loading @@ -53,7 +52,8 @@ class StackEducationView constructor( private val titleTextView by lazy { findViewById<TextView>(R.id.stack_education_title) } private val descTextView by lazy { findViewById<TextView>(R.id.stack_education_description) } private var isHiding = false var isHiding = false private set init { LayoutInflater.from(context).inflate(R.layout.bubble_stack_user_education, this) Loading