commit | ed4939f199ca25008191edce1362746fe780742e | [log] [tgz] |
---|---|---|
author | Robert Wu <robertwu@google.com> | Tue Aug 01 20:40:58 2023 +0000 |
committer | Robert Wu <robertwu@google.com> | Tue Aug 01 21:59:45 2023 +0000 |
tree | 5e7f0c1e58253fc2a68df9b1815c0409df6130d2 | |
parent | 5723d596c9e98aba35d22ba891ca8d46eddc8c53 [diff] |
MIDI: Fix UserManager.getMainUser() crash There is no need to call getMainUser() when we can simply get the user id from the app uid. Bug: 293928587 Test: Connect Jamstick to MIDI+BTLE app Test: Verify MidiScope sees the device and receives data Change-Id: If2adb5118132dc445652c902ace29f0b1fccb057 (cherry picked from commit b6898d1c34d3d6d1655c21e183c8bebf8957afdc)