* Sadly, out-of-the-box Miracast support was killed in P, so
we need this to keep Wi-Fi display feature working.
Change-Id: Ieff24313d55a60ca1898430113f0a8b00acfc6a0
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.
Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.
Bug: 73535841
Change-Id: I61299717ab2a6a1fd9a14dde7e1c7961388f722a
* Otherwise, it resulted in Doze service not being activated
when enabling one of the features for the first time after
a clean installation.
Change-Id: I625d9109fb85c970f0e59b1cbcabba7d4375d2f3
Replicate what Google did for SystemUI in this commit.
fabc743bcf
Registering a sensor seems to be an expensive operation,
and we do it on each screen-on event, so moving it to
an asynchronous task looks like a good idea anyway.
By moving all non-essential binder calls of the main thread or to the
next frame, we bring this down to 5ms, such that window animation
and Keyguard animation starts about at the same time.
The interesting part about the ExecutorService:
"Memory consistency effects: Actions in a thread prior to the submission
of a Runnable or Callable task to an ExecutorService happen-before any
actions taken by that task, which in turn happen-before the result is
retrieved via Future.get()."
(from https://developer.android.com/reference/java/util/concurrent/ExecutorService)
Change-Id: I4f37bb9a7dc9d7775d587d4ebd4b6619f3b77e81
* Apply the default Oreo theme and inherit the layouts
from Google for the Settings app, in order to keep
UI consistency.
* Get rid of SettingsDrawerActivity as it no longer fits in
and include the back button in the action bar.
* Kill the icon drawable not only because is a leftover,
but also doesn't really serve any puropose in the new UI.
Change-Id: I53b6d3bb99d63852ba34d71e16ae99f05223569e
* Some apps rely on this and won't work properly if they
can't read this property. See ~ Snapchat.
Change-Id: I737e28f038941e6d18b96ff512f29dbe0ad7b7e4
We support IMS features on carriers not listed in the CarrierConfig,
so let's use the props to enable it everywhere.
Change-Id: Id3ad71d522a22048f7ad86d89695ad262361632d
org.codeaurora.ims has become a priv-app
to acquire some permissions we need to
whitelist the package.
Change-Id: I3f31f949e054cc79f8cff99e66cbcb70f5f0715f
Some telephony modules require access to
platform APIs, i.e. @hide, and hence need
to be white-listed. This change white lists
these packages.
Change-Id: I1dfd9478b59f52350e4e7ecfdb2b80f1178cfd9c
CRs-Fixed: 2219897