launk / adw-launcher-android

Automatically exported from code.google.com/p/adw-launcher-android
0 stars 0 forks source link

AppWidget's onDisabled() not called when "Widget span config" dialog gets canceled #368

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add a widget, the "Widget span config" dialog will show up
2. The AppWidget's onEnabled() will be called
3. Press on the back button to cancel the dialog
4. The onDisabled is not called, the widget is considered to be placed on the 
home screen

What is the expected output? What do you see instead?
The onDisabled() function should be called to remove the allocation of the 
widget

What version of the product are you using? On what phone? What Android
version?
1.3.4 System CM 1.1

Please provide any additional information below.

I wrote the entire case, with a proposed solution, on my blog:
http://udinic.wordpress.com/2011/12/29/the-widgets-strikes-back/

Original issue reported on code.google.com by udi...@gmail.com on 29 Dec 2011 at 1:16