diff --git a/Resources/ui/common/baseui/window_properties.js b/Resources/ui/common/baseui/window_properties.js index ef94a61f..2dcf074e 100644 --- a/Resources/ui/common/baseui/window_properties.js +++ b/Resources/ui/common/baseui/window_properties.js @@ -110,12 +110,6 @@ function win_props(_args) { var win2 = null; buttonLayout.addEventListener('click', function() { - if(Ti.Platform.osname == 'blackberry') { - Ti.BlackBerry.createToastNotification({ - message: 'Test invalid for BlackBerry' - }).show(); - return; - } if (layout) { win1 = Titanium.UI.createWindow({ @@ -154,7 +148,11 @@ function win_props(_args) { layout=true; } }); - win.add(buttonLayout); + // Layout test is not valid for BlackBerry or Android + var osname = Ti.Platform.osname; + if (osname != 'blackberry' && osname != 'android') { + win.add(buttonLayout); + } // // TOGGLE BORDER PROPERTIES diff --git a/tiapp.xml b/tiapp.xml index e2bd5124..002af258 100644 --- a/tiapp.xml +++ b/tiapp.xml @@ -8,9 +8,8 @@ true true - true dp - 3.3.0.GA + 3.4.0 com.appcelerator.kitchensink KitchenSink 3.3.0 @@ -77,7 +76,7 @@ run_when_backgrounded access_sms_mms - +