diff options
author | Hongwei Wang <hwwang@google.com> | 2019-07-15 10:23:03 -0700 |
---|---|---|
committer | Hongwei Wang <hwwang@google.com> | 2019-07-16 10:36:52 -0700 |
commit | 3b9bdcffaf5034000461230ee3b6bc82349c9496 (patch) | |
tree | 9bfa78585a4d2d72d8f54a915d983e3df7fb700f /proto/src | |
parent | ba7fb6a5f66f24c942c8dcd6ca7b0de9fd266ce5 (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.proto | 3 |
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; + } |