Merge "Fix multiple control providers" into sc-dev am: 0c89ea5d0f am: ab7ebe718a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15359491

Change-Id: I012845906556290dc7310db8ceff35be5954f4b0
This commit is contained in:
Matt Pietal
2021-07-22 18:26:42 +00:00
committed by Automerger Merge Worker

View File

@@ -64,16 +64,12 @@ class ControlsActivity @Inject constructor(
}
}
override fun onStart() {
super.onStart()
override fun onResume() {
super.onResume()
parent = requireViewById<ViewGroup>(R.id.global_actions_controls)
parent.alpha = 0f
uiController.show(parent, { finish() }, this)
}
override fun onResume() {
super.onResume()
ControlsAnimations.enterAnimation(parent).start()
}
@@ -82,8 +78,8 @@ class ControlsActivity @Inject constructor(
finish()
}
override fun onStop() {
super.onStop()
override fun onPause() {
super.onPause()
uiController.hide()
}