diff options
| author | 2025-03-20 18:04:56 -0700 | |
|---|---|---|
| committer | 2025-03-20 18:04:56 -0700 | |
| commit | cb4c7d05b6497c53398f23d032a7af375ed2c97d (patch) | |
| tree | b15216c8685a325562a47e4f2c60efb7f9e1d5b3 | |
| parent | 7c804f20f8cf71eebca6e91f983b58789fc32245 (diff) | |
| parent | 83e0cdf01cfb3a1cc6945569ac5a7ad6b371f8e4 (diff) | |
Merge "Added logging for tracking implicit RR registration" into main
| -rw-r--r-- | core/java/android/hardware/display/DisplayManagerGlobal.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/hardware/display/DisplayManagerGlobal.java b/core/java/android/hardware/display/DisplayManagerGlobal.java index bebca57125b6..42df43e4d436 100644 --- a/core/java/android/hardware/display/DisplayManagerGlobal.java +++ b/core/java/android/hardware/display/DisplayManagerGlobal.java @@ -475,6 +475,7 @@ public final class DisplayManagerGlobal { synchronized (mLock) { if (!mShouldImplicitlyRegisterRrChanges) { mShouldImplicitlyRegisterRrChanges = true; + Slog.i(TAG, "Implicitly registering for refresh rate"); updateCallbackIfNeededLocked(); } } @@ -1759,6 +1760,9 @@ public final class DisplayManagerGlobal { synchronized (mLock) { mDispatchNativeCallbacks = true; if (Flags.delayImplicitRrRegistrationUntilRrAccessed()) { + if (!mShouldImplicitlyRegisterRrChanges) { + Slog.i(TAG, "Choreographer implicitly registered for the refresh rate."); + } mShouldImplicitlyRegisterRrChanges = true; } registerCallbackIfNeededLocked(); |