diff options
| author | Mark Renouf <mrenouf@google.com> | 2021-10-01 15:01:47 -0400 |
|---|---|---|
| committer | Mark Renouf <mrenouf@google.com> | 2021-10-01 16:02:47 -0400 |
| commit | dbe2ae3d5824c950694baea42ebd6947dd7cbee5 (patch) | |
| tree | cf1496637206311561927203da3871dd04156bd7 /core/java/android/widget/TextView.java | |
| parent | 19a969e52cfd06bb2692964cf313fb0051ecd570 (diff) | |
Fix UsbResolverActivity: SuperNotCalledException
Results in a quick crash of the systemui process when
called with out args. (error path skips super.onCreate)
Unfortunately, broadcast receivers are also registered
in #onCreate, but unregistered in #onStop. Since the
activity is created but not started, stop isn't called
resulting in a leaked receiver. Calling onStop() here
fixes this.
Bug: 201719995
Test: adb shell am start -n
com.android.systemui/com.android.systemui.usb.UsbResolverActivity
Change-Id: Id76491fe4779df14e54969b9ab04ef2f772c293c
Diffstat (limited to 'core/java/android/widget/TextView.java')
0 files changed, 0 insertions, 0 deletions
