Loading proto/src/metrics_constants.proto +5 −0 Original line number Original line Diff line number Diff line Loading @@ -4562,6 +4562,11 @@ message MetricsEvent { // OS: O MR // OS: O MR NOTIFICATION_SNOOZE_OPTIONS = 1142; NOTIFICATION_SNOOZE_OPTIONS = 1142; // OPEN: Settings > Display > Colors // CATEGORY: SETTINGS // OS: O MR COLOR_MODE_SETTINGS = 1143; // ---- End O-MR1 Constants, all O-MR1 constants go above this line ---- // ---- End O-MR1 Constants, all O-MR1 constants go above this line ---- // OPEN: Settings > Network & Internet > Mobile network // OPEN: Settings > Network & Internet > Mobile network Loading services/core/java/com/android/server/wm/WindowManagerService.java +2 −1 Original line number Original line Diff line number Diff line Loading @@ -7702,7 +7702,8 @@ public class WindowManagerService extends IWindowManager.Stub } } boolean hasWideColorGamutSupport() { boolean hasWideColorGamutSupport() { return mHasWideColorGamutSupport; return mHasWideColorGamutSupport && !SystemProperties.getBoolean("persist.sys.sf.native_mode", false); } } void updateNonSystemOverlayWindowsVisibilityIfNeeded(WindowState win, boolean surfaceShown) { void updateNonSystemOverlayWindowsVisibilityIfNeeded(WindowState win, boolean surfaceShown) { Loading Loading
proto/src/metrics_constants.proto +5 −0 Original line number Original line Diff line number Diff line Loading @@ -4562,6 +4562,11 @@ message MetricsEvent { // OS: O MR // OS: O MR NOTIFICATION_SNOOZE_OPTIONS = 1142; NOTIFICATION_SNOOZE_OPTIONS = 1142; // OPEN: Settings > Display > Colors // CATEGORY: SETTINGS // OS: O MR COLOR_MODE_SETTINGS = 1143; // ---- End O-MR1 Constants, all O-MR1 constants go above this line ---- // ---- End O-MR1 Constants, all O-MR1 constants go above this line ---- // OPEN: Settings > Network & Internet > Mobile network // OPEN: Settings > Network & Internet > Mobile network Loading
services/core/java/com/android/server/wm/WindowManagerService.java +2 −1 Original line number Original line Diff line number Diff line Loading @@ -7702,7 +7702,8 @@ public class WindowManagerService extends IWindowManager.Stub } } boolean hasWideColorGamutSupport() { boolean hasWideColorGamutSupport() { return mHasWideColorGamutSupport; return mHasWideColorGamutSupport && !SystemProperties.getBoolean("persist.sys.sf.native_mode", false); } } void updateNonSystemOverlayWindowsVisibilityIfNeeded(WindowState win, boolean surfaceShown) { void updateNonSystemOverlayWindowsVisibilityIfNeeded(WindowState win, boolean surfaceShown) { Loading