Commit dd998ec9 authored by Jimmy Gong's avatar Jimmy Gong Committed by Chromium LUCI CQ

Phone Hub: Introduce ProfileType proto enum for Phone Hub API

The ProfileType enum helps distinguish whether the current phone profile
is a work profile or the default profile.

Bug: 1155244
Change-Id: I21a5f957c31ec1a8ceb4a39080a45ee62daf3ceb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2572703
Commit-Queue: Jimmy Gong <jimmyxgong@chromium.org>
Commit-Queue: Kyle Horimoto <khorimoto@chromium.org>
Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833494}
parent 8d45f871
......@@ -85,6 +85,11 @@ enum NotificationImportance {
HIGH = 5;
}
enum ProfileType {
DEFAULT_PROFILE = 0;
WORK_PROFILE = 1;
}
message PhoneProperties {
int32 battery_percentage = 1;
ChargingState charging_state = 2;
......@@ -100,6 +105,8 @@ message PhoneProperties {
NotificationAccessState notification_access_state = 8;
FindMyDeviceRingStatus ring_status = 9;
ProfileType profile_type = 10;
}
message App {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment