Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4289c335 authored by Adnan Begovic's avatar Adnan Begovic Committed by Android (Google) Code Review
Browse files

Merge "sysui: Observe weather enabled for lockscreen." into tm-qpr-dev-plus-aosp

parents 071a5cc3 1a31b9df
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -11046,6 +11046,13 @@ public final class Settings {
        public static final String EXTRA_AUTOMATIC_POWER_SAVE_MODE =
                "extra_automatic_power_save_mode";
        /**
         * Whether lockscreen weather is enabled.
         *
         * @hide
         */
        public static final String LOCK_SCREEN_WEATHER_ENABLED = "lockscreen_weather_enabled";
        /**
         * These entries are considered common between the personal and the managed profile,
         * since the managed profile doesn't get to change them.
+3 −0
Original line number Diff line number Diff line
@@ -6037,4 +6037,7 @@
    <!-- List of certificate to be used for font fs-verity integrity verification -->
    <string-array translatable="false" name="config_fontManagerServiceCerts">
    </string-array>

    <!-- Whether to show weather on the lock screen by default. -->
    <bool name="config_lockscreenWeatherEnabledByDefault">false</bool>
</resources>
+3 −0
Original line number Diff line number Diff line
@@ -4917,4 +4917,7 @@
  <java-symbol type="id" name="language_picker_header" />

  <java-symbol type="dimen" name="status_bar_height_default" />

  <!-- Whether to show weather on the lockscreen by default. -->
  <java-symbol type="bool" name="config_lockscreenWeatherEnabledByDefault" />
</resources>
+2 −1
Original line number Diff line number Diff line
@@ -219,6 +219,7 @@ public class SecureSettings {
        Settings.Secure.ASSIST_LONG_PRESS_HOME_ENABLED,
        Settings.Secure.BLUETOOTH_LE_BROADCAST_PROGRAM_INFO,
        Settings.Secure.BLUETOOTH_LE_BROADCAST_CODE,
        Settings.Secure.BLUETOOTH_LE_BROADCAST_APP_SOURCE_NAME
        Settings.Secure.BLUETOOTH_LE_BROADCAST_APP_SOURCE_NAME,
        Settings.Secure.LOCK_SCREEN_WEATHER_ENABLED
    };
}
+1 −0
Original line number Diff line number Diff line
@@ -352,5 +352,6 @@ public class SecureSettingsValidators {
        VALIDATORS.put(Secure.BLUETOOTH_LE_BROADCAST_PROGRAM_INFO, ANY_STRING_VALIDATOR);
        VALIDATORS.put(Secure.BLUETOOTH_LE_BROADCAST_CODE, ANY_STRING_VALIDATOR);
        VALIDATORS.put(Secure.BLUETOOTH_LE_BROADCAST_APP_SOURCE_NAME, ANY_STRING_VALIDATOR);
        VALIDATORS.put(Secure.LOCK_SCREEN_WEATHER_ENABLED, BOOLEAN_VALIDATOR);
    }
}
Loading