diff options
author | Beth Thibodeau <ethibodeau@google.com> | 2020-06-12 12:36:18 -0400 |
---|---|---|
committer | Beth Thibodeau <ethibodeau@google.com> | 2020-06-12 13:11:15 -0400 |
commit | 7a1721ad71a17283ba98fd3d30759f7158afc08a (patch) | |
tree | 09a9df27d108cfb65804e78663d1eff9d122104e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 8140ae8d22d4165bc9a4c22e1b6e57d359c6fde8 (diff) |
Check connection state of media browser
We need to verify that the browser is actually connected before calling
getRoot or getSessionToken, otherwise it will throw an exception (and
crash sysui).
This is not typical but could happen if the service we connected to had
some problem and disconnected soon after we got the onConnected callback
Bug: 156104922
Test: atest com.android.systemui.media
Change-Id: I9b73e2167612a287b527c7bf7bdba1ca2455d55b
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions