Commit Graph

13750 Commits

Author SHA1 Message Date
Benedict Wong
d84c77544b Merge "Add methods for IKEv2/IPsec test mode profiles" am: f44b90fdc4 am: 8b0b9d8a26
Change-Id: I353d999ebcdd108a900abfe20be232e83147b6d2
2020-05-15 02:51:43 +00:00
Benedict Wong
f44b90fdc4 Merge "Add methods for IKEv2/IPsec test mode profiles" 2020-05-15 02:18:02 +00:00
Antoan Angelov
a1d2a8d9cc Merge "Initialize workProfileUserHandle before initial check for work tabs" into rvc-dev am: b98da91c63
Change-Id: I9c6336d8060b1f53834752b95dfa1170d2a96f16
2020-05-13 18:19:25 +00:00
Antoan Angelov
b98da91c63 Merge "Initialize workProfileUserHandle before initial check for work tabs" into rvc-dev 2020-05-13 18:06:06 +00:00
Miranda Kephart
2be49604d1 Merge "Fix NPE in ScreenshotHelper" into rvc-dev am: a4b9474647
Change-Id: I4f5eefd73aec60b2f4606e7bb18916d56384ebc6
2020-05-13 16:23:58 +00:00
Miranda Kephart
a4b9474647 Merge "Fix NPE in ScreenshotHelper" into rvc-dev 2020-05-13 16:20:14 +00:00
arangelov
8519218a73 Initialize workProfileUserHandle before initial check for work tabs
The shouldShowTabs() call checks for the existence of the work
profile user, which is actually initialized after that call.

Fixes: 156462936
Test: manual
Test: atest ChooserActivityTest
Test: atest ResolverActivityTest
Change-Id: Iff840826f7b008420f1a254c1044c05c27764d0c
2020-05-13 13:59:22 +00:00
TreeHugger Robot
a64fc14b85 Merge "Hide the top intent resolver divider when there are tabs" into rvc-dev am: f4fa3eb9fa
Change-Id: I2800dccca0869637cf87a6f1354ca3cea4b258c4
2020-05-13 12:54:55 +00:00
TreeHugger Robot
f4fa3eb9fa Merge "Hide the top intent resolver divider when there are tabs" into rvc-dev 2020-05-13 12:41:43 +00:00
Benedict Wong
63d2bfd257 Add methods for IKEv2/IPsec test mode profiles
This change adds the ability for IKEv2/IPsec VPN profiles to run on Test
Networks. If enabled, the IKEv2/IPsec VPN profiles will request ONLY
test networks.

Bug: 148582947
Test: FrameworksNetTests passing
Test: Added for testing
Change-Id: I2511b39b27a1e29ae97907cdb12728d13fb1628f
2020-05-12 22:55:55 -07:00
TreeHugger Robot
1e68d0e33c Merge "When android:ui process receives callback result of AppPredictionService sortTargets, directly handles result instead of sending to Handler which takes extra time to dispatch messages." into rvc-dev am: 58c274fdcb
Change-Id: I0e62291acfcdee38d2ac4a5e418a2a5550508257
2020-05-13 01:01:10 +00:00
TreeHugger Robot
58c274fdcb Merge "When android:ui process receives callback result of AppPredictionService sortTargets, directly handles result instead of sending to Handler which takes extra time to dispatch messages." into rvc-dev 2020-05-13 00:57:28 +00:00
Beverly Tai
574fbd1410 Merge "Inject LockPatternUtils into KeyguardUpdateMonitor" into rvc-dev am: 3fb4151b06
Change-Id: Ic4225ac0d4cbbdbfd6ca0c048302a74f9715b896
2020-05-12 22:58:50 +00:00
Beverly Tai
3fb4151b06 Merge "Inject LockPatternUtils into KeyguardUpdateMonitor" into rvc-dev 2020-05-12 22:40:44 +00:00
TreeHugger Robot
4dca85b87f Merge "Add OWNERS for display, haptics, input and power" into rvc-dev am: f30c225fcb
Change-Id: Id6ab3fe424d9914f1ec54c0f9a4684578ed89c0b
2020-05-12 20:28:17 +00:00
TreeHugger Robot
f30c225fcb Merge "Add OWNERS for display, haptics, input and power" into rvc-dev 2020-05-12 20:17:39 +00:00
Michael Wright
2e7e81c950 Add OWNERS for display, haptics, input and power
Bug: 156349083
Test: N/A
Change-Id: Ia8afccfc2e470095ae3d52c827c0ac78b7c120ae
2020-05-12 19:11:13 +01:00
Miranda Kephart
cc92b9c370 Fix NPE in ScreenshotHelper
Check for null before unbinding the screenshot process.

Test: manual
Bug: 155726862
Change-Id: Ica1cc521b6a510b5e15e42e1e2a87ebf613a53aa
2020-05-12 13:47:33 -04:00
Beverly
f882ee2164 Inject LockPatternUtils into KeyguardUpdateMonitor
For better testability of KeyguardUpdateMonitor. We don't actually want
to register callbacks to the real lock settings. But if we ever do in
tests, we make sure to cleanup the callbacks in
KeyguardUpdateMonitor.destroy().

Test: atest SystemUITests
Fixes: 156230507
Change-Id: I2548c15da29ef5a15f6d3b512fbfd344ca2bd355
2020-05-12 12:59:13 -04:00
Menghan Li
6a7ce20a46 Merge "Refines volume key shortcut confirm dialog strings" into rvc-dev am: 084b2de544
Change-Id: I3773e65872edd6d1be0bd273b1520faddf3fd0f8
2020-05-12 16:21:59 +00:00
Menghan Li
084b2de544 Merge "Refines volume key shortcut confirm dialog strings" into rvc-dev 2020-05-12 16:10:51 +00:00
menghanli
3cba1dc1c5 Refines volume key shortcut confirm dialog strings
- Provide more clear content for single and multiple services are
enabled.
- Avoid non-a11y users accidentally turning shortcut on without
reading this carefully. Hence we put "don't turn on" as the
primary action.

Bug: 155249323
Bug: 138582063
Test: atest AccessibilityShortcutControllerTest
Change-Id: I1c391bb0516bcebfbf6161b94cc0c0b80e0bb72f
2020-05-12 16:05:50 +00:00
Anna Trostanetski
b4a8ebd014 Merge "Remove atrost (and dbrazdil) from OWNERS files." am: 06e2fe837a am: 389fa5ce4f
Change-Id: I43430577015ddbcd5aabb10794d250a960eb5def
2020-05-12 16:03:40 +00:00
Abhijeet Kaur
d0772d278e Merge "Add manage mode workflow for ExternalStorageProvider" into rvc-dev am: e0ae189f8a
Change-Id: I3c32ac61756b91b68c5eb5c87450542a58734d5a
2020-05-12 14:42:26 +00:00
Abhijeet Kaur
e0ae189f8a Merge "Add manage mode workflow for ExternalStorageProvider" into rvc-dev 2020-05-12 14:39:19 +00:00
atrost
9cd0ba571c Remove atrost (and dbrazdil) from OWNERS files.
Test: none
Change-Id: If82422229d1b4cbed5e72d1c9042bd6a38be54e5
2020-05-12 12:36:02 +01:00
Alex Kershaw
760754ec61 Hide the top intent resolver divider when there are tabs
Fixes: 155174577
Test: manual
Change-Id: If35f4902e793767cbd38e1f5770d55c4e7b22872
2020-05-12 12:02:42 +01:00
Antoan Angelov
eee917a2e4 Merge "Don't show layout with default if in tabbed view" into rvc-dev am: ff779f6d8e
Change-Id: Ie262b8b5b869df1116902175e98ce102b5b92d94
2020-05-11 15:05:05 +00:00
Antoan Angelov
ff779f6d8e Merge "Don't show layout with default if in tabbed view" into rvc-dev 2020-05-11 14:49:18 +00:00
Abhijeet Kaur
553625de0a Add manage mode workflow for ExternalStorageProvider
In Scoped Storage world, access to "Android/data" style directories are
hidden for privacy reasons. Allow ExternalStorageProvider to show these
hidden files when in manage mode.

Bug: 150366834
Test: Android/data and Android/obb is visible from Files App, but are
hidden in Picker view from StorageTestApp and Gmail (GMAIL > Compose >
Attach > Go to Pixel > Android)

Change-Id: I58b4fc23d9b479df4fc0480ae55f1f2070d0cb7c
2020-05-11 11:39:40 +01:00
Jason Hsu
0eaa712069 Merge "Logs accessibility shortcut behavior." into rvc-dev am: 5c8f27a56e
Change-Id: Ieccf4811d1c7e96917be274365f2d65edd463489
2020-05-10 05:22:30 +00:00
Jason Hsu
5c8f27a56e Merge "Logs accessibility shortcut behavior." into rvc-dev 2020-05-10 03:06:30 +00:00
jasonwshsu
d9aa03245c Logs accessibility shortcut behavior.
* Uses the atom AccessibilityShortcutReported in westworld.

Bug: 151285965
Test: make statsd_testdrive && ./out/host/linux-x86/bin/statsd_testdrive 266
Change-Id: Iba9d829ae35c7a336c38007101bdddfcd3dc2ddb
2020-05-09 22:31:05 +08:00
Song Hu
0debe440bd When android:ui process receives callback result of AppPredictionService sortTargets, directly handles result instead of sending to Handler which takes extra time to dispatch messages.
Bug: 155551642
Test: atest CtsSharesheetTestCases:android.sharesheet.cts.CtsSharesheetDeviceTest
Test: manually test on the device
Change-Id: I7a28dbebfb4bf9cdf1fe27dd224c72ef9b44f2fe
2020-05-08 10:24:51 -07:00
Kevin Chyn
40669c08c0 [DO NOT MERGE] Add sysUiSessionId between BiometricService and AuthController am: fa7069d83c
Change-Id: Ic960ea42bba2f7e2d57521d320010f402069a642
2020-05-07 23:36:05 +00:00
Kevin Chyn
f67a780c33 Merge "[DO NOT MERGE] Add sysUiSessionId between BiometricService and AuthController" into rvc-dev 2020-05-07 23:22:02 +00:00
Kevin Chyn
fa7069d83c [DO NOT MERGE] Add sysUiSessionId between BiometricService and AuthController
Bug: 155420058

Test: BiometricPromptDemo, inspect logs

Change-Id: I47cffa4e8acb1e5f098572d26e47882ff5e9be26
2020-05-07 14:06:57 -07:00
arangelov
aa307e28ca Don't show layout with default if in tabbed view
Fixes: 155890640
Fixes: 150939321
Test: atest ChooserActivityTest
Test: atest ResolverActivityTest
Test: manually verified default layout is not shown

Change-Id: I11c543331b44039a7a2ae85a1b2a67b8525739a4
2020-05-07 16:16:45 +01:00
Matt Pietal
01bd497efe Merge "Sharesheet/Resolver a11y adjustments" into rvc-dev am: 2f16758a0a
Change-Id: I52c4629ff2e5021209031b4b535e90e7c3c226e2
2020-05-07 11:53:53 +00:00
Matt Pietal
2f16758a0a Merge "Sharesheet/Resolver a11y adjustments" into rvc-dev 2020-05-07 11:38:59 +00:00
Antoan Angelov
24d24cfd27 Merge "Fix sharesheet scroll jankiness." into rvc-dev am: afbd12c4ed
Change-Id: I372f4dcba7a71adb337c8d21a3b2058908e2c943
2020-05-07 11:12:20 +00:00
Antoan Angelov
afbd12c4ed Merge "Fix sharesheet scroll jankiness." into rvc-dev 2020-05-07 10:56:05 +00:00
Feng Cao
03f9fbbf3d Merge "Support re-attaching the inline suggestion view to window" into rvc-dev am: 254545cae5
Change-Id: Id4d01aa1c63b2b1d4d3658a6141b8c0dd05c6c20
2020-05-07 05:28:49 +00:00
Feng Cao
254545cae5 Merge "Support re-attaching the inline suggestion view to window" into rvc-dev 2020-05-07 05:23:15 +00:00
Feng Cao
b46851c964 Support re-attaching the inline suggestion view to window
* Before this change, when the inline suggestion view is detached from
  the IME window (e.g. due to layout change), the remote view content
  will not show again even after the view is reattached to the window
  on the IME side. This patch fixes it by requesting the remote view
  owner (the ext services) for a new SurfacePackage when the view is
  re-attached to the window (see javadoc of SurfaceControlViewHost for
  why this works).
* This patch also fixes the issue where the SurfaceControlViewHost was
  never released in the ext services. This is done by notifying the
  ext services (through system server) when the view is detached from
  the IME window, and then the system server will release the
  SurfaceControlViewHost if after N(=500) ms the view is not re-attached
  to a window.
* After the SurfaceControlViewHost is released, if the view is
  re-attached to the window later, a new SurfaceControlViewHost will be
  created to back the same InlineContentView.
* The current code structure also lays a foundation for a subsequent
  change to allow reusing the same remote view for inline suggestions
  during filtering.

Test: atest CtsAutofillServiceTestCases (sanity test)

Bug: 153615023
Bug: 154683107

Change-Id: Idc587e1e82a96b792c351796464821b7aad7cd89
2020-05-06 19:30:39 -07:00
Ben Lin
9c0114d2a8 Merge "Enforce max size for resizing operations." into rvc-dev am: c43997ba15
Change-Id: I7c884e29ab5272c1cecade0da8cf4729e15351da
2020-05-06 21:22:37 +00:00
Ben Lin
c43997ba15 Merge "Enforce max size for resizing operations." into rvc-dev 2020-05-06 21:17:02 +00:00
Matt Pietal
877b5ec262 Sharesheet/Resolver a11y adjustments
1. Announce app name with direct share targets
2. Don't speak 'heading' in direct share rows
3. Don't close resolver/sharesheet when swiping left
4. Talkback will announce # of rows and columns for sharesheet

Fixes: 141908464
Fixes: 155153657
Fixes: 151897812
Fixes: 149437892
Fixes: 80319063
Test: talkback
Change-Id: I16586208407ba56814d3cf69648e660bded72ccf
2020-05-06 15:27:54 -04:00
Song Hu
0a27a93c05 Merge "Send onCreatePredictionSession, sortAppTargets, requestPredictionUpdate immediately instead of sending them to main thread Looper queue of ChooserActivity." into rvc-dev am: f52438f9a2
Change-Id: If329a03b939dd0a64f46732295788fb44b5ff5de
2020-05-06 19:08:33 +00:00
Song Hu
f52438f9a2 Merge "Send onCreatePredictionSession, sortAppTargets, requestPredictionUpdate immediately instead of sending them to main thread Looper queue of ChooserActivity." into rvc-dev 2020-05-06 19:03:46 +00:00