diff options
author | guofei.xue <guofei.xue@unisoc.com> | 2020-07-27 16:26:39 +0800 |
---|---|---|
committer | bing liang <bing.liang@unisoc.com> | 2020-09-24 11:46:35 +0000 |
commit | 813857d851cf7815038d27bd9246a880dfbcbb06 (patch) | |
tree | d38b8e6a3103eb55d105e3e3f0cf063b34a68ab2 /rs/java/android/renderscript/ProgramStore.java | |
parent | daf5e2a5b18042870d4b17bae1b48494cf7b4b6f (diff) |
When the mUri is null,it will happen NullPointerException.
When test the monkey, the mUri is existed to be null pointer high probability.
In order to prevent a null pointer exception, added a judgment condition that the mUri is not null or empty.
Test:Perform the monkey test,and See if this NullPointerException will happen again when call the method of android.media.Ringtone#play.
Bug: 169292270
Change-Id: I7907f0a376d67bb0a0f50ea155e2aa2f4552b1de
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions