Commit Graph

13741 Commits

Author SHA1 Message Date
TYM Tsai
41447be309 Merge "Filter the content of the Bundles used as extras and styling APIs" into rvc-dev am: 4ddfdaf641 am: 5c913aeacc am: 6cce28ebbc am: 009fb7ec44
Change-Id: I4d317f36033a59baf9001f7017ffd3beffc20c2b
2020-04-24 09:49:21 +00:00
TYM Tsai
6cce28ebbc Merge "Filter the content of the Bundles used as extras and styling APIs" into rvc-dev am: 4ddfdaf641 am: 5c913aeacc
Change-Id: Ib19b408a8aab0b7daf65082776ea510cc476dc4a
2020-04-24 09:08:09 +00:00
TYM Tsai
4ddfdaf641 Merge "Filter the content of the Bundles used as extras and styling APIs" into rvc-dev 2020-04-24 08:42:56 +00:00
Jason Hsu
005f2acff1 Merge changes from topic "rhedjao_a11y_button_rollback" into rvc-dev am: ea2d4bf1fd am: a574c632c5 am: e56a98a820 am: bd5a346909
Change-Id: I64079947e3cf089b6555a9d24aafde794ef380f0
2020-04-24 03:31:45 +00:00
Peter_Liang
c82aeb9953 Rollback chooser menu to version Q behavior for accessibility button (1/n). am: b8bf55c8c0 am: e14bebf669 am: a396085e46 am: 6d90974d37
Change-Id: I818f24d7f4bf6fc9402f0a53edcb9c2fc4e0a1d1
2020-04-24 03:31:30 +00:00
Jason Hsu
e56a98a820 Merge changes from topic "rhedjao_a11y_button_rollback" into rvc-dev am: ea2d4bf1fd am: a574c632c5
Change-Id: I82a8c1d436829e99d1e07209445c187a8e055783
2020-04-24 03:15:45 +00:00
Peter_Liang
a396085e46 Rollback chooser menu to version Q behavior for accessibility button (1/n). am: b8bf55c8c0 am: e14bebf669
Change-Id: Ie59a63998b064a1961d26576791f23b5ca27fe95
2020-04-24 03:15:41 +00:00
Peter_Liang
e14bebf669 Rollback chooser menu to version Q behavior for accessibility button (1/n). am: b8bf55c8c0
Change-Id: I1cd26352784fe16108dd5c9d39eacea0ef53ce49
2020-04-24 03:10:49 +00:00
Jason Hsu
ea2d4bf1fd Merge changes from topic "rhedjao_a11y_button_rollback" into rvc-dev
* changes:
  Rollback chooser menu to version Q behavior for accessibility button (2/n).
  Rollback chooser menu to version Q behavior for accessibility button (1/n).
2020-04-24 03:07:39 +00:00
Peter_Liang
0589ab0ae3 Rollback chooser menu to version Q behavior for accessibility button (2/n).
Allow separate Activities to handle the multiple-target case for the hardware and software shortcuts. Migrate from an extra to an explicit class so the Intent dispatch will launch the correct Activity for the particular shortcut.

Bug: 151294664
Test: manual test
Change-Id: I54bb1d3ab91e2757c465e8763786d0234f6d4ea8
2020-04-23 16:25:17 +00:00
Peter_Liang
b8bf55c8c0 Rollback chooser menu to version Q behavior for accessibility button (1/n).
1. Replace ACCESSIBILITY_BUTTON_TARGET_COMPONENT key with
ACCESSIBILITY_BUTTON_TARGETS key.
2. Rollback to version Q widgets.

Bug: 151294664
Test: manual test
Change-Id: Ibaa3b058418476e58291bfb95a1935dbf5c70e25
2020-04-23 18:44:37 +08:00
TreeHugger Robot
438d96bb49 Merge "Add shadow under tabs when user has scrolled up in sharesheet" into rvc-dev am: 7ae10c0737 am: fcccc485fa am: b4b9b973c2 am: 79a3cb89f0
Change-Id: I2c4a6db32c1e8af57f427720453d54077ddcd0d1
2020-04-22 20:14:06 +00:00
TreeHugger Robot
b4b9b973c2 Merge "Add shadow under tabs when user has scrolled up in sharesheet" into rvc-dev am: 7ae10c0737 am: fcccc485fa
Change-Id: Idf1e01f3c8e01add84a6082d3b13c8f056dae8ad
2020-04-22 19:59:03 +00:00
TreeHugger Robot
7ae10c0737 Merge "Add shadow under tabs when user has scrolled up in sharesheet" into rvc-dev 2020-04-22 19:52:49 +00:00
arangelov
0ae2c63767 Synchronize direct share expansion between work and personal tabs am: 2b15d71b58 am: 92e8ae9350 am: 9cc99135fb am: 387eef10d6
Change-Id: I1b06b1356d353db1b39d780264623da98703f737
2020-04-22 19:12:43 +00:00
arangelov
de5ebdcacb Add shadow under tabs when user has scrolled up in sharesheet
Fixes: 154522493
Test: manual
Change-Id: I4353dea41982e7497c341c19e7b177bf176b30af
2020-04-22 18:41:03 +00:00
arangelov
9cc99135fb Synchronize direct share expansion between work and personal tabs am: 2b15d71b58 am: 92e8ae9350
Change-Id: I6fcad7c7bc8bb6d8a91121cb0d7640d07cdcfc99
2020-04-22 18:36:02 +00:00
arangelov
2b15d71b58 Synchronize direct share expansion between work and personal tabs
For example, if share sheet is fully expanded in personal profile,
when we go to the work tab, the direct share targets should
also be expanded there.

Fixes: 154523836
Test: manual
Test: atest ChooserActivityTest
Change-Id: I9346d7485f7498fc038c86bf5f8550c8ea6d0b48
2020-04-22 18:09:00 +00:00
Philip P. Moltmann
fbc913c2ac Merge "Set attributionTag for noteOp(WRITE_SETTINGS) calls" 2020-04-22 14:57:49 +00:00
Antoan Angelov
dfece1d116 Merge "Hide "Always" and "Just once" buttons for empty state screens" into rvc-dev am: 3a507cbf8c am: 80295814cb am: 2b309ff541 am: 2dc34ce5c7
Change-Id: Ib8c07d80e6f919ae40b51ff8b2adefac9fcf5fc5
2020-04-22 14:04:03 +00:00
Antoan Angelov
84bb341ec7 Merge "Restore share sheet height when toggling dark mode" into rvc-dev am: 2f5e2df152 am: bf47ff06ac am: a0bbb59bab am: 9ef854cb9f
Change-Id: Ib99eed45595839cf7c9f24f840768648589fae3a
2020-04-22 14:03:37 +00:00
Antoan Angelov
80295814cb Merge "Hide "Always" and "Just once" buttons for empty state screens" into rvc-dev am: 3a507cbf8c
Change-Id: Id6523fe83010dca0b1fd7d0b92350fe60faa81e1
2020-04-22 13:24:01 +00:00
Antoan Angelov
bf47ff06ac Merge "Restore share sheet height when toggling dark mode" into rvc-dev am: 2f5e2df152
Change-Id: Ic5c604fa42ea96ad3f6a72ce9246573c9bb86b4b
2020-04-22 13:23:27 +00:00
Antoan Angelov
3a507cbf8c Merge "Hide "Always" and "Just once" buttons for empty state screens" into rvc-dev 2020-04-22 13:10:20 +00:00
Antoan Angelov
2f5e2df152 Merge "Restore share sheet height when toggling dark mode" into rvc-dev 2020-04-22 13:08:13 +00:00
arangelov
9d8941457d Restore share sheet height when toggling dark mode
This CL does the following changes:
- Save and restore the resolver drawer layout height.
This is necessary because when we toggle darkmode,
we don't go through handleLayoutChange, thus we don't
recalculate the height the standard way.
- Disables saving state for the viewpager.
This is necessary, because the content is
incorrectly restored afterwards. It's better to
reload it instead.
- Saves and restores the last selected tab. This is
necessary because with the viewpager state saving
disabled, it defaults to the first tab.

I considered updating the configChanges attribute in
the manifest to include dark mode toggling, but it
gave unsatisfactory result - the share sheet only
partially became dark.

Test: manual
Test: atest ChooserActivityTest
Test: atest ResolverActivityTest
Fixes: 154526324
Change-Id: I99e159ea7ca413f8acbc0429a43ce5aba32a1b28
2020-04-22 13:47:00 +01:00
TYM Tsai
850c8129e6 Filter the content of the Bundles used as extras and styling APIs
Adds filter to prevent passing binder objects in the extras and styling
APIs for inline suggestions. Avoids these to be used to send over remote
objects for Autofill provider and IME to communicate through private APIs
bypassing the OS.

Bug: 152316540
Test: atest CtsAutoFillServiceTestCases
Test: atest InlineSuggestionsRequestTest
Change-Id: I00940a845ed0e2546cbe09fa36e2439869c2f783
2020-04-22 14:41:07 +08:00
Dmitri Plotnikov
f85347f020 Merge "Removing BatteryStatsImpl lock that causes a deadlock" into rvc-dev am: afe0f89d59 am: 1c4f7f8ddd am: f202431bb5 am: b136ea77c8
Change-Id: I595aa7fa786867749c0a3c897b4f71fa9e93b536
2020-04-22 00:35:52 +00:00
Dmitri Plotnikov
f202431bb5 Merge "Removing BatteryStatsImpl lock that causes a deadlock" into rvc-dev am: afe0f89d59 am: 1c4f7f8ddd
Change-Id: Ibc7ee343726fdc11563b871c1773354a952bd5ec
2020-04-22 00:06:45 +00:00
Dmitri Plotnikov
ac51802720 Merge "Removing BatteryStatsImpl lock that causes a deadlock" into rvc-dev am: afe0f89d59
Change-Id: Ic04a4abbbc9494ab8e380020e67fc0ac9a681be2
2020-04-21 23:51:16 +00:00
Dmitri Plotnikov
afe0f89d59 Merge "Removing BatteryStatsImpl lock that causes a deadlock" into rvc-dev 2020-04-21 23:36:39 +00:00
Philip P. Moltmann
01628ba180 Set attributionTag for noteOp(WRITE_SETTINGS) calls
Test: atest FrameworksNetTests
Bug: 136595429
Change-Id: I33f787644c44d7b0e5ce17a433820cfcd985cdfb
Exempt-From-Owner-Approval: Merge from AOSP
2020-04-21 21:46:34 +00:00
Dmitri Plotnikov
55edd0c81c Removing BatteryStatsImpl lock that causes a deadlock
Please see the original change I0d6b4a7b12b234939cb6eb3a32658b28f61dff4f,
where the additional locks were first introduced, but the original lock
was not consistently removed.

Bug: 153826721
Bug: 153813215
Test: Disable and reenable WiFi.

Change-Id: I0e68889e9dfe22495d64b16a495a83434b816304
2020-04-21 14:08:17 -07:00
TreeHugger Robot
63edbe8f4d Merge "Fix crash in IntentForwarderActivity" into rvc-dev am: f9a02be500 am: 25d9d08a8a am: c691919a5e am: 16ee4e152d
Change-Id: I886cd0e0a5304fa678635faf2f5fb2747220cba6
2020-04-21 19:28:19 +00:00
TreeHugger Robot
9a25264ed5 Merge "Keeing the device in gesture nav while user setup is pending" into rvc-dev am: 9bc5f9efc2 am: a75e298179 am: 7b08410e47 am: fd5f75e1a5
Change-Id: I39fa8c6362bfeeba6722812fad6238062b29e330
2020-04-21 19:26:37 +00:00
TreeHugger Robot
25d9d08a8a Merge "Fix crash in IntentForwarderActivity" into rvc-dev am: f9a02be500
Change-Id: Ia0f9de5e647cc678a3cdf847911c8062546150dd
2020-04-21 19:06:30 +00:00
TreeHugger Robot
f9a02be500 Merge "Fix crash in IntentForwarderActivity" into rvc-dev 2020-04-21 18:52:54 +00:00
TreeHugger Robot
a75e298179 Merge "Keeing the device in gesture nav while user setup is pending" into rvc-dev am: 9bc5f9efc2
Change-Id: I8a18e54612a6d9bd965e657e1196bb2c15d98a1a
2020-04-21 18:49:39 +00:00
TreeHugger Robot
9bc5f9efc2 Merge "Keeing the device in gesture nav while user setup is pending" into rvc-dev 2020-04-21 18:25:41 +00:00
Automerger Merge Worker
878795c6ba Merge "Merge "Add screenshots logging" into rvc-dev am: 44cc1e274b am: e0efd49ef3" into rvc-d1-dev-plus-aosp am: a1adfd1dfc am: ac6e16bcc9
Change-Id: Ie4d8f1e8a6e808f7f23aac38c0c1e29b20c572ea
2020-04-21 17:59:58 +00:00
Miranda Kephart
91b268187b Merge "Add screenshots logging" into rvc-dev am: 44cc1e274b am: e0efd49ef3
Change-Id: I961cdbc7fbb9841c402b16c511a673ef3c1cf11b
2020-04-21 17:25:12 +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
kholoud mohamed
149e0fe89e Fix crash in IntentForwarderActivity
The crash was caused by trying to resolve an instant
app which is not allowed on the main thread, fixed it by
resolving on a background thread.

Fixes: 146141583
Test: atest IntentForwarderActivityTest
Test: atest ResolverActivityTest
Test: atest ChooserActivityTest
Change-Id: I250d682cf90870c7360eb66529be8c91fac266b1
2020-04-21 18:06:03 +01:00
Miranda Kephart
44cc1e274b Merge "Add screenshots logging" into rvc-dev 2020-04-21 16:58:54 +00:00
arangelov
5ecac7a945 Hide "Always" and "Just once" buttons for empty state screens
This change does the following things:
- Groups the button bar and divider in a view with the system
background, so that when they get invisible, the background is not
transparent
- Sets the invisibility of the button bar and divider to invisible
so that the height of the intent resolver is preserved
- Removes the bottom padding for the empty state screen for
the intent resolver to reduce the blank space under it caused
by the now blank button bar

Fixes: 154326163
Test: manual
Change-Id: Iaea4da3f2250f51f9d1d627c1965f42014914084
2020-04-20 21:25:30 +01:00
Mark Renouf
19be640d6f Merge "Scroll Capture Framework" into rvc-dev am: 03f9a814a5
Change-Id: Ie9cc6da06f1d900a3750750df9f70fa4a9868d52
2020-04-20 19:23:54 +00:00
Mark Renouf
03f9a814a5 Merge "Scroll Capture Framework" into rvc-dev 2020-04-20 19:20:13 +00:00
TreeHugger Robot
5101c096e6 Merge "Use startActivityAsCaller instead of startActivity." into rvc-dev am: 1161f28ddb am: 17588e48ee am: 38229eef88 am: 877908575f
Change-Id: If2ef3ae5655347850aed8484cce13947bb69237d
2020-04-20 17:57:00 +00:00
TreeHugger Robot
abe7b25f7d Merge "Fix comparison of UserHandle objects" into rvc-dev am: 6699c412bb am: a440ea524a am: f17432790e am: b5b021cdc4
Change-Id: I5e5a6e86fe456c4fdef21e8af4c4017a437fb972
2020-04-20 17:54:41 +00:00
TreeHugger Robot
17588e48ee Merge "Use startActivityAsCaller instead of startActivity." into rvc-dev am: 1161f28ddb
Change-Id: Idb65dcfa29e475cacb20d0c77784d74b6936a1d4
2020-04-20 17:43:04 +00:00