Merge "Make preferred activities encryption aware." into nyc-dev

This commit is contained in:
Jeff Sharkey
2016-03-02 00:52:34 +00:00
committed by Android (Google) Code Review

View File

@@ -3049,7 +3049,7 @@ final class Settings {
tmpPa.dump(new LogPrinter(Log.DEBUG, TAG), " ");
}
Intent intent = new Intent();
int flags = 0;
int flags = PackageManager.MATCH_ENCRYPTION_AWARE_AND_UNAWARE;
intent.setAction(tmpPa.getAction(0));
for (int i=0; i<tmpPa.countCategories(); i++) {
String cat = tmpPa.getCategory(i);