Merge "Add Debug Logs to AllAppsStore's dump for Bitmap flags" into main
This commit is contained in:
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)));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user