Merge "Start logging rotation lock history + include caller information" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
51e3fc3388
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user