summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMichael W <baddaemon87@gmail.com>2016-10-22 13:12:46 +0200
committerAdrian DC <radian.dc@gmail.com>2016-12-03 22:12:09 +0100
commit7d16fdb5979cdf1e829c52fcdad2ec3391cd76bf (patch)
treeabf46ddcc760b79c3ac096b952d81ede0c7df7d3 /tests
parent5db8da4ce6c909f35bc5672210c6ef51b63ffc6c (diff)
downloadandroid_packages_apps_Snap-7d16fdb5979cdf1e829c52fcdad2ec3391cd76bf.zip
android_packages_apps_Snap-7d16fdb5979cdf1e829c52fcdad2ec3391cd76bf.tar.gz
android_packages_apps_Snap-7d16fdb5979cdf1e829c52fcdad2ec3391cd76bf.tar.bz2
Snap: Fix possible RuntimeException (due to NPE)
When the pref can't be found, index "-1" is returned, causing an NPE resulting in an RTE. Add check for a positive index before accessing the array RM-290 Change-Id: Ifa80077c2090a9df449be608feaf4390c875ff0f Reference: BugDumps 13-20161014-20 L#40
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions