commit | 52c5c76bddbf3994867a00d0e266b390592486aa | [log] [tgz] |
---|---|---|
author | Angus Kong <shkong@google.com> | Fri Oct 14 17:11:12 2011 +0800 |
committer | Angus Kong <shkong@google.com> | Mon Oct 17 16:20:39 2011 +0800 |
tree | c7ad8ffb4665263464c8bd8b23c93820fe27df1c | |
parent | 267bccfc197cdb2eaa44a0a96c8138863d1cc0bc [diff] |
Add "Intent.FLAG_ACTIVITY_CLEAR_TOP" flag in test. The "Intent.FLAG_ACTIVITY_CLEAR_TOP" should be added in the intent for switching modes. This flag ensures there is only 1 instance of the same activity. This behavior is the same as how we do in the app. bug:5336037 Change-Id: Ie76b43cbd87ff9e8a7ec9e0a892930834dccf9cf