Class ShadowUIModeManager

    • Field Detail

      • currentModeType

        public int currentModeType
      • currentNightMode

        public int currentNightMode
      • lastFlags

        public int lastFlags
      • lastCarModePriority

        public int lastCarModePriority
    • Constructor Detail

      • ShadowUIModeManager

        public ShadowUIModeManager()
    • Method Detail

      • getCurrentModeType

        @Implementation
        protected int getCurrentModeType()
      • enableCarMode

        @Implementation(maxSdk=29)
        protected void enableCarMode​(int flags)
      • enableCarMode

        @Implementation(minSdk=30)
        protected void enableCarMode​(int priority,
                                     int flags)
      • disableCarMode

        @Implementation
        protected void disableCarMode​(int flags)
      • getNightMode

        @Implementation
        protected int getNightMode()
      • setNightMode

        @Implementation
        protected void setNightMode​(int mode)