1 // Copyright (C) 2017 The Android Open Source Project
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
7 // http://www.apache.org/licenses/LICENSE-2.0
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
17 option java_package = "com.android.internal.messages";
18 option java_outer_classname = "SystemMessageProto";
20 package com_android_notifications;
22 // Descriptors for system messages: notifications, dialogs, toasts, etc.
23 message SystemMessage {
26 // These are non-consecutive in order to preserve some existing, ad hoc IDs.
31 // Notify the user that a screenshot was captured.
32 // Package: com.android.systemui
33 NOTE_GLOBAL_SCREENSHOT = 1;
35 // Warn the user about an invalid charger.
36 // Package: com.android.systemui
39 // Warn the user about low battery.
40 // Package: com.android.systemui
43 // Warn the user that the device has gotten warm.
44 // Package: com.android.systemui
47 // Warn the user that some notifications are hidden.
48 // Package: com.android.systemui
49 NOTE_HIDDEN_NOTIFICATIONS = 5;
51 // Notify the user of a problem with a plugin (dev devices only).
52 // Package: com.android.systemui
55 // Confirm that the user wants to remove the guest account.
56 // Package: com.android.systemui
57 NOTE_REMOVE_GUEST = 1010;
59 // Confirm that the user wants to log out of the device.
60 // Package: com.android.systemui
61 NOTE_LOGOUT_USER = 1011;
63 // Notify the user about public volume state changes..
64 // Package: com.android.systemui
65 NOTE_STORAGE_PUBLIC = 0x53505542;
67 // Notify the user about private volume state changes.
68 // Package: com.android.systemui
69 NOTE_STORAGE_PRIVATE = 0x53505256;
71 // Notify the user about an unsupported storage device..
72 // Package: com.android.systemui
73 NOTE_STORAGE_DISK = 0x5344534b;
75 // Notify the user that data or apps are being moved to external storage.
76 // Package: com.android.systemui
77 NOTE_STORAGE_MOVE = 0x534d4f56;