Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14562] Android : Missing safeguard from TiUIView's 'doSetClickable'

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.1.0
Fix Version/sn/a
ComponentsAndroid
Labelsandroid, sdk
ReporterMeenakshi Pathak
AssigneeUnknown
Created2013-07-16T10:57:57.000+0000
Updated2018-02-28T20:03:33.000+0000

Description

This line: https://github.com/appcelerator/titanium_mobile/blob/master/android/titanium/src/java/org/appcelerator/titanium/view/TiUIView.java#L1457 causes an exception if "view" is an AdapterView. This issue is noted and dealt with 4 lines later starting here: https://github.com/appcelerator/titanium_mobile/blob/master/android/titanium/src/java/org/appcelerator/titanium/view/TiUIView.java#L1461 The same safeguard should be applied to the first branch of the "if" block.

Comments

No comments

JSON Source