summaryrefslogtreecommitdiff
path: root/proto/src
diff options
context:
space:
mode:
authorHongwei Wang <hwwang@google.com>2019-07-15 10:23:03 -0700
committerHongwei Wang <hwwang@google.com>2019-07-16 10:36:52 -0700
commit3b9bdcffaf5034000461230ee3b6bc82349c9496 (patch)
tree9bfa78585a4d2d72d8f54a915d983e3df7fb700f /proto/src
parentba7fb6a5f66f24c942c8dcd6ca7b0de9fd266ce5 (diff)
Adds identifier to TaskSnapshot
This identifier is introduced to differentiate two task snapshots in AiAi. Currently, the timestamp (in millis) is chosen as the identifier. Bug: 136563752 Test: atest TaskSnapshotPersisterLoaderTest Change-Id: I249511d1e4bb34a93d5db08d2b1cea3b1ee5d034
Diffstat (limited to 'proto/src')
-rw-r--r--proto/src/task_snapshot.proto3
1 files changed, 2 insertions, 1 deletions
diff --git a/proto/src/task_snapshot.proto b/proto/src/task_snapshot.proto
index 381d9834fa87..821db860dd96 100644
--- a/proto/src/task_snapshot.proto
+++ b/proto/src/task_snapshot.proto
@@ -33,4 +33,5 @@
bool is_translucent = 9;
string top_activity_component = 10;
float scale = 11;
- } \ No newline at end of file
+ int64 id = 12;
+ }