Restore public visibility of onRefreshRateSettingsChanged

Bug:b/272803550
Test: atest DisplayModeDirectorTest

Public visibility was changed to package private in ag/21465168
test results: http://ab/I15700010138815406

Change-Id: Ie1f7af2d49f9e2aab70478f4e59ba43746c48036
This commit is contained in:
Oleg Petsjonkin
2023-03-14 09:38:10 +00:00
parent e76395d36c
commit a9078fffdc

View File

@@ -2088,7 +2088,7 @@ public class DisplayModeDirector {
}
@VisibleForTesting
void onRefreshRateSettingChangedLocked(float min, float max) {
public void onRefreshRateSettingChangedLocked(float min, float max) {
boolean changeable = (max - min > 1f && max > 60f);
if (mRefreshRateChangeable != changeable) {
mRefreshRateChangeable = changeable;