summaryrefslogtreecommitdiffstats
path: root/core/tests/coretests/AndroidManifest.xml
diff options
context:
space:
mode:
authorMartin Wallgren <martin.wallgren@sonyericsson.com>2011-04-13 15:03:35 +0200
committerJohan Redestig <johan.redestig@sonyericsson.com>2011-04-13 15:03:35 +0200
commit505bd0d60d26811ac1e61d2c39a2d5a995d2254d (patch)
tree2a2e227fa038ed1ef3fbe90cc84fad16d6a660d9 /core/tests/coretests/AndroidManifest.xml
parent08d9d9a46250c4fad66e9b637e8898a3524c4286 (diff)
downloadframeworks_base-505bd0d60d26811ac1e61d2c39a2d5a995d2254d.zip
frameworks_base-505bd0d60d26811ac1e61d2c39a2d5a995d2254d.tar.gz
frameworks_base-505bd0d60d26811ac1e61d2c39a2d5a995d2254d.tar.bz2
onDetachedFromWindow is called before onAttachedToWindow
Multiple threads are adding messages about the current state of the views to the main looper. This can cause onDetachedFromWindow to be posted on the looper before onAttachedToWindow. This change will make sure to only dispatch onDetachedFromWindow if we have previously dispatched onAttachToWindow. Change-Id: Ibc7cbcafb098bc000d2ef5480d2110d3fff4d55a
Diffstat (limited to 'core/tests/coretests/AndroidManifest.xml')
-rw-r--r--core/tests/coretests/AndroidManifest.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/tests/coretests/AndroidManifest.xml b/core/tests/coretests/AndroidManifest.xml
index 487a00d..18a6d7b 100644
--- a/core/tests/coretests/AndroidManifest.xml
+++ b/core/tests/coretests/AndroidManifest.xml
@@ -96,6 +96,12 @@
<application android:theme="@style/Theme">
<uses-library android:name="android.test.runner" />
+ <activity android:name="android.view.ViewAttachTestActivity" android:label="View Attach Test">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST" />
+ </intent-filter>
+ </activity>
<activity android:name="StubTestBrowserActivity" android:label="Stubbed Test Browser">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>