Merge commit 'fb745d27901a77d3215f32adf426e5f864a1aa01' into eclair-mr2-plus-aosp * commit 'fb745d27901a77d3215f32adf426e5f864a1aa01': Fix broken handling of the BACK key in PopupWindow. Needed by Launcher2.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user