diff options
author | Chalard Jean <jchalard@google.com> | 2018-01-30 22:41:41 +0900 |
---|---|---|
committer | Chalard Jean <jchalard@google.com> | 2018-02-14 15:14:41 +0900 |
commit | 804b8fb96854555f16946924aec80c4b450bafb3 (patch) | |
tree | 8f10489075a133a33eb7f6adf9f0f0278ce7bc42 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | f19db374092738928b2b0c36aaf144c303c8874c (diff) |
Publish FOREGROUND and add NOT_SUSPENDED capabilities.
NOT_SUSPENDED and FOREGROUND are capabilities that need to
be public so as to reach feature parity with what information
can be gotten through the use of CONNECTIVITY_ACTION and
synchronous calls to ConnectivityManager. This change makes
them public, and wires up the NOT_SUSPENDED capability.
This deprecates in effect the old onSuspended and onResumed
callbacks, but these have never been public.
This also converts the onAvailable path from a multiple
binder call design to a simpler, single binder call. This
is only for internal convenience
Test: runtest frameworks-net
Test: cts
Test: also manual testing
Change-Id: I6ea524bb361ecef0569ea2f9006c1e516378bc25
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions