diff options
author | Erik Kline <ek@google.com> | 2016-08-31 15:59:08 +0900 |
---|---|---|
committer | Erik Kline <ek@google.com> | 2016-09-02 13:03:44 +0900 |
commit | a457ebbda6c84d5f6abd055828ef02ceaf809c08 (patch) | |
tree | 85f7b87b6e7a693224b963a9597cb570e747e2a0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | bdb81a0a7f9ab18073c2fd0b120feee724450d50 (diff) |
Have WakeupMessage call Handler#dispatchMessage()
Handler has no fewer than three ways by which a message might be
handled:
[1] the msg itself contains a callback (msg.callback.run())
[2] the Handler was instantiated with a Handler.Callback
(mCallback.handleMessage(msg))
[3] the Handler instance was a subclass and could have
overridden handleMessage()
Handler#dispatchMessage() tries to find the correct way to dispatch
a message, check the above in the above order.
Bug: 21859053
Change-Id: I284cf7ace93af167d95d13b297ec42d4bed15992
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions