/* **************************************************************************** * HOW TO DECIDE WHERE YOUR KEY HANDLING GOES. * * If your key handling must happen before the app gets a crack at the event, * it goes in PhoneWindowManager. * * If your key handling should happen in all windows, and does not depend on * the state of the current application, other than that the current * application can override the behavior by handling the event itself, it * should go in PhoneFallbackEventHandler. * * Only if your handling depends on the window, and the fact that it has * a DecorView, should it go here. * ****************************************************************************/
2020/1/21
frameworks/base/core/java/com/android/internal/policy/PhoneWindow.java 的 onKeyDown 開頭有:
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言