Merge change Icccbd889 into eclair

* changes:
  Fix broken handling of the BACK key in PopupWindow. Needed by Launcher2.
This commit is contained in:
Android (Google) Code Review
2009-11-11 18:52:07 -08:00

View File

@@ -1328,7 +1328,7 @@ public class PopupWindow {
getKeyDispatcherState().startTracking(event, this);
return true;
} else if (event.getAction() == KeyEvent.ACTION_UP
&& event.isTracking() && !event.isCanceled()) {
&& getKeyDispatcherState().isTracking(event) && !event.isCanceled()) {
dismiss();
return true;
}