am 3d110b23: Make WallpaperService watch the actual display state.

* commit '3d110b239153a6c7423a99f02ef859201205eee2':
  Make WallpaperService watch the actual display state.
This commit is contained in:
Jeff Brown
2014-11-24 17:34:32 +00:00
committed by Android Git Automerger
2 changed files with 41 additions and 31 deletions

View File

@ -49,6 +49,10 @@ public class HandlerCaller {
mCallback = callback;
}
public Handler getHandler() {
return mH;
}
public void executeOrSendMessage(Message msg) {
// If we are calling this from the main thread, then we can call
// right through. Otherwise, we need to send the message to the