commit | 777c1046adec4e2ef7b71a1b421fb4b079db94f1 | [log] [tgz] |
---|---|---|
author | Michael Kwan <mkwan@google.com> | Thu Nov 06 16:33:18 2014 -0800 |
committer | Michael Kwan <mkwan@google.com> | Tue Nov 11 16:50:18 2014 -0800 |
tree | 77181d003323811176803d85c92815143df9f0f5 | |
parent | ec379695feb883191389b8953cb0b4e1a2fbc00c [diff] |
Changed behaviour on main Activity relaunch to finish immediately for clockwork devices to accomodate clockwork's exit to the watchface on screen off. Change-Id: I3fd582a007e8a3fe5e5137b12db5c8669e3db34c
diff --git a/apps/CtsVerifier/src/com/android/cts/verifier/TestListActivity.java b/apps/CtsVerifier/src/com/android/cts/verifier/TestListActivity.java index 43d300a..1cc3547 100644 --- a/apps/CtsVerifier/src/com/android/cts/verifier/TestListActivity.java +++ b/apps/CtsVerifier/src/com/android/cts/verifier/TestListActivity.java
@@ -35,6 +35,11 @@ @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); + + if (!isTaskRoot()) { + finish(); + } + setTitle(getString(R.string.title_version, Version.getVersionName(this))); setTestListAdapter(new ManifestTestListAdapter(this, null)); }