OSDN Git Service

Fix AIOOBE with root access disabled.
authorDanny Baumann <dannybaumann@web.de>
Mon, 5 Sep 2016 07:14:26 +0000 (09:14 +0200)
committerGerrit Code Review <gerrit@cyanogenmod.org>
Fri, 9 Sep 2016 18:54:55 +0000 (11:54 -0700)
commit8ebe1736d53e80b55f862ab73427cf0f295d0d37
tree894348d218369ac1af5e00a92229348c88f8d551
parent31be1080addd6860b16aef708c1052f8c7d3b663
Fix AIOOBE with root access disabled.

Page title and template array lengths got out of sync if root access was
disabled. Make sure this doesn't happen anymore by combining titles and
templates into a single list prior to filtering.

Change-Id: I069db9b9925887d6d80592eabe93b33abeaf0fe8
JIRA: CYAN-8028
src/com/android/settings/applications/AppOpsSummary.java