(1/n DisplayArea Sibling Roots)
Instead of adding magnification window to the overlay containers in
DisplayContent, move it to be part of the policy created display
hierarchy.
DA.Root
- DA for FEATURE_WINDOWED_MAGNIFICATION
- BELOW_TASKS
- TDA
- ABOVE_TASKS (below TYPE_ACCESSIBILITY_MAGNIFICATION_OVERLAY)
- DA.Tokens for TYPE_ACCESSIBILITY_MAGNIFICATION_OVERLAY
- Magnification overlay windows
- ABOVE_TASKS (DA.Tokens's for layers above
TYPE_ACCESSIBILITY_MAGNIFICATION_OVERLAY)
Fix: 156424590
Test: manual: magnification and screen rotation
Test: go/wm-smoke (manual)
Change-Id: I959c0a882b0a0e9a9dbb44ad62a3c65c1dfe3c06
Add private flag to WindowManager.LayoutParams. If the flag is set,
check if caller has INTERNAL_SYSTEM_WINDOW permission.
Bug: 155781676
Test: atest WindowManagerServiceTests
Change-Id: I70151697cc01e8427129f951f0ebadc4805b2d56
In preparation for DeviceIdle mainlining, we have to define stable APIs
for other modules and the rest of the system to use. This introduces a
stable API for the exitIdle call.
Bug: 142281756
Bug: 142393582
Test: atest NotificationManagerTest
Test: atest PhoneWindowManagerTest
Change-Id: I79ea2b34d9abb2bb44575e98cc923d6383419230
Use a scale factor and fixed Stevens' coefficient value for gamma
correction. Scale factors within [0,1) will scale down the effect
intensity/amplitude, and values larger than 1 will scale it up.
The scale up function also makes sure it never scales amplitude
above MAX_AMPLITUDE, or relative intensity value above 1.
New implementation can be visualized here:
https://colab.corp.google.com/drive/1rGCBWXyUe7NePaSLnO-qkeFw8h0DkWJA?usp=sharing
This cl also moves the #resolve and #scale methods to superclass
VibrationEffect (using @hide annotation). This will force every new
effect to also define both behaviors (or explicitly ignore them),
and thus avoid cases where the VibratorService skips scaling new
effects by accident.
Fix: 154712843
Test: atest FrameworksCoreTests:VibrationEffectTest
Change-Id: Ib46e609663aec60a49a8827c90df144caaf7c926
Add API to allow inclusion of device base properties to the
attestation certificate generated with a Key in Keystore.
Test: atest KeyAttestationTest
Bug: 152945378
Change-Id: Iaf282709f800501aa4c988ebf51cf3238583f9b6
Add a package manager flag so that apps can programmatically query
whether the device have system interface to support the Controls API
Bug: 156096063
Test: manual
Change-Id: I2dab2ecb762b59308c51615137f89733ff42caeb
Chrome will be removing the Application Cache API in future; deprecate
the APIs in WebView which allow Android apps to enable it.
Test: make offline-sdk-docs
Fixes: 156266477
Change-Id: I0feff5289706b5f7985013a18d9cf0e3e6b3ba78
Add READ_PRIVILEGED_PHONE_STATE to TestApi in order to support
SplitPermissionsSystemTest.
Bug: 156297292
Test: atest SplitPermissionsSystemTest
Change-Id: I67520ba9f8bf25b759f6552a332bdebf67f4c7e6
Added a new network capability TEMOPORARILY_NOT_METERED to support
the case that a network can temporarily become unmetered. This
allows carriers to deploy unmetered 5G network. When devices
camp on 5G network, this capability will be dynamically added
to the network and will be removed once leaving 5G coverage.
Bug: 153081494
Test: Manual
Change-Id: I10e26cb0852e67f614e7b9c4e49f95e078602e21
Merged-In: I10e26cb0852e67f614e7b9c4e49f95e078602e21
* changes:
Make sure to handle exceptions for setDataEnabled
Revert^2 "Support api to control data by thermal service" ag/11382713 fixes exception issue with original change. 94b46ef784
Bug: 154628299
Test: I20d4f94a145474394bc660368d9ddd1897001f4a
This allows displaying a new Bitmap without paying the cost of creation
and GC of the BitmapDrawable.
Non-SDK-API usage is low, but this is useful. Previously it was @hide
and used by the system. Once BitmapDrawable is in a mainline module,
the system can no longer access @hide methods.
Change-Id: I6a24b3c5870b0ee7d171aab86257896261b4b8c7
This CL adds isDreaming to DreamMaanger and changes the way it starts a
dream to use IDreamManager.dream()
DreamManager is only used for testing. So far it has been using the
DreamManagerInternal.testDream() API to start the dream. This restricts
the amount of verification that can be done in the dream tests because
it doesn't put the device in a dreaming state -
IDreamManager.isDreaming() is always false.
IDreamManager.dream() puts the device in a dreaming state and enables
better testing.
Bug: 152994058
Test: atest DreamManagerServiceTests
Change-Id: Id4d947e83eabcafa9724764b8d063357c5f2cb49
Revert "CTS test for api to control data by thermal service"
Revert "Support api to control data by thermal service"
Revert "Support api to control data by thermal service"
Revert submission 11171206-setDataEnabled
Bug: 155765311
Reason for revert: wembley gets into boot loop on reboot due to this code
Reverted Changes:
I3cdab9b04:Support api to control data by thermal service
I716cf6c45:CTS test for api to control data by thermal servic...
Ic5634e6f7:Support api to control data by thermal service
I763c422ba:Support api to control data by thermal service
Change-Id: If023dc8e106650b63706c0a5df24850c1260f785
Add addServiceAnnouncement to MbmsDownloadSession, allowing apps to add
service announcements from group call servers and receive information
about available files via the MbmsDownloadSession API surface.
Fixes: 144368478
Test: CTS
Change-Id: I760400f56219879fe71d0115042a3be2f83cef90
Merged-In: I760400f56219879fe71d0115042a3be2f83cef90