summaryrefslogtreecommitdiff
path: root/core/proto
diff options
context:
space:
mode:
authorGovinda Wasserman <gwasserman@google.com>2020-09-21 19:39:19 -0400
committerGovinda Wasserman <gwasserman@google.com>2020-09-23 02:18:28 +0000
commit6c6e754f63e49995339bc15d93e32a9dbea135d4 (patch)
treec0598d388ca2b376be3b34af31c4198fc720a1fc /core/proto
parent697711df74da7b3c9b24cd4b2a3e3945a45c0eb0 (diff)
Adds Assistant Handles learning state to backed up settings
This solves the issue where the device would forget the learned state when restoring from a backup. Test: Tested locally BUG: 159807978 FIX: 159807978 Change-Id: Ia1d5926621c4b45402036aaf06cbab19c12869bd Merged-In: Ia1d5926621c4b45402036aaf06cbab19c12869bd
Diffstat (limited to 'core/proto')
-rw-r--r--core/proto/android/providers/settings/secure.proto10
1 files changed, 9 insertions, 1 deletions
diff --git a/core/proto/android/providers/settings/secure.proto b/core/proto/android/providers/settings/secure.proto
index acf8cc4944d9..cfd428cbacc3 100644
--- a/core/proto/android/providers/settings/secure.proto
+++ b/core/proto/android/providers/settings/secure.proto
@@ -119,6 +119,14 @@ message SecureSettingsProto {
}
optional Assist assist = 7;
+ message AssistHandles {
+ option (android.msg_privacy).dest = DEST_EXPLICIT;
+
+ optional SettingProto learning_time_elapsed_millis = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
+ optional SettingProto learning_event_count = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
+ }
+ optional AssistHandles assist_handles = 86;
+
message Autofill {
option (android.msg_privacy).dest = DEST_EXPLICIT;
@@ -596,5 +604,5 @@ message SecureSettingsProto {
// Please insert fields in alphabetical order and group them into messages
// if possible (to avoid reaching the method limit).
- // Next tag = 85;
+ // Next tag = 87;
}