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

Commit 7b04ac5d authored by Vincent Wang's avatar Vincent Wang
Browse files

Add screen_off_udfps_enabled into secure.proto

ag/30026334 missed adding filed into secure.proto

Bug: 383439493
Flag: EXEMPT for adding missing filed into protobuf
Test: Build pass
Change-Id: I67f2ee39c52d2a8d63dd45d63d8605b958c3da0d
parent 2935e9a9
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -566,6 +566,8 @@ message SecureSettingsProto {
    // value.
    optional SettingProto rtt_calling_mode = 69 [ (android.privacy).dest = DEST_AUTOMATIC ];

    optional SettingProto screen_off_udfps_enabled = 104 [ (android.privacy).dest = DEST_AUTOMATIC ];

    message Screensaver {
        option (android.msg_privacy).dest = DEST_EXPLICIT;

@@ -743,5 +745,5 @@ message SecureSettingsProto {

    // Please insert fields in alphabetical order and group them into messages
    // if possible (to avoid reaching the method limit).
    // Next tag = 104;
    // Next tag = 105;
}
+7 −0
Original line number Diff line number Diff line
@@ -2517,6 +2517,13 @@ class SettingsProtoDumpUtil {
                Settings.Secure.RTT_CALLING_MODE,
                SecureSettingsProto.RTT_CALLING_MODE);

        final long screenoffudfpsenabledToken = p.start(
                SecureSettingsProto.SCREEN_OFF_UDFPS_ENABLED);
        dumpSetting(s, p,
                Settings.Secure.SCREEN_OFF_UNLOCK_UDFPS_ENABLED,
                SecureSettingsProto.SCREEN_OFF_UDFPS_ENABLED);
        p.end(screenoffudfpsenabledToken);

        final long screensaverToken = p.start(SecureSettingsProto.SCREENSAVER);
        dumpSetting(s, p,
                Settings.Secure.SCREENSAVER_ENABLED,