Matt Pietal
214aceaeea
Merge "Sharesheet - Fix shortcut ranking logic" into qt-dev am: 99e622c232
...
am: 1db23d3020
Change-Id: Ib229fbe4ad7480bbb3e16c8527e8bd42edd0e368
2019-05-10 19:31:28 -07:00
Wale Ogunwale
2274078303
Merge "PointerLocation: move showing exclusion rects behind flag" into qt-dev am: b7ae1efc96
...
am: bbf458c877
Change-Id: If14e949cd4794d4903d90d749dbc00646f6e9828
2019-05-10 18:44:41 -07:00
Matt Pietal
1db23d3020
Merge "Sharesheet - Fix shortcut ranking logic" into qt-dev
...
am: 99e622c232
Change-Id: I6bf435b44b2d63a0e645dbbb4be0dfd84047225d
2019-05-10 10:06:08 -07:00
TreeHugger Robot
99e622c232
Merge "Sharesheet - Fix shortcut ranking logic" into qt-dev
2019-05-10 16:52:36 +00:00
TreeHugger Robot
2e3702f579
Merge "Inline calls to MimeUtils." into qt-dev-plus-aosp
2019-05-10 16:44:19 +00:00
Wale Ogunwale
bbf458c877
Merge "PointerLocation: move showing exclusion rects behind flag" into qt-dev
...
am: b7ae1efc96
Change-Id: Ie33a52695ba6f079c9394772a755c5bd834bcdd6
2019-05-10 08:35:55 -07:00
Wale Ogunwale
b7ae1efc96
Merge "PointerLocation: move showing exclusion rects behind flag" into qt-dev
2019-05-10 15:19:04 +00:00
Kweku Adams
8873ce3e8e
Merge "Fix accounting bug in BatteryStatsImpl." into qt-dev am: 64096f1e78
...
am: 100a5f9701
Change-Id: Ic11193150a7da402bde1791a59b9cd936e984b88
2019-05-10 02:18:46 -07:00
Kweku Adams
100a5f9701
Merge "Fix accounting bug in BatteryStatsImpl." into qt-dev
...
am: 64096f1e78
Change-Id: I5eef76c4b0acd8d041b08c5babee9c6118bed979
2019-05-09 22:50:40 -07:00
Adrian Roos
a3341ae060
PointerLocation: move showing exclusion rects behind flag
...
Fixes: 131810593
Test: Enable "show pointer location" in developer setting, verify no pink overlays
Change-Id: I258466af07edfc5bc7f36b348564a81fed2cb2b4
2019-05-09 17:41:52 -07:00
Sudheer Shanka
3d57a0157f
resolve merge conflicts of 803c052816 to qt-dev-plus-aosp
...
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I6c435c2e8443cd7bf5959bfbdfb05f188308d524
Merged-In: Ib8a10d3a9097c1dc4132a71782d622e9e3c3747d
2019-05-10 00:36:21 +00:00
TreeHugger Robot
64096f1e78
Merge "Fix accounting bug in BatteryStatsImpl." into qt-dev
2019-05-09 21:01:30 +00:00
Sudheer Shanka
803c052816
Merge "Remove storage sandboxes related code." into qt-dev
2019-05-09 20:38:16 +00:00
Jorim Jaggi
21ef6147d6
Merge "Check for null bg insets during initialization" into qt-dev am: 44787038c2
...
am: f0ded232e8
Change-Id: I77fa212488c047cb8be3b73e296ac236648f8054
2019-05-09 11:21:54 -07:00
Sudheer Shanka
64501e5126
Remove storage sandboxes related code.
...
Bug: 131115422
Test: manual
Test: atest --test-mapping packages/providers/MediaProvider
Test: atest cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ExternalStorageHostTest.java
Test: atest DownloadProviderTests
Test: atest cts/tests/app/src/android/app/cts/DownloadManagerTest.java
Test: atest cts/tests/app/DownloadManagerLegacyTest/src/android/app/cts/DownloadManagerLegacyTest.java
Test: atest cts/tests/app/DownloadManagerApi28Test/src/android/app/cts/DownloadManagerApi28Test.java
Change-Id: Ib8a10d3a9097c1dc4132a71782d622e9e3c3747d
Merged-In: Ib8a10d3a9097c1dc4132a71782d622e9e3c3747d
2019-05-09 17:47:30 +00:00
Sudheer Shanka
a5daede5c8
Merge "Remove storage sandboxes related code."
2019-05-09 17:44:59 +00:00
Jorim Jaggi
e03dab1994
Merge "Merge "Only consume status bar if FULLSCREEN is set" into qt-dev am: 89d1bdedf7" into qt-dev-plus-aosp
...
am: 77b716f308
Change-Id: I6947013a554dd997d28447e2e4068338c7cd1899
2019-05-09 10:07:49 -07:00
Jorim Jaggi
f0ded232e8
Merge "Check for null bg insets during initialization" into qt-dev
...
am: 44787038c2
Change-Id: I297e3c1d03166d8c286a22b30fb9285254cc1ae5
2019-05-09 09:46:17 -07:00
Jorim Jaggi
44787038c2
Merge "Check for null bg insets during initialization" into qt-dev
2019-05-09 16:20:28 +00:00
Jorim Jaggi
29552934a0
Merge "Only consume status bar if FULLSCREEN is set" into qt-dev
...
am: 89d1bdedf7
Change-Id: Ia61bda8b198150c38bff53eeae9b18437de1def7
2019-05-09 08:49:56 -07:00
Jorim Jaggi
89d1bdedf7
Merge "Only consume status bar if FULLSCREEN is set" into qt-dev
2019-05-09 14:34:19 +00:00
Jorim Jaggi
d798fd3f99
Check for null bg insets during initialization
...
Test: Turn on Ambient sensing, toggle ambient sensing in settings
Fixes: 132264167
Change-Id: I7f19a91a7d78f8e6ae730871aebb6f7bfb30a0c5
2019-05-09 16:06:02 +02:00
Jorim Jaggi
01d60d0907
Only consume status bar if FULLSCREEN is set
...
We only need to consume if the app may not expect to have insets,
meaning that they set fullscreen but it was denied.
Test: WindowInsetsPolicy
Fixes: 129272201
Change-Id: I6392f2bcb9a510db4c60bc4f071070b45f143dcb
2019-05-08 22:58:07 +02:00
Eugene Susla
43c03799ed
Fix Role tests
...
Fixes: 132135341
Test: atest CtsRoleTestCases:android.app.role.cts.RoleManagerTest#removeSmsRoleHolderThenDialerRoleAppOpIsNotDenied
Change-Id: Ie940b749ddf8d03bf64709e754f0a9c4c3f45a55
2019-05-08 13:31:31 -07:00
Matt Pietal
1c89a816cd
Merge "Sharesheet - Address misleading logs" into qt-dev am: b6e2ab9db9
...
am: dcdee8080c
Change-Id: I2aa73488bd4d9cb9e2bae47fe42aa30980872f67
2019-05-08 12:08:15 -07:00
Sudheer Shanka
e73ae32b34
Remove storage sandboxes related code.
...
Bug: 131115422
Test: manual
Test: atest --test-mapping packages/providers/MediaProvider
Test: atest cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ExternalStorageHostTest.java
Test: atest DownloadProviderTests
Test: atest cts/tests/app/src/android/app/cts/DownloadManagerTest.java
Test: atest cts/tests/app/DownloadManagerLegacyTest/src/android/app/cts/DownloadManagerLegacyTest.java
Test: atest cts/tests/app/DownloadManagerApi28Test/src/android/app/cts/DownloadManagerApi28Test.java
Change-Id: Ib8a10d3a9097c1dc4132a71782d622e9e3c3747d
2019-05-08 11:58:05 -07:00
Matt Pietal
39d181d0f4
Sharesheet - Fix shortcut ranking logic
...
Fallback code for AppPredictionService was causing legacy direct share
targets to be boosted over new shortcut api results.
Bug: 132259015
Test: Manual, via Messages alpha
Change-Id: I7edd94b4de6a235b2326aae7d91a594a5d11afe0
2019-05-08 14:48:30 -04:00
Matt Pietal
dcdee8080c
Merge "Sharesheet - Address misleading logs" into qt-dev
...
am: b6e2ab9db9
Change-Id: Ibbef8ae59129ea238b519cac3e82616ae6a52e2e
2019-05-08 11:26:52 -07:00
TreeHugger Robot
b6e2ab9db9
Merge "Sharesheet - Address misleading logs" into qt-dev
2019-05-08 17:59:33 +00:00
Tobias Thierer
533b333485
Inline calls to MimeUtils.
...
MimeMap is a configurable replacement for MimeUtils. This
CL inlines calls to MimeUtils, in preparation for its
removal.
Bug: 120171727
Test: atest com.android.mediaframeworktest.unit.MediaFileTest
Change-Id: I8a2bfec55d913cd0f85ed13fc9cdc052208ed729
Merged-In: I8a2bfec55d913cd0f85ed13fc9cdc052208ed729
(cherry picked from commit 524a364754 )
2019-05-08 13:00:11 +00:00
Jorim Jaggi
637d6cd468
Merge "Pretend to be having the original background" into qt-dev am: f9363aadeb
...
am: cd60bc92a4
Change-Id: I31b1f353cddb2239631f47a159ac9bb98cbb9bc2
2019-05-08 05:52:32 -07:00
Jorim Jaggi
cd60bc92a4
Merge "Pretend to be having the original background" into qt-dev
...
am: f9363aadeb
Change-Id: I41bb04676fd23fc968db37417b2cfc5c51aede20
2019-05-08 05:42:59 -07:00
Jorim Jaggi
f9363aadeb
Merge "Pretend to be having the original background" into qt-dev
2019-05-08 12:21:53 +00:00
Yunfan Chen
f8be8ce7fe
Merge "Merge "Do not hide caption for hiding navigation bar flag" into qt-dev am: aae9d6c77a" into qt-dev-plus-aosp
...
am: d7a867303b
Change-Id: Id8db095a4387c3904523d5b6c77635637a5f7aef
2019-05-07 19:37:29 -07:00
Yunfan Chen
6dde83452c
Merge "Do not hide caption for hiding navigation bar flag" into qt-dev
...
am: aae9d6c77a
Change-Id: I9fb617095fc34543cf5d3e35f3ddbb6fd56b3910
2019-05-07 15:42:07 -07:00
TreeHugger Robot
aae9d6c77a
Merge "Do not hide caption for hiding navigation bar flag" into qt-dev
2019-05-07 22:23:33 +00:00
Andrei Onea
f62d871729
Fix setting hidden api usage log sample rate
...
This fix addresses two related issues: one with the
DeviceConfig.onPropertiesChangedListener, and another with
HiddenApiUsageLogger.setHiddenApiAccessLogSampleRates.
In both cases, setting one of the sample rates
(hidden_api_access_log_sampling_rate or
hidden_api_access_statslog_sampling_rate) unsets the other. This is due
to them being sent sequentially instead of simultaneously.
Additionally, out of an abundance of caution, mirror the behaviour in
attemptConnectionToPrimaryZygote and attemptConnectionToSecondaryZygote
for the statslog sample rate. This was overlooked in a previous change.
Bug: 119217680
Test: m
Test: cts-tradefed run cts-dev -m CtsStatsdHostTestCases -t \
android.cts.statsd.atom.UidAtomTests#testHiddenApiUsed
Change-Id: I8a5534403269a2339fcabc8f847199ab837ae71b
Merged-In: I8a5534403269a2339fcabc8f847199ab837ae71b
(cherry picked from commit b019c7eea3 )
2019-05-07 18:18:08 +01:00
Jorim Jaggi
24cf50f00c
Pretend to be having the original background
...
...as otherwise setWindowBackground(bg) => bg == dv.getBackground
property is violated.
Also ensure the setBackground updates mOriginalBackground as well,
such that getBackground doesn't return a stale value.
Test: WindowTest
Test: Open maps
Bug: 130586696
Fixes: 130170137
Change-Id: I22b74ca6d4fd18600645b5d24814a90b8528745c
2019-05-07 17:17:48 +02:00
Matt Pietal
62532e55d6
Sharesheet - Address misleading logs
...
Log more informative warnings to assist developers in adding an
optional preview section.
Bug: 132152987
Test: Manual
Change-Id: I4a97675315871317591d627cccc79da3f7e89d46
2019-05-07 10:02:47 -04:00
Mehdi Alizadeh
04b52b3e5f
Merge "Collects metrics for the new Sharing Shortcuts api" into qt-dev
...
am: 573b3162a2
Change-Id: I15797e72d4369c84ed42a1c867787f2ab222036d
2019-05-06 17:39:00 -07:00
Mehdi Alizadeh
a20781c119
Collects metrics for the new Sharing Shortcuts api
...
Bug: 122904954
Test: atest com.android.server.pm.ShortcutManagerTest1 \
com.android.server.pm.ShortcutManagerTest2 \
com.android.server.pm.ShortcutManagerTest3 \
com.android.server.pm.ShortcutManagerTest4 \
com.android.server.pm.ShortcutManagerTest5 \
com.android.server.pm.ShortcutManagerTest6 \
com.android.server.pm.ShortcutManagerTest7 \
com.android.server.pm.ShortcutManagerTest8 \
com.android.server.pm.ShortcutManagerTest9 \
com.android.server.pm.ShortcutManagerTest10
Change-Id: Ifafcaa789814618846d41431d6190e4d79e871e5
(cherry picked from commit 97fb3ed8bc )
2019-05-06 17:31:10 -07:00
Mehdi Alizadeh
97fb3ed8bc
Collects metrics for the new Sharing Shortcuts api
...
Bug: 122904954
Test: atest com.android.server.pm.ShortcutManagerTest1 \
com.android.server.pm.ShortcutManagerTest2 \
com.android.server.pm.ShortcutManagerTest3 \
com.android.server.pm.ShortcutManagerTest4 \
com.android.server.pm.ShortcutManagerTest5 \
com.android.server.pm.ShortcutManagerTest6 \
com.android.server.pm.ShortcutManagerTest7 \
com.android.server.pm.ShortcutManagerTest8 \
com.android.server.pm.ShortcutManagerTest9 \
com.android.server.pm.ShortcutManagerTest10
Change-Id: Ifafcaa789814618846d41431d6190e4d79e871e5
2019-05-06 12:35:03 -07:00
Mike Digman
b782f3cef6
Merge "Sharesheet - make loading placeholders unclickable" into qt-dev am: f3c58fd242
...
am: 1daa3db772
Change-Id: Ieedbd74a01f54f6a9449f4f5754fd63db800e7a6
2019-05-06 06:20:02 -07:00
Mike Digman
1daa3db772
Merge "Sharesheet - make loading placeholders unclickable" into qt-dev
...
am: f3c58fd242
Change-Id: If10f7852a94fa14a1d0e1f6fc837cbbff0ead416
2019-05-06 05:35:28 -07:00
TreeHugger Robot
f3c58fd242
Merge "Sharesheet - make loading placeholders unclickable" into qt-dev
2019-05-06 12:05:22 +00:00
Yohei Yukawa
4618daca6e
Merge "Reenable CursorAnchorInfo API with ActivityView" into qt-dev am: 23d047ab15
...
am: 6d28fb9943
Change-Id: Iacb24ab68c1e6bf8268519808606149fb3e46178
2019-05-03 21:39:29 -07:00
Matt Pietal
961962cbd8
Merge "Sharesheet - Fix expansion area min size" into qt-dev am: 3f713de610
...
am: ab3ce169e5
Change-Id: I09e677dc489e2e6804a6f26773c289d37198b27c
2019-05-03 20:49:21 -07:00
Anton Hansson
b6c1491c76
Merge "Make DocumentCursor opt-out of having a self-observer" into qt-dev am: 3415499ae0
...
am: b5c3b32a40
Change-Id: I83d4b911a8955b2ce0ad6814fb172869ad81be96
2019-05-03 20:04:49 -07:00
Richard Uhler
29a726e5cd
Merge "Merge "Ensure race between rollback and roll forward is properly handled" into qt-dev am: 07a9e9f9f9" into qt-dev-plus-aosp
...
am: 2019673855
Change-Id: I1f7f2fe54fbd35e36d459730746ce5f906d69f85
2019-05-03 18:06:00 -07:00
Mike Digman
4b83c21d99
Sharesheet - make loading placeholders unclickable
...
The AVD used to animate loading ds targets is build using a
square with a ds shaped cutout. Ripples on touch that go below
the AVD show a square bounding box. This looks awful, prevent
ripples as clicking the placeholder does nothing anyway.
Fixes: 129979593
Test: visual inspection
Change-Id: Id8734f3d92bd104097a60a6aa411be71db3e4efe
2019-05-03 17:05:20 -07:00