Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit dbe2ae3d authored by Mark Renouf's avatar Mark Renouf
Browse files

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
parent 19a969e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment