Merge "Add Debug Logs to AllAppsStore's dump for Bitmap flags" into main

This commit is contained in:
Treehugger Robot authored and Android (Google) Code Review committed 2024-12-19 17:31:51 -08:00
commit 89c4752aa3
1 file changed
+4 -2
@@ -261,12 +261,14 @@ public class AllAppsStore<T extends Context & ActivityContext> {
writer.println(prefix + "\tAllAppsStore Apps[] size: " + mApps.length);
for (int i = 0; i < mApps.length; i++) {
writer.println(String.format(Locale.getDefault(),
"%s\tPackage index, name, class, and description: %d/%s:%s, %s",
"%s\tPackage index, name, class, description, bitmap flag: %d/%s:%s, %s, %s+%s",
prefix,
i,
mApps[i].componentName.getPackageName(),
mApps[i].componentName.getClassName(),
mApps[i].contentDescription));
mApps[i].contentDescription,
Integer.toBinaryString(mApps[i].bitmap.flags),
Integer.toBinaryString(mApps[i].bitmap.creationFlags)));
}
}
}