commit | 1b75bfcb3fb74ac63f85cb034b8a2b83ff8f8801 | [log] [tgz] |
---|---|---|
author | Yi-Ling Chuang <emilychuang@google.com> | Mon Jan 24 18:31:06 2022 +0800 |
committer | Yi-Ling Chuang <emilychuang@google.com> | Fri Feb 11 15:41:35 2022 +0800 |
tree | 912f8ea76dc9cd56c885045f9d009c4b72cfc0ba | |
parent | cc9f89383fafcff0fdddcd5cd3106131f60aae5e [diff] |
Add NEW_TASK flag to intent if metadata matches This is a refactoring CL for the isNewTask() method. Before this CL we check isNewTask() in different places. This CL tries to simplify the logic by moving the check to where the intent is generated, so we don't have to check the condition here and there. Also did some minor refactoring. Fixes: 216026158 Test: robotest Change-Id: I3d8b4864e73fc49c83c46fc2d219b2b74c1ab5a4