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
diff --git a/protos/launcher_atom.proto b/protos/launcher_atom.proto
index dde69e3..a840eb4 100644
--- a/protos/launcher_atom.proto
+++ b/protos/launcher_atom.proto
@@ -38,7 +38,7 @@
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 @@
// 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{