diff options
author | Matt Pietal <mpietal@google.com> | 2021-07-22 11:36:22 -0400 |
---|---|---|
committer | Matt Pietal <mpietal@google.com> | 2021-07-22 11:57:19 -0400 |
commit | 939a99cd4d8c536b935585444c2f2296fa563247 (patch) | |
tree | f0db7757f483af49d8582d2cf4b143f5f40605f0 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | ef8407ab7d68e629aae46f141f1a5896a8fd548f (diff) |
Fix multiple control providers
Found an error in the logs:
ControlsBindingControllerImpl: Provider for
token:android.os.Binder@147a7f9 does not exist anymore
And then noticed that the ControlsActivity was being started by
framework when transitioning between ControlsFavoritingActivity and
ControlsProviderSelelctionActivity. This is strictly due to window
animations being enabled, and framework realizing that the
ControlsActivity will be visible momentarily between
activities. Previously uiController.show() was in the onStart()
method, which resulted in ControlsBindingControllerImpl rebinding to a
different service.
By moving to onResume(), the call to uiController.show() can be
avoided, hence avoiding the service rebinding so the controls can
correctly be shown in the favoriting activity.
Fixes: 191589943
Test: manual (requires multiple control services)
Change-Id: I634ab7c386c2098dc8f9971d320a8b80b8cd429a
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions