Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timob-12961: Android: TiNinePatchHelper crash after upgrading to 3.0.2 #3939

Merged
merged 2 commits into from Mar 12, 2013

Conversation

pingwang2011
Copy link
Contributor

@ghost ghost assigned ayeung and hieupham007 Mar 6, 2013
@ayeung
Copy link
Contributor

ayeung commented Mar 7, 2013

Functional test failed. Looks like it no longer detects nine-patch images correctly after this change. I left a test case in the jira ticket with the nine-patch image.

@pingwang2011
Copy link
Contributor Author

Updated. Ready for review again.

@ayeung
Copy link
Contributor

ayeung commented Mar 12, 2013

Code reviewed and functionally tested. Request Accepted.

ayeung pushed a commit that referenced this pull request Mar 12, 2013
timob-12961: Android: TiNinePatchHelper crash after upgrading to 3.0.2
@ayeung ayeung merged commit 2f018f7 into tidev:master Mar 12, 2013
@atrbx5
Copy link

atrbx5 commented Sep 22, 2013

start having this issue after using 9path for window background sdk 3.1.2 android platform 2.3 / 4
it happens very quickly after opening tabgroup 2 times
or after 5 min not very active using the app

09-22 22:48:12.858: E/TiApplication(11358): (main) [18577,433187] Sending event: exception on thread: main msg:java.lang.OutOfMemoryError: bitmap size exceeds VM budget; Titanium 3.1.2,2013/08/14 12:46,5ceaff8
09-22 22:48:12.858: E/TiApplication(11358): java.lang.OutOfMemoryError: bitmap size exceeds VM budget
09-22 22:48:12.858: E/TiApplication(11358): at android.graphics.Bitmap.nativeCreate(Native Method)
09-22 22:48:12.858: E/TiApplication(11358): at android.graphics.Bitmap.createBitmap(Bitmap.java:507)
09-22 22:48:12.858: E/TiApplication(11358): at org.appcelerator.titanium.util.TiNinePatchHelper.cropNinePatch(TiNinePatchHelper.java:125)
09-22 22:48:12.858: E/TiApplication(11358): at org.appcelerator.titanium.util.TiNinePatchHelper.process(TiNinePatchHelper.java:49)
09-22 22:48:12.858: E/TiApplication(11358): at org.appcelerator.titanium.util.TiFileHelper.loadDrawable(TiFileHelper.java:306)
09-22 22:48:12.858: E/TiApplication(11358): at org.appcelerator.titanium.util.TiUIHelper.buildBackgroundDrawable(TiUIHelper.java:508)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants