Merge "Start logging rotation lock history + include caller information" into main

This commit is contained in:
Treehugger Robot
2023-09-26 09:43:48 +00:00
committed by Android (Google) Code Review
5 changed files with 11 additions and 6 deletions

View File

@@ -30,12 +30,13 @@ public class ShadowRotationPolicy {
private static boolean rotationSupported = true;
@Implementation
protected static void setRotationLock(Context context, final boolean enabled) {
protected static void setRotationLock(Context context, final boolean enabled, String caller) {
rotationLockEnabled = enabled;
}
@Implementation
protected static void setRotationLockForAccessibility(Context context, final boolean enabled) {
protected static void setRotationLockForAccessibility(
Context context, final boolean enabled, String caller) {
rotationLockEnabled = enabled;
}