Commit Graph

14058 Commits

Author SHA1 Message Date
Antoan Angelov
377dc83ff4 Merge "Launch intent resolver in same profile when used for sharing" into rvc-dev am: 66f1f9e2ce am: 902be7f62b am: be2f0247b0 am: c1b502c9e1
Change-Id: Ie933f0c17fed5374d09f0a11f979a5b50d113ecb
2020-05-27 20:54:49 +00:00
Antoan Angelov
902be7f62b Merge "Launch intent resolver in same profile when used for sharing" into rvc-dev am: 66f1f9e2ce
Change-Id: Icc924304123eb44744b30cc7abb1c271df0f3a02
2020-05-27 20:13:49 +00:00
Antoan Angelov
66f1f9e2ce Merge "Launch intent resolver in same profile when used for sharing" into rvc-dev 2020-05-27 20:08:29 +00:00
Ruchir Rastogi
48ce900e5a Merge "Inject DeviceIdle atom before boot completes" into rvc-dev am: e9e4428d4d am: 3939c13ce4 am: d1d83106a7 am: 619fe72221
Change-Id: Idb1e71e2e95b25bf1ae6b018dabfe4241b05145a
2020-05-27 18:20:01 +00:00
Ruchir Rastogi
619fe72221 Merge "Inject DeviceIdle atom before boot completes" into rvc-dev am: e9e4428d4d am: 3939c13ce4 am: d1d83106a7
Change-Id: Ifb4719ed904d55c5af88c9854ac0e93b0864c2e4
2020-05-27 18:06:52 +00:00
Ruchir Rastogi
100e8d1b71 Merge "Inject DeviceIdle atom before boot completes" into rvc-dev am: e9e4428d4d
Change-Id: I9c9dfc4b69b6a9ecf4337a5d9eb7413318d7a385
2020-05-27 17:46:54 +00:00
Ruchir Rastogi
e9e4428d4d Merge "Inject DeviceIdle atom before boot completes" into rvc-dev 2020-05-27 17:44:07 +00:00
Ruchir Rastogi
04c3476986 Inject DeviceIdle atom before boot completes
Test: m
Test: manually verified that DeviceIdleModeStateChanged atom gets logged
before boot completes (using ag/11529814 to log)
Bug: 156913221
Change-Id: I3dbf154083f1cbe660625066dc50b6a8ffd60d7c
2020-05-27 17:43:39 +00:00
Benedict Wong
8f29769362 Merge "Add methods for IKEv2/IPsec test mode profiles" into rvc-dev 2020-05-27 17:31:00 +00:00
TreeHugger Robot
9979e7107d Merge "Fix talkback focus issue in share sheet" into rvc-dev am: b7f81189bd am: 9d9b4ed64c am: dddca4f9a4 am: b1fb21dd1c
Change-Id: I681e94171666bb04a229f20d7c0eac41085cbdf4
2020-05-26 19:33:14 +00:00
TreeHugger Robot
dddca4f9a4 Merge "Fix talkback focus issue in share sheet" into rvc-dev am: b7f81189bd am: 9d9b4ed64c
Change-Id: I1bf4beeda1f2de29fa299255ff838ca9f140aa1d
2020-05-26 18:45:19 +00:00
TreeHugger Robot
14a791d2dd Merge "Fix talkback focus issue in share sheet" into rvc-dev am: b7f81189bd
Change-Id: I13a6e83b7867c4ef1341e046655f4b1970948a83
2020-05-26 18:33:41 +00:00
TreeHugger Robot
b7f81189bd Merge "Fix talkback focus issue in share sheet" into rvc-dev 2020-05-26 18:21:25 +00:00
Mike Digman
ddfc631968 Merge "Use current label for Sharing Shortcuts in Sharesheet" into rvc-dev am: 9a4ec16d7f am: 41a950e82c am: e996ed90fa am: 2b61c20c2a
Change-Id: I483b0f423a2ea20581de9394a29a15ea882879ab
2020-05-26 16:22:53 +00:00
Mike Digman
e996ed90fa Merge "Use current label for Sharing Shortcuts in Sharesheet" into rvc-dev am: 9a4ec16d7f am: 41a950e82c
Change-Id: I48ebfd8c7cd37d429194e59900003f8db8c71a9e
2020-05-26 16:17:34 +00:00
Mike Digman
8fa8ea8b55 Merge "Use current label for Sharing Shortcuts in Sharesheet" into rvc-dev am: 9a4ec16d7f
Change-Id: I57ed05e511cfc5717888fca64a66a75b4c114c83
2020-05-26 16:01:48 +00:00
Kholoud Mohamed
85a28ec570 Fix talkback focus issue in share sheet
Fixes: 149440209
Test: manual testing
Change-Id: Ia41f9331da8345a4ac9c298574206fe544407fce
2020-05-26 16:36:36 +01:00
TreeHugger Robot
07190cfb92 Merge changes I0b36a281,I42b05d5c,Ic5ce2741
* changes:
  Remove dependency on InstallArgs during Package Verification
  Extract verification of version code into a separate method
  Simplify handleStartCopy by extracting logic into separate methods
2020-05-26 13:13:44 +00:00
Mike Digman
eb257d1a7d Use current label for Sharing Shortcuts in Sharesheet
A recent ShortcutInfo change bakes in support for using any
set long label and defaulting to the short label if unavailable.
Instead of duplicating logic, reuse this new method.

Fixes: 157142833
Test: manual
Change-Id: Ic8104ac57dd91a79b93739514655d7dbb5ad36e2
2020-05-21 16:04:43 -07:00
Dmitri Plotnikov
10f56ebc71 Merge "Move IndentingPrintWriter to android.util" 2020-05-21 21:17:07 +00:00
Mike Digman
91b1a7e9db Merge "Clean up Sharesheet pinning, add app icon, remove DS pin menu" into rvc-dev am: 7980546c03 am: 4d9d1f737b am: 6068a72684 am: 9acc137ea8
Change-Id: Id76499b93de420a52d30f72c92da018fbdbb3ae1
2020-05-21 21:02:25 +00:00
TreeHugger Robot
1e2d91f579 Merge "Use shortcut long labels if available in Sharesheet" into rvc-dev am: 059d812ef9 am: 388393c843 am: bbcfaf8c86 am: d9b4ba1bcf
Change-Id: I64d391c34cfa20f9d6063da9b624d62b4f1b3599
2020-05-21 20:26:36 +00:00
Mike Digman
6068a72684 Merge "Clean up Sharesheet pinning, add app icon, remove DS pin menu" into rvc-dev am: 7980546c03 am: 4d9d1f737b
Change-Id: I16e844280dfd27500a3684c41060ffbe198b8d0e
2020-05-21 20:12:06 +00:00
Mike Digman
9cda8de825 Merge "Clean up Sharesheet pinning, add app icon, remove DS pin menu" into rvc-dev am: 7980546c03
Change-Id: I96ca7b700252042103d2355716d5ad43599e39d0
2020-05-21 20:11:50 +00:00
Mike Digman
7980546c03 Merge "Clean up Sharesheet pinning, add app icon, remove DS pin menu" into rvc-dev 2020-05-21 20:05:58 +00:00
TreeHugger Robot
d9b4ba1bcf Merge "Use shortcut long labels if available in Sharesheet" into rvc-dev am: 059d812ef9 am: 388393c843 am: bbcfaf8c86
Change-Id: I956c00cef2b0377fdd8b4ff931d5501a3c31a70f
2020-05-21 19:55:46 +00:00
TreeHugger Robot
3d457779df Merge "Use shortcut long labels if available in Sharesheet" into rvc-dev am: 059d812ef9 am: 388393c843
Change-Id: Iff779885d4d42f88ce331e7bdd590d42c096cc52
2020-05-21 19:35:03 +00:00
TreeHugger Robot
b635c88d6e Merge "Use shortcut long labels if available in Sharesheet" into rvc-dev am: 059d812ef9
Change-Id: I016d4dacb781c6927a7c153d5cb18249c4889b31
2020-05-21 19:21:20 +00:00
TreeHugger Robot
059d812ef9 Merge "Use shortcut long labels if available in Sharesheet" into rvc-dev 2020-05-21 19:01:42 +00:00
Mike Digman
64c704390d Clean up Sharesheet pinning, add app icon, remove DS pin menu
Remove "App info" item from all long-press menus as it's no
longer needed. Prevent DS targets from showing a long-press
menu. Simplify code surrounding this, in part, for future
migration to a popup menu.

Fixes: 157156399
Test: manual
Change-Id: I3e29e3dd46268cc344dcc93059f2bda1eeef32f1
2020-05-21 11:17:51 -07:00
Dmitri Plotnikov
f800b70dc5 Move IndentingPrintWriter to android.util
The old implementation remains in its place for now.

IndentingPrintWriter is still hidden - it will be made public
separately.

Test: atest FrameworksUtilTests:android.util.IndentingPrintWriterTest
Bug: 142281756

Change-Id: Idd2bfa027733ef384b5a676866a89fb3c35b06cb
2020-05-21 10:36:53 -07:00
Soonil Nagarkar
fb272095ad Refactor GeofenceManager
-Makes geofence manager work synchronously so that testing is not flaky
-Adopts ListenerMultiplexer for geofence listeners so that logic is
shared across location code
-Adds support for location blacklisting and background users
-Substantially reduces the CPU overhead of maintaining listeners
-Adds worksource support to geofencing so power blame is done correctly
-Adds new feature id for geofencing

Test: manual + presubmit
Change-Id: If55bc18f202debf7dd183f0120a24e8f75623ce8
2020-05-20 14:08:03 -07:00
Automerger Merge Worker
3289b5e6e8 Merge "Merge "Fix talkback for switch on work in ResolverActivity" into rvc-dev am: 606980b356 am: 44f514ed2a am: eb2eeab0b1" into rvc-qpr-dev-plus-aosp am: 793f22a16c
Change-Id: Ic85c5ce3091867a10e8ce3d91d0cd98d944a700b
2020-05-20 18:53:57 +00:00
TreeHugger Robot
0bffbd8c9a Merge "Fix talkback for switch on work in ResolverActivity" into rvc-dev am: 606980b356 am: 44f514ed2a am: eb2eeab0b1
Change-Id: I79c352e1472d42df938d18d5ee8f2b6f9bdc978f
2020-05-20 18:32:01 +00:00
TreeHugger Robot
8c7b5b603d Merge "Fix talkback for switch on work in ResolverActivity" into rvc-dev am: 606980b356 am: 44f514ed2a
Change-Id: If8ee0adbd2a6c08d638ab1a55d6aa5ee40032504
2020-05-20 18:19:35 +00:00
Mike Digman
ed44706beb Use shortcut long labels if available in Sharesheet
For disambiguation between targets, it's important to see
the most detailed label provided by apps. This change is aligned
with the logic being used to display conversation shortcuts.

Fixes: 157142833
Test: manual
Change-Id: I203afc794730cac5c92717035af0ea47d8e6496b
2020-05-20 11:08:55 -07:00
TreeHugger Robot
3e8384e445 Merge "Fix talkback for switch on work in ResolverActivity" into rvc-dev am: 606980b356
Change-Id: Id64d374173c61b46190874222a477c55adc87ceb
2020-05-20 18:05:30 +00:00
TreeHugger Robot
606980b356 Merge "Fix talkback for switch on work in ResolverActivity" into rvc-dev 2020-05-20 17:55:54 +00:00
Kholoud Mohamed
77bc0f15e3 Fix talkback for switch on work in ResolverActivity
Set the focus to the work tab when switch on
work profile is clicked.

Fixes: 152014143
Test: Manually tested the bug no longer happens
Change-Id: Iba72f238cdaf564256648327d12a54c6227dd23b
2020-05-20 15:29:07 +01:00
Mohammad Samiul Islam
5c95b7d1a7 Extract verification of version code into a separate method
Overriding install location is required for installation of package.
Verification of version code of package is required for package
verification. Keeping them separate make it easier to split verifcation
phase from install phase in future.

Bug: 136257624
Test: atest StagedInstallTest
Test: atest AtomicInstallTests
Test: atest GtsSecurityHostTests
Change-Id: I42b05d5cab86b4c14e7649b337dc997e0c8ee55f
2020-05-19 17:11:01 +01:00
Mike Digman
fd94e4bcb3 Merge "Add pinned target indicator to Sharesheet, update visuals" into rvc-dev am: aa96eb5733 am: f5f2c3f413 am: 2d05148354 am: 3b8fa157a2
Change-Id: Ic331bd319e62e40be95a0df20f68e037fd0e90c8
2020-05-18 23:38:27 +00:00
Mike Digman
f5f2c3f413 Merge "Add pinned target indicator to Sharesheet, update visuals" into rvc-dev am: aa96eb5733
Change-Id: I952e52cd4384ab5a5c56557e4a64241012286b90
2020-05-18 23:15:37 +00:00
Mike Digman
caec1a7440 Add pinned target indicator to Sharesheet, update visuals
After a user pins an app it takes up a persistent space in the
suggested app row. Users may forget they've pinned an app as
there's no indicator. Add an in-line icon to label suggested
targets as pinned. No indicator should be shown in the A-Z list.
This CL also updates related visual styling to get close to
redlines.

Bug: 150405021
Bug: 152978014
Test: manual
Change-Id: Iee774b88e284617449a673d7e622c0ce233ded1a
2020-05-18 12:13:21 -07:00
TreeHugger Robot
ea0d7ae66e Merge "In new direct share ranking, expand DS row as long as there are enough targets parking in memory, even if targets are still loading on UI." into rvc-dev am: d96e01d282 am: 926d538590 am: 98a28d8d88 am: e347d34c56
Change-Id: I24f2cd1e7dc611dcfe26319c07eafd79f3b73d71
2020-05-18 15:30:28 +00:00
TreeHugger Robot
926d538590 Merge "In new direct share ranking, expand DS row as long as there are enough targets parking in memory, even if targets are still loading on UI." into rvc-dev am: d96e01d282
Change-Id: I1cebde1bdbf918fc50aa4c82c9f0377d40763051
2020-05-18 15:00:52 +00:00
TreeHugger Robot
d96e01d282 Merge "In new direct share ranking, expand DS row as long as there are enough targets parking in memory, even if targets are still loading on UI." into rvc-dev 2020-05-18 14:56:34 +00:00
TreeHugger Robot
f1c4cfa818 Merge "Adjust float-to-int brightness conversion to be purely in float." into rvc-dev am: 28e8a2c0ca am: 5c46e05058 am: 9938975072 am: 8ed24d071e
Change-Id: Id42b296c56192257a409a67136b66337ca150f40
2020-05-18 14:00:01 +00:00
Song Hu
b548df99a7 In new direct share ranking, expand DS row as long as there are enough
targets parking in memory, even if targets are still loading on UI.

Backfill targets of top 8 apps into DS row instead of top 4, if the row
is not full.

Bug: 156470651
Test: atest CtsSharesheetTestCases:android.sharesheet.cts.CtsSharesheetDeviceTest
Test: atest com.android.internal.app.ChooserActivityTest
Change-Id: Idefd6c225fca723d6d266b78ef41a4201483c634
2020-05-18 06:13:34 -07:00
TreeHugger Robot
5c46e05058 Merge "Adjust float-to-int brightness conversion to be purely in float." into rvc-dev am: 28e8a2c0ca
Change-Id: Ic375d1b36aaba774ea76da75d6d1cbce3f68ef37
2020-05-18 12:58:00 +00:00
TreeHugger Robot
28e8a2c0ca Merge "Adjust float-to-int brightness conversion to be purely in float." into rvc-dev 2020-05-18 12:47:31 +00:00