summaryrefslogtreecommitdiff
path: root/opengl/java
diff options
context:
space:
mode:
authorguofei.xue <guofei.xue@unisoc.com>2020-07-14 19:24:27 +0800
committerJean-Michel Trivi <jmtrivi@google.com>2020-09-29 17:59:26 +0000
commit6695525f1bf4d7edf683243eb40b48f41fb767d9 (patch)
tree0076adaf463f66def7111c3b9839ef55dbe20987 /opengl/java
parentaea9e7c14313e303ac699e88f6cca442ab8ddd85 (diff)
Use the try catch to deal with the StaleDataException.
When test the monkey, the mCursor is not null and the mCursor is Closed. So that the mCursor cannot call the method of moveToPosition. Otherwise it will lead to StaleDataException. In order to prevent the android.database.StaleDataException and IllegalStateException, use the try catch to deal with the StaleDataException and IllegalStateException. Test:Perform the monkey test, and See if this android.database.StaleDataException will happen again when call the method of android.media.RingtoneManager#getRingtoneUri. Bug: 169292273 Change-Id: I577c41c6a4b0025ce562a2dc495a6f28b103cfaa
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions