summaryrefslogtreecommitdiff
path: root/protos
diff options
context:
space:
mode:
author Anna Zhuravleva <azhura@google.com> 2023-11-20 18:30:35 +0000
committer Anna Zhuravleva <azhura@google.com> 2023-11-29 10:26:53 +0000
commit9c20381231cd6af0d54ed46ce116e389a8123a9f (patch)
treee88f44e6e46a24bbf8b75b2268a690f41f590c2c /protos
parent4a6d4994c3a0673a5e53c4176c808a158320d0ea (diff)
Add user_type field and log it in Launcher
Add new field user_type to decouple work_profile and private_space users. Deprecate is_work boolean field. Bug: 312200869 Test: statsd_testdrive 19, output: https://paste.googleplex.com/5912695996416000 Flag: NA Change-Id: Idc25f341b4353a85b8a93eab97c88195895baedc
Diffstat (limited to 'protos')
-rw-r--r--protos/launcher_atom.proto5
1 files changed, 4 insertions, 1 deletions
diff --git a/protos/launcher_atom.proto b/protos/launcher_atom.proto
index dde69e377b..a840eb4473 100644
--- a/protos/launcher_atom.proto
+++ b/protos/launcher_atom.proto
@@ -38,7 +38,7 @@ message ItemInfo {
optional int32 rank = 5;
// Stores whether the Item belows to non primary user
- optional bool is_work = 6;
+ optional bool is_work = 6 [deprecated = true];
// Item can be child node to parent container or parent containers (nested)
optional ContainerInfo container_info = 7;
@@ -48,6 +48,9 @@ message ItemInfo {
// Stores whether the navigation bar is in kids mode.
optional bool is_kids_mode = 13;
+
+ // Stores type of the user the Item belong to
+ optional int32 user_type = 14;
}
message LauncherAttributes{