Steps To Reproduce:
1. Use the following code in the app.js:
var win = Ti.UI.createWindow({
title: "Test"
});
var button = Titanium.UI.createButton({
title: 'Hello',
top: 10
});
button.addEventListener('click',function(e)
{
Titanium.API.info("You clicked the button");
});
win.addEventListener('click',function(){
Ti.API.info("You clicked the window");
});
win.addEventListener('focus',function(){
Ti.API.info("Window was focussed");
});
win.add(button);
win.open();
2. Build the app for android 6.0 device/emulator.
Actual Results:
1. None of the eventlisteners are fired.
2. The listeners are fired on android 5.1.1.
Expected Results:
1. The eventlisteners should fire on android 6.0