Fetch summary only if feature is available
onResume(loads summary) of controller seems to be invoked even when availabilty status is unspported. Bug: 278294334 Test: manual Change-Id: I2486a7d61bea1b981ae56f0ff32b9d411be2ad14
This commit is contained in:
@@ -75,6 +75,9 @@ public class ClonedAppsPreferenceController extends BasePreferenceController
|
||||
}
|
||||
|
||||
private void updatePreferenceSummary() {
|
||||
if (!isAvailable()) {
|
||||
return;
|
||||
}
|
||||
new AsyncTask<Void, Void, Integer[]>() {
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user