The properies object provided in onPropertiesChanged only contains
flag(s) that have been added/deleted/updated.
Bug: 144693310
Test: atest AppsFilterTest
Change-Id: I8b9f90efff83da367189c9b218251c4d777afcee
Add TimeZoneDetector.suggestManualTimeZone() to set the time zone
"manually" and switch the device policy manager code over to using
it.
Add RequiredPermission annotations to TimeZoneDetector while there.
Bug: 140712361
Test: treehugger only
Test: atest services/tests/servicestests/src/com/android/server/devicepolicy/DevicePolicyManagerTest.java
Change-Id: Id247fddfdd793732dd88294ee215eda37cd0be4c
Allow the profile owner on an organization-owned device to call
getWifiMacAddress.
Part of this change is introducing a new DeviceAdminInfo policy,
USES_POLICY_ORGANIZATION_OWNED_PROFILE_OWNER, which can be used
to find out if the admin is either device owner or profile owner
on organization-owned device.
Bug: 138709470
Bug: 145308393
Bug: 145336515
Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.MixedDeviceOwnerTest#testWifi
Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testWifiMacAddress
Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testWifi
Change-Id: Id790408a07b9dd19530563bd2aa9216a7333e863
The original purpose of commit 2652da8 is to avoid an
unnecessary resize after activity relaunched. So it
would be more accurate to only update the last frames
when the window is performing the first layout instead
of every relayout. And in this case the position for
the windows in an embedded display should also be updated
as the initialization.
Bug: 144585233
Fix: 145715291
Test: atest DisplaySizeTest
AccessibilityEmbeddedDisplayTest
Change-Id: Ibf38933099cc73f6f6d3ea8c2afb7070a86a6edc
As Input-routing or Input Method Editor (IME) supported on multi-displays from Q,
user can interact multi-displays with touch and key input.
It could be necessary to consider and prevent a use case that the malicious app
may create in-visible virtual display to steal the window focus or intercept key
or keyboard input through input channel or input connection.
Don't provide display focus to the newly created virtual displays, until the user
interacts with a virtual display, then we give it & receive the display focus.
Bug: 129963294
Test: make sure all MultiDisplay and Window focus related tests pass.
Change-Id: I9bc37695cf6e2e894bf545a69c6cb006666c5539
am: aeab4bda93 -s ours
am skip reason: change_id I619d6ba04cb28830e3995feb02ffcb592ff65818 with SHA1 fa86d5a012 is in history
Change-Id: I335fc017f6d18d039f2c51ce691f614015fd6c72
am: 81748882c8 -s ours
am skip reason: change_id I907f539018c29fc2eb5b13c50d5585a56a7bdc0a with SHA1 c722b456f7 is in history
Change-Id: I495cd266db9274c8957f0e1e414d295e9e3f4594
am: fb289a0e67 -s ours
am skip reason: change_id Ic814707eb8e95370c659c8bce08386f97769ab90 with SHA1 5cef021df9 is in history
Change-Id: I5889bb968157c1bff1b6af81a7d5897524e63f06
am: cead28dcee -s ours
am skip reason: change_id I12b8d338a58c0ffe294137171b8bac7d80a0b776 with SHA1 a2b38c875f is in history
Change-Id: I633ddb21e44bf4b2c5c19c3c3869712f3bf5bd1c
am: 5202828d3c -s ours
am skip reason: change_id I3681043a197e6daeb16dcf506d672bdcf1fc8da8 with SHA1 fde53bb6f1 is in history
Change-Id: Ica862cdc26714810d24f45a1cbe8ce2ec92fc21a
am: 8ddf428f53 -s ours
am skip reason: change_id Ie79ba81bf8972cf30a538c9c1f8d973db2359bbe with SHA1 3436a24625 is in history
Change-Id: I7d7988be753adf7ac7414134f53b8ed299e3c71e
am: 603d7e7d89 -s ours
am skip reason: change_id I764f344b0d430cb49ccccc9f402139ea32e70c92 with SHA1 c5dedead28 is in history
Change-Id: I1fbaf6919700013c7e84ae66996b33be903ae4fc