OSDN Git Service

Make Message.setAsynchronous() public.
authorJeff Brown <jeffbrown@google.com>
Wed, 12 Nov 2014 04:21:21 +0000 (20:21 -0800)
committerJeff Brown <jeffbrown@google.com>
Wed, 12 Nov 2014 04:35:58 +0000 (20:35 -0800)
commit9840c07667bb0363c93fb8459e6c08f7e30d5df1
tree697c72a8af464edf67932ec1577b84244fdf6300
parent3f558e7285d8632b81cde4a9f1d0829e02be5fa0
Make Message.setAsynchronous() public.

There are many cases in real world applications where it is desirable
to continue processing messages on the Looper even when most other
messages have been suspended by a synchronization barrier pending
completion of the next drawing frame on vsync.

Internally the framework is able to mark certain messages as being
independent of these higher level synchronization invariants by
flagging them as asynchronous.

This change exposes the existing function and improves on the
documentation so that it is clearer what is meant by asynchronous.

Bug: 18283959
Change-Id: I775e4c95938123a364b21a9f2c39019bf37e1afd
api/current.txt
core/java/android/os/Handler.java
core/java/android/os/Message.java