OSDN Git Service

Check for null activity before getting dashboard categories.
authorDoris Ling <dling@google.com>
Thu, 21 Jul 2016 19:22:17 +0000 (12:22 -0700)
committergitbuildkicker <android-build@google.com>
Thu, 21 Jul 2016 21:03:27 +0000 (14:03 -0700)
commit4fb7680094643c031752e14d2b5c755e053eb3cf
tree6b3010e2673f1fb2f9c54e633964e248c81c6479
parent5a34c74512705c7e690018b2daa097f01116f82f
Check for null activity before getting dashboard categories.

In DashboardSummary, when async task finishes running, ensure that the
fragment is still associated with the activity before getting the
dashboard categories from the activity.

Change-Id: If23cd27a0d3e3429d900ae41ef6f24ed03b9e8d6
Fixes: 30278854
src/com/android/settings/dashboard/DashboardSummary.java