The same constant is defined today with slightly different names in both
WindowMananagerService and ActivityTaskManagerService. To prevent
proliferation, make a constant in aidl and use it here.
Also, the two constants used to be in either nanoseconds or
milliseconds.
Make all constants in milliseconds because aidl does not support "const
long", and 5 seconds' worth of nanoseconds does not fit into an int.
Bug: 143459140
Test: interact with device after booting
Test: adb shell dumpsys input
Change-Id: Ia9b3f56d8eddcc6f2f0132bac9254655b180837f
Change-Id: If4d40b63c41f6fb54b99d167da8db1924945f3ef
When referring to a client (piece of software), it's better not to use
a personified pronoun, such as "his" or "their". Changed to "the".
Change-Id: I5d79e70a9135d6f1e8da493fcdd50921b9696e31
Test: none (docs-only change)
Bug: 160937339
Modified Java and JNI layer capture functions to match the new
function in SurfaceComposerClient. The Java method will send an args
object instead of individual arguments to SurfaceComposerClient
Test: Layer screenshots in recents
Bug: 162367424
Change-Id: Ib060a0238e47edfc19f6f34a5c6a508fc6c9f7fd
Modified Java and JNI display capture functions to match the new
function in SurfaceComposerClient. The Java method will send an args
object instead of individual arguments to SurfaceComposerClient
Test: display screenshots working
Test: adb shell screencap
Bug: 162367424
Change-Id: Ic8d9cbc626e9ef73300304ce155a50f76f017dfc
Activities can override transition animation when starting or finishing
activity by calling Activity#overridePendingAppTransition. This change
restricts it in a way such that an activity can do it only when the
transition happens within a same task.
Note that this change is guarded by a property, so by default,
activities can still override any transition animation. In order to
restrict it, the following property must be set:
persist.wm.disable_custom_task_animation
Bug: 162066454
Test: atest ActivityTransitionTests
Change-Id: I235adf73af75883d8e943b6f85d841a729f5bb6b
Created builders for each class to make it simpler to add optional
arguments
Test: Builds
Bug: 162367424
Change-Id: I0f06cebe698fe744a1af39dfb623d53c38c21ea6
Add sourcebounds change callback so that A11yFramwork could know
the center. It is also for magnification public API callback
Bug: 161669184
Test: WindowMagnificationControllerTest
Change-Id: I08c1f9c6f9f5eb540d960c89388b93437d79871a
Inline APIs.
* limitations with multiple locales.
* limit on max number of suggestions.
* guidance on managing the order of inline suggestions when inflating.
Fixes: 161486684
Test: atest android.autofillservice.cts.inline
Change-Id: Ia560d48f95730d79bc340ff9eb0cf4a5909bf0d3
Don't return the current view when finding the next or previous view.
Bug: 158492287
Test: atest cts/tests/tests/view/src/android/view/cts/FocusFinderTest.java
atest frameworks/base/core/tests/coretests/src/android/view/FocusFinderTest.java
Change-Id: Ib5c1854d1a13b9469ca55dfbf0be61bead47e29e
(cherry picked from commit 713af5fdd3)
When taking a screenshot for ColorFade, allow the screenshot to capture
secure layers, but ensure the SurfaceControl is also marked as secure.
This is to ensure that the screenshot that contains the secure layer
can't itself be screenshotted.
Also cleaned up some unused SurfaceControl.screenshot methods that are
no longer used due to this change
Fixes: 155744498
Test: Turn screen off with secure layers on screen
Change-Id: I064a93f5210af696d52df21380801134b57acc9f
If TimeoutException occurred, we don't know whether mService.addClient
succeeded. We should call mService.removeClient() to make service to
unregister the client if exists and reset the mServiceClient.
Bug: 156044027
Test: atest CtsAutoFillServiceTestCases
Test: Run adb shell dumpsys -T 60000 activity -v all to see log
Change-Id: I10ce988603f47117d0efddcc014ec51b72d3b3b4