Commit Graph

13797 Commits

Author SHA1 Message Date
Songchun Fan
80ee4058e8 Merge "[incremental] respect extractNativeLibs in native lib config" into rvc-dev am: f2a6af4b8a am: 8ecea0c1ce am: 1f5799ffdc
Change-Id: Ib18aeefdc763c318f6c99f704abf016820d45dbd
2020-05-28 01:06:06 +00:00
Songchun Fan
f2a6af4b8a Merge "[incremental] respect extractNativeLibs in native lib config" into rvc-dev 2020-05-27 22:17:23 +00:00
Songchun Fan
14f6c3c735 [incremental] respect extractNativeLibs in native lib config
Makes sure the behavior is consistent with legacy installs:

When the flag is on, the native libs will be extracted to subdirs under
lib/.
When the flag is off, the lib/ subdirs will be created but the native
libs are not extracted.
When the flag is off, check if the native libs are uncompressed and well
aligned.

Test: atest android.extractnativelibs.cts.CtsExtractNativeLibsHostTest
BUG: 157173358
Change-Id: Idb57fd7ca1115f787faf5cde3056c32ff3f60890
2020-05-27 22:16:57 +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
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
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
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
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
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
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
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
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
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
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
Benedict Wong
c13b6f0b03 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
Merged-In: I2511b39b27a1e29ae97907cdb12728d13fb1628f
(cherry picked from commit 9e18eeb4a6)
2020-05-16 00:15:14 +00:00
TreeHugger Robot
b67a7b6b50 Merge "De-duplicate with callerTargets(added by using Intent.EXTRA_INITIAL_INTENTS) when adding DisplayResolveInfo." into rvc-dev am: e79c1056b2
Change-Id: I31757d24ac9ec3faf1f180706bde40d36c3a9da2
2020-05-15 23:26:08 +00:00
TreeHugger Robot
e79c1056b2 Merge "De-duplicate with callerTargets(added by using Intent.EXTRA_INITIAL_INTENTS) when adding DisplayResolveInfo." into rvc-dev 2020-05-15 23:10:41 +00:00
Mike Digman
70795b2679 Merge "Add app grouping indicators to Sharesheet" into rvc-dev am: 0b079c3383
Change-Id: I34246207ecec9c3772ee55ec06811008359faed5
2020-05-15 21:56:17 +00:00
Mike Digman
0b079c3383 Merge "Add app grouping indicators to Sharesheet" into rvc-dev 2020-05-15 21:54:16 +00:00
TreeHugger Robot
53815e9b49 Merge "Remove QS details prototype code" into rvc-dev am: 16715e7f85
Change-Id: I621bea1b9e4018c02759b276049a92ce81567fff
2020-05-15 21:15:21 +00:00
TreeHugger Robot
16715e7f85 Merge "Remove QS details prototype code" into rvc-dev 2020-05-15 21:10:37 +00:00
TreeHugger Robot
c4bb6ebfce Merge "Correct Sharesheet icon and badge sizing" into rvc-dev am: 12ea0e4d4a
Change-Id: If28f86c1b0e6ab43964978604f0cc6c58c417ee2
2020-05-15 20:50:18 +00:00
TreeHugger Robot
12ea0e4d4a Merge "Correct Sharesheet icon and badge sizing" into rvc-dev 2020-05-15 20:42:21 +00:00
TreeHugger Robot
b262e10178 Merge "Sharesheet - Fix app stacking" into rvc-dev am: 8714e7d195
Change-Id: I81a52cc219359323ab2c70d1dfcabf6700309987
2020-05-15 20:21:30 +00:00
Mike Digman
438d1320f1 Add app grouping indicators to Sharesheet
When an app publishes multiple share targets those are now
grouped under a single target. However, there is no visual
indicator of grouping. This adds that in.

Test: manual, custom built apks for testing
Fixes: 150481688
Change-Id: Ibf72cec3a337a71387928d30126b286519f03f73
2020-05-15 12:05:32 -07:00
Song Hu
276e384e4c De-duplicate with callerTargets(added by using Intent.EXTRA_INITIAL_INTENTS) when adding DisplayResolveInfo.
Bug: 154611479
Test: atest CtsSharesheetTestCases:android.sharesheet.cts.CtsSharesheetDeviceTest
Change-Id: I812c8275fc6f12ad52f56419eedd0c580530704a
2020-05-15 10:01:52 -07:00
Santos Cordon
ed5a8fe9b7 Adjust float-to-int brightness conversion to be purely in float.
By converting to int and back as part of the final steps in sending the
brightness to the HAL, we undo the whole benefit of having floating
point brightness.  This change alters the conversion to an int-range
without using the int-primitives. This helps maintain the existing
precision.

Bug: 155875691
Test: Manually verify with logs that the float value isn't altered
before going to the HAL (it previously was).
Test: atest CtsDisplayTestCases
Test: atest DisplayManagerServiceTests
Change-Id: Ibf2f8d00c575d440c3fe437b32c0613bcd471c2a

Change-Id: Ie9569efb7b951c15ffcf2306ff9f864f858df8b1
2020-05-15 17:52:52 +01:00
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
Fabian Kozynski
36ddca1cf3 Remove QS details prototype code
Also remove some other leftover prototype code

Test: manual
Fixes: 156645457
Change-Id: I21f442b2501f00c78c51826a805e7be91a214c7d
2020-05-14 15:57:40 -04:00
Matt Pietal
c9544a7e92 Sharesheet - Fix app stacking
When there was greater than 2 candidates for app stacking, the prior
targets would get dropped.

Bug: 156220800
Test: atest ChooserActivityTest
Change-Id: Ia8494bb81e95c5415d080148a0c4f98bd243c142
2020-05-13 21:19:40 -04:00
Mike Digman
d45a8b5d60 Correct Sharesheet icon and badge sizing
SimpleIconFactory previously used fixed resources to render
icons and badges. Resolver and Chooser need different icon and
badge dimensions. This cause scaling issues. Move those sizes to
a styleable attr. New dimensions align with design red lines.

Test: manual
Fixes: 155813501
Change-Id: I765ba7aab1346eacf9e1cf7b6cdbfbbb14dbc3bb
2020-05-13 12:32:19 -07: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