summaryrefslogtreecommitdiffstats
path: root/tests/HwAccelerationTest/AndroidManifest.xml
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2012-05-02 18:50:34 -0700
committerChet Haase <chet@google.com>2012-05-03 11:14:50 -0700
commitd34dd71800d9a1077e58c3b7f2511c46848da417 (patch)
tree464ac603e38b3c8593cc03d244892ee3fb3502a6 /tests/HwAccelerationTest/AndroidManifest.xml
parent5380cdc2e1adc8511b05e7623efb44d67be88418 (diff)
downloadframeworks_base-d34dd71800d9a1077e58c3b7f2511c46848da417.zip
frameworks_base-d34dd71800d9a1077e58c3b7f2511c46848da417.tar.gz
frameworks_base-d34dd71800d9a1077e58c3b7f2511c46848da417.tar.bz2
Fix hang/crash in native path code
An optimization for paths is to only create a texture for the original native Path object, and have all copies of that object use that texture. This works in most cases, but sometimes that original path object may get destroyed (when the SDK path object is finalized) while we are still referencing and using that object in the DisplayList code. This causes undefined errors such as crashes and hanging as we iterate through the operations of a destroyed (and garbage-filled) path object. The fix is to use the existing ResourceCache to refcount the original path until we are done with it. Issue #6414050 Analytics Dogfood App crashes reliably on Jellybean Change-Id: I5dbec5c069f7d6a1e68c13424f454976a7d188e9
Diffstat (limited to 'tests/HwAccelerationTest/AndroidManifest.xml')
-rw-r--r--tests/HwAccelerationTest/AndroidManifest.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/HwAccelerationTest/AndroidManifest.xml b/tests/HwAccelerationTest/AndroidManifest.xml
index 786cba3..9e103ac 100644
--- a/tests/HwAccelerationTest/AndroidManifest.xml
+++ b/tests/HwAccelerationTest/AndroidManifest.xml
@@ -658,6 +658,15 @@
</activity>
<activity
+ android:name="PathDestructionActivity"
+ android:label="_PathDestruction">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.LAUNCHER" />
+ </intent-filter>
+ </activity>
+
+ <activity
android:name="TransformsAndAnimationsActivity"
android:label="_TransformAnim">
<intent-filter>