diff options
author | Evan Laird <evanlaird@google.com> | 2018-11-12 15:26:34 -0500 |
---|---|---|
committer | Evan Laird <evanlaird@google.com> | 2018-11-12 15:26:34 -0500 |
commit | f0348b13b8d156dfb676471ee12c2d84846bdf78 (patch) | |
tree | 7996242c9e856e489a0d3061cb24ce04492434fa /rs/java/android/renderscript/Program.java | |
parent | b2eb6bd683022f2bab48eaaebdf1afc19dd35681 (diff) |
Don't let NotificationMediaManager cause NPEs
If setUpWithPresenter() hasn't been called on NotificationMediaManager,
it can NPE when serving up APIs.
Long term, we probably need a way to make sure classes which need to bet
set up don't do anything before they get that chance.
Test: open camera, kill sysui, make sure it boots
Change-Id: Idc41bf9aeecda2bcc55c03b4c027c15fbc880a4f
Fixes: 119322135
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions