Skip to content

Commit

Permalink
Merge pull request #4199 from pingwang2011/timob-13559_3_1_X
Browse files Browse the repository at this point in the history
timob-13559_3_1_X: Android: the bubbleParent property is not set correctly during creation
  • Loading branch information
hieupham007 committed Apr 25, 2013
2 parents 4c1e324 + 32ea051 commit 90aa50e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,9 @@ public void handleCreationDict(KrollDict dict)
return;
}

if (dict.containsKey(TiC.PROPERTY_BUBBLE_PARENT)) {
bubbleParent = TiConvert.toBoolean(dict, TiC.PROPERTY_BUBBLE_PARENT, true);
}
properties.putAll(dict);
handleDefaultValues();
handleLocaleProperties();
Expand Down
5 changes: 5 additions & 0 deletions android/titanium/src/java/org/appcelerator/titanium/TiC.java
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,11 @@ public class TiC
*/
public static final String PROPERTY_BUTTON = "button";

/**
* @module.api
*/
public static final String PROPERTY_BUBBLE_PARENT = "bubbleParent";

/**
* @module.api
*/
Expand Down

0 comments on commit 90aa50e

Please sign in to comment.