Commit Graph

104994 Commits

Author SHA1 Message Date
TreeHugger Robot
596d8a2ea6 Merge "Ignore exceptions when investigating failure reasons" into rvc-dev am: d907c49479
Change-Id: I253f0e45b932a2fdbd5f360611a9929b4a2ed216
2020-04-21 22:28:29 +00:00
TreeHugger Robot
d907c49479 Merge "Ignore exceptions when investigating failure reasons" into rvc-dev 2020-04-21 22:22:37 +00:00
Wale Ogunwale
089608a0a3 Merge "Allow CTS test to control organized tasks" into rvc-dev am: 201af5078f
Change-Id: I43787a43ea79d506ece2358a00fb952688fe34e6
2020-04-21 22:15:45 +00:00
Wale Ogunwale
201af5078f Merge "Allow CTS test to control organized tasks" into rvc-dev 2020-04-21 22:01:40 +00:00
Makoto Onuki
5890360562 Ignore exceptions when investigating failure reasons
Fix: 154428500
Test: boot
Test: code inspection
Change-Id: I2a69a58aaa43617f40bc52fd06cba730faa93672
2020-04-21 13:19:41 -07:00
Taran Singh
44f24a3d41 Merge "Fix Ime consumer isRequestedVisible" into rvc-dev am: 8386c222c9
Change-Id: I5736b5d35c3998af6052b7aecbca8e0af3423a61
2020-04-21 20:12:15 +00:00
Taran Singh
8386c222c9 Merge "Fix Ime consumer isRequestedVisible" into rvc-dev 2020-04-21 20:11:13 +00:00
TreeHugger Robot
c92f564c38 Merge "Add currentUiModeSupportsErrorDialogs() into ActivityTaskManager." into rvc-dev am: 6b74050d48
Change-Id: I2e6738265d5df69e1e6afaaf1355282fdff5b334
2020-04-21 18:50:56 +00:00
TreeHugger Robot
6b74050d48 Merge "Add currentUiModeSupportsErrorDialogs() into ActivityTaskManager." into rvc-dev 2020-04-21 18:35:44 +00:00
Miranda Kephart
b041c1a837 Merge "Add screenshots logging" into rvc-dev am: 44cc1e274b
Change-Id: I399d940c094ceab6c9996449505499bff71493a8
2020-04-21 17:08:15 +00:00
Miranda Kephart
44cc1e274b Merge "Add screenshots logging" into rvc-dev 2020-04-21 16:58:54 +00:00
Yuncheol Heo
5d9b2710da Add currentUiModeSupportsErrorDialogs() into ActivityTaskManager.
The method will be used in AnrTests to check if the system can support ANR Dialog or not.

Bug: 149510025
Test: atest AnrTests
Change-Id: I7a78be06fcf3c4882931aaea1d330b2cebdc2d84
2020-04-21 16:24:22 +00:00
Martijn Coenen
074f904e45 Merge "Don't update quota for non-emulated volumes." into rvc-dev am: 29d6a24fbf
Change-Id: Ic22e1a5d81a1d43d7f623fd494c2602b053569c3
2020-04-21 12:42:42 +00:00
Martijn Coenen
29d6a24fbf Merge "Don't update quota for non-emulated volumes." into rvc-dev 2020-04-21 12:22:48 +00:00
Martijn Coenen
1b981a3aea Don't update quota for non-emulated volumes.
Since they don't support quota. Also, don't throw an exception if we
can't find a volume for the passed-in path, but warn instead: the volume
may be unstable and have disappeared by the time we do this.

Bug: 152618535
Test: boot emulated image; verify no crashes when inserting media on
      public storage
Change-Id: I0e6b8f5c9f9f35b80b7bd5f6255a70e210a30474
2020-04-21 12:51:47 +02:00
Jason Hsu
1bd8509d0c Merge "Return empty for empty string in AccessibilityShortcutInfro#loadHtmlDescription" into rvc-dev am: 9e0ada13c8
Change-Id: I4dca3bb4b7678e18614446e87a3b3f090fcb000c
2020-04-21 09:44:56 +00:00
Jason Hsu
8b76ed3ce0 Merge "Allow one of description or htmlDescription attribute provided for AccessibilityShortcutInfo" into rvc-dev am: 61f191f198
Change-Id: Iacae97d8313b4b0b357490781f0017f051080491
2020-04-21 09:44:20 +00:00
Jason Hsu
9e0ada13c8 Merge "Return empty for empty string in AccessibilityShortcutInfro#loadHtmlDescription" into rvc-dev 2020-04-21 09:41:59 +00:00
Jason Hsu
61f191f198 Merge "Allow one of description or htmlDescription attribute provided for AccessibilityShortcutInfo" into rvc-dev 2020-04-21 09:41:14 +00:00
TreeHugger Robot
88c6b9d9ac Merge "Support multiple requiredSystemProperty in overlay" into rvc-dev am: ce0f9f7628
Change-Id: I3670339eac954ace328d6a3b07e2978b73e150e1
2020-04-21 07:25:04 +00:00
TreeHugger Robot
ce0f9f7628 Merge "Support multiple requiredSystemProperty in overlay" into rvc-dev 2020-04-21 07:05:32 +00:00
Taran Singh
335ffd017c Fix Ime consumer isRequestedVisible
isRequestedVisible() was mistakenly missed from previous
commit I93dd5790e1fb3d7841ad1323a45cd3bae2d6e9b8

Fix: 154440912
Test: atest ImeInsetsControllerTest WindowInsetsControllerTests
Change-Id: I958fc5747382109aa2f21bc1067a28746e7242d8
2020-04-20 17:19:46 -07:00
TreeHugger Robot
be01ff1e43 Merge "Check for null mBlastBufferQueue" into rvc-dev am: afe3e11c65
Change-Id: Ic8fa247364b2f6bf0ed00de07dde6f47ce995b89
2020-04-20 23:28:01 +00:00
TreeHugger Robot
afe3e11c65 Merge "Check for null mBlastBufferQueue" into rvc-dev 2020-04-20 23:22:49 +00:00
Sally Yuen
2e4c291096 Merge "Support sending KEYCODE_HEADSETHOOK KeyEvent from an a11y service" into rvc-dev am: fdea871287
Change-Id: Id633c979a0e98f08408f2f601a97eba09cdaf56a
2020-04-20 22:35:56 +00:00
Sally Yuen
fdea871287 Merge "Support sending KEYCODE_HEADSETHOOK KeyEvent from an a11y service" into rvc-dev 2020-04-20 22:31:04 +00:00
Julia Reynolds
896d10366d Merge "Update default for conversations in DND" into rvc-dev am: 03d5c91379
Change-Id: Ib753e997d51c382c89b07019b6c6494e135ccb6e
2020-04-20 19:50:48 +00:00
chaviw
ab581a4c04 Check for null mBlastBufferQueue
If there is a sync transaction, but blast is not enabled,
mNextDrawUseBLASTSyncTransaction will be true, but mBlastBufferQueue
will be null. This will cause a NPE when trying to call
mBlastBufferQueue.setNextTransaction

Test: Use sync transaction without blast
Fixes: 154527936
Change-Id: Ibff2de7fc7460f882acaceb0182c68ea4b05afb7
2020-04-20 12:48:19 -07:00
Julia Reynolds
03d5c91379 Merge "Update default for conversations in DND" into rvc-dev 2020-04-20 19:44:13 +00:00
Mark Renouf
19be640d6f Merge "Scroll Capture Framework" into rvc-dev am: 03f9a814a5
Change-Id: Ie9cc6da06f1d900a3750750df9f70fa4a9868d52
2020-04-20 19:23:54 +00:00
sallyyuen
867c6d2786 Support sending KEYCODE_HEADSETHOOK KeyEvent from an a11y service
Add a private global action to be made public in S. A service can
trigger the event by calling performGlobalAction(10) in R.

Note: Currently 10 is being used by SystemActions for the Accessibility
shortcut. Update ag/10921262 to avoid a conflict.

Bug: 154038741
Test: Tested with modified TalkBack and Youtube play/pause
Change-Id: I3ca5d25948bfb3eb8520030484cb466ec7188784
2020-04-20 12:21:21 -07:00
Mark Renouf
03f9a814a5 Merge "Scroll Capture Framework" into rvc-dev 2020-04-20 19:20:13 +00:00
TreeHugger Robot
23d07666b4 Merge "Apply intensity settings to composed vibration effects" into rvc-dev am: 896cdcca42
Change-Id: I38e330bd5728b767525b5d2c8ef4133a92c54c8b
2020-04-20 18:29:12 +00:00
TreeHugger Robot
896cdcca42 Merge "Apply intensity settings to composed vibration effects" into rvc-dev 2020-04-20 18:11:30 +00:00
Julia Reynolds
96c9c4f967 Update default for conversations in DND
Including a one time reset of dogfooders/dev preview users

Test: manual - value is reset on first boot
Test: manual - change value, reboot, value is maintained
Fixes: 154234926
Change-Id: I5e4b338d6d7cc30dec1b12d31c3f1461c6f664cc
2020-04-20 13:52:53 -04:00
Stanislav Zholnin
0807ec1f69 Merge "Allow listening for noted Ops if app is sampled for Stack trace collection." into rvc-dev am: ae4605eee8
Change-Id: I4b25c315fc7989981246c360e70b3775edde1524
2020-04-20 15:28:12 +00:00
Michael Wachenschwanz
8c4540ffcf Merge "Add permission check to UsageStatsManager#isAppInactive" into rvc-dev am: dcc388ab44
Change-Id: I0ee8681752311979bf2b8c6e569dff4a42ba9a7d
2020-04-20 15:27:38 +00:00
Stanislav Zholnin
ae4605eee8 Merge "Allow listening for noted Ops if app is sampled for Stack trace collection." into rvc-dev 2020-04-20 15:21:10 +00:00
Michael Wachenschwanz
dcc388ab44 Merge "Add permission check to UsageStatsManager#isAppInactive" into rvc-dev 2020-04-20 15:15:35 +00:00
Mark Renouf
a927929d99 Scroll Capture Framework
This is an implementation of long screenshots supporting
interactive, incremental capture of scrolling content using
a cooperative API between the app process and the system.

Design goals:

 - Provide for tile based incremental screenshots of scrolling content
 - Support existing apps without developer action
 - Provide support for non View-based Apps & UI toolkits

Bug: 148131831
Test: atest \
      FrameworksCoreTests:android.view.ScrollCaptureClientTest \
      FrameworksCoreTests:android.view.ScrollCaptureTargetResolverTest \
      FrameworksCoreTests:com.android.internal.view.ViewGroupScrollCaptureTest \
      FrameworksCoreTests:android.view.ScrollViewCaptureHelperTest \
      WmTests:com.android.server.wm.DisplayContentTest

Merged-In: I6c66a623faba274c35b8fa857d3a72030a763aea
Change-Id: I6c66a623faba274c35b8fa857d3a72030a763aea
2020-04-20 15:07:59 +00:00
Lais Andrade
bf7a301ab0 Apply intensity settings to composed vibration effects
Use the existing maxAmplitude and gamma adjustment values to apply the
relative scaling of default vibration intensity settings and user
settings on top of the PrimitiveEffect#scale value.

As a consequence, the relative scaled amplitude of a OneShot or Waveform
vibration effect should match the scaled PrimitiveEffect#scale value.

Fix: 154089649
Test: atest FrameworksCoreTests:VibrationEffectTest
Change-Id: I3ca0042a42675289a2ed8110c9dc3798055ebf4a
2020-04-20 15:02:15 +00:00
jasonwshsu
066a544d06 Return empty for empty string in AccessibilityShortcutInfro#loadHtmlDescription
* Follow the behavior to return empty if given string is empty
	- AccessibilityServiceInfo#loadDescription
	- AccessibilityServiceInfo#loadHtmlDescription
	- AccessibilityShortcutInfo#loadDescription
	- AccessibilityShortcutInfo#loadHtmlDescription

Bug: 154092127
Test: manual test
Change-Id: I77f455945c569c81cb00127a7913bae4db1b3d1c
2020-04-20 14:57:40 +00:00
Linus Tufvesson
7745b320f3 Merge "Make ActivityViews backing virtual display private" into rvc-dev am: 3bfec32633
Change-Id: Ieb031f9be5e1813a1196a7d91d344543355ec0da
2020-04-20 14:04:09 +00:00
Linus Tufvesson
3bfec32633 Merge "Make ActivityViews backing virtual display private" into rvc-dev 2020-04-20 14:00:28 +00:00
jasonwshsu
72dfaf89d7 Allow one of description or htmlDescription attribute provided for AccessibilityShortcutInfo
* Only two of them are empty should throw parser error

Bug: 154092127
Test: manual test
Change-Id: I038dbb054f4302b9f5e2c3246fb9539c77533339
2020-04-20 21:59:24 +08:00
Jeongik Cha
9ccdd32880 Support multiple requiredSystemProperty in overlay
As-is: Only one requiredSystemProperty is allowed
To-be: It supports several requiredSystemProperty

Here is format for multiple fields.
  android:requiredSystemPropertyName="rw.num,rw.char"
  android:requiredSystemPropertyValue="1,a"

Test: m
Test: Make two overlay with different condition
      Check if it works properly depending on condition
      If there is no overlay package matching the condition, both aren't
      applied

Bug: 137628879
Merged-In: I4c8c4a1304dc52d6568767d90e3dcbf6acef024a
(cherry picked from commit 5e6a87013f)
Change-Id: If3765218c96f8922c155e18e99b0f4bb6a032ff1
2020-04-20 08:11:45 +00:00
Joanne Chung
a922f821a8 Merge "Fix app crash if the selection is from reverse direction." into rvc-dev am: 4661207775
Change-Id: I8fca05942976ccf417763e4df7909b55cc47d20e
2020-04-20 06:10:15 +00:00
Joanne Chung
4661207775 Merge "Fix app crash if the selection is from reverse direction." into rvc-dev 2020-04-20 05:55:46 +00:00
Wale Ogunwale
20ab6d4999 Allow CTS test to control organized tasks
Changes to allow CTS test to control organized task so we can have the
tests run the same way sys-ui is driving things now. Control is given
back to sys-ui once the test is done running.

Bug: 149338177
Test: atest CtsWindowManagerDeviceTestCases:SplitScreenTests
Change-Id: I74a03ee3411f5b10ea4e26c1cc3c663dc394dd97
2020-04-19 19:09:33 -07:00
TreeHugger Robot
1bfa924804 Merge "Try to reland Ib3ee007bc" into rvc-dev am: 7f801fe0d1
Change-Id: I554f07ee937c1afbfb294e3de718e01aee4e2879
2020-04-20 00:42:44 +00:00