Commit Graph

424299 Commits

Author SHA1 Message Date
Mehdi Alizadeh
2a873c7628 Merge "Add target type flags to set the origin of share targets" into qt-qpr1-dev 2019-09-16 18:31:09 +00:00
Mehdi Alizadeh
707c0cf361 Use ShortcutInfo#rank to order Sharing Shortcuts in ShareSheet
Sort based on rank only when directly fetching the targets from
ShortcutManager. Otherwise the target from AppPredictionService are
already ordered.

Bug: 140449186
Test: atest ChooserActivityTest
Test: Manual test to verify shortcuts have the same order in Launcher and ShareSheet when AppPredictionService is disabled

Change-Id: I41e08b86746c977c05acea8a5d0654083897741d
2019-09-16 11:28:42 -07:00
Blake Kragten
9c16632a24 Merge "L5 Metrics Addition:" into qt-qpr1-dev 2019-09-16 18:19:54 +00:00
Mehdi Alizadeh
e870e97c73 Adds tests for AppPrediction service availability check
Bug: 138595943
Test: atest ChooserActivityTest
Change-Id: I7760f37d3f9fee00648cea5c70e744f1da2bdeca
2019-09-16 11:10:08 -07:00
Philip P. Moltmann
4d959eeba9 Merge "Handle "uninstall updates" in app-ops-service" into qt-qpr1-dev 2019-09-16 17:14:54 +00:00
Santos Cordon
c8fa1c6be4 Acquire display suspend blocker for DozeService
If DozeService explicitly requests the display state to be on,
then PowerManager needs to acquire the display suspend blocker even
while in DOZE mode to prevent the system from constantly trying
to suspend.

Bug: 138195405
Test: atest PowerManagerServiceTest
Change-Id: I05f5b86789ced084d0814480b2fe89d74f96a54e
(cherry picked from commit d9701abf04)
2019-09-16 11:34:36 +00:00
Jungshik Shin
0aeafabef3 Use NotoSansMyanmar (pure Unicode) fonts
Revert Myanmar fonts to those on Android P.

Instead NotoSansMyanmar*-ZawDecode (Unicode-Zawgyi hybrid) fonts,
go back to NotoSansMyanmar and NotoSansMyanmarUI (pure Unicode) fonts.

Bug: 141019225
Change-Id: Ib2494b9b5cb148f598e69271c5676e7104f66ae3
2019-09-16 06:21:17 +00:00
TreeHugger Robot
ffdedd2d17 Merge "Add a carrier config to disable ping test" into qt-qpr1-dev 2019-09-15 23:08:48 +00:00
TreeHugger Robot
e2529e748c Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-09-15 22:19:34 +00:00
TreeHugger Robot
23c1105c1b Merge "Fix touch goes to the window behide PiP" into qt-qpr1-dev 2019-09-15 16:17:03 +00:00
Bill Yi
6e7869d3bd Import translations. DO NOT MERGE
Change-Id: Ib027bdb5b5eb3cb6b5645a2a89876b68f97c034d
Auto-generated-cl: translation import
2019-09-14 15:58:31 -07:00
TreeHugger Robot
7350ab115a Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-09-14 19:50:39 +00:00
TreeHugger Robot
5a9d1aa916 Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-09-14 19:42:48 +00:00
TreeHugger Robot
3390e7b741 Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-09-14 19:24:24 +00:00
TreeHugger Robot
c7800c59b9 Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-09-14 19:19:34 +00:00
TreeHugger Robot
a83b18cc34 Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-09-14 19:14:33 +00:00
Adam Seaton
d3155ce312 Merge "Revert "don't compute outside of visible range"" into qt-dev am: e4d9618d67
am: 3d623d54f2

Change-Id: I35674ab6ab6e5773f93377e64c7de1863423e562
2019-09-14 05:48:50 -07:00
Adam Seaton
3d623d54f2 Merge "Revert "don't compute outside of visible range"" into qt-dev
am: e4d9618d67

Change-Id: I45acc1f2174f7faddfcd3e2f025e412afb8625d0
2019-09-14 05:28:23 -07:00
TreeHugger Robot
e4d9618d67 Merge "Revert "don't compute outside of visible range"" into qt-dev 2019-09-14 12:10:43 +00:00
Bill Yi
c5615d8c31 Import translations. DO NOT MERGE
Change-Id: I698ae74015e0351fbf89090e19ce7c4bf605d822
Auto-generated-cl: translation import
2019-09-14 03:28:11 -07:00
Bill Yi
b7b83c4145 Import translations. DO NOT MERGE
Change-Id: I286bacad06517310235f15d54447c83217cc60a4
Auto-generated-cl: translation import
2019-09-14 00:59:09 -07:00
TreeHugger Robot
d0a1ab93d4 Merge "Camera: fix NPE in buffer error callback" into qt-qpr1-dev 2019-09-14 07:46:58 +00:00
Bill Yi
e694ca1d65 Import translations. DO NOT MERGE
Change-Id: I1e8591c173dec62b274e9c7a39246f4cdeea03ac
Auto-generated-cl: translation import
2019-09-14 00:31:54 -07:00
TreeHugger Robot
c1d0b9cc00 Merge "Sharesheet - log copy actions." into qt-qpr1-dev 2019-09-14 06:55:49 +00:00
Sooraj Sasindran
12638b96ae Add a carrier config to disable ping test
Add a carrier config to disable ping test before data
switch to opportunistic network.

Bug: 141003010
Test: make
Merged-In: I56835e5b416685fbcf2ab2729aa6a039c7f11806
Change-Id: I56835e5b416685fbcf2ab2729aa6a039c7f11806
2019-09-14 01:39:05 +00:00
Bill Yi
53a2cae74d Import translations. DO NOT MERGE
Change-Id: I52acb9c019c72c34306fb0c330afe1f1ecbf7510
Auto-generated-cl: translation import
2019-09-13 18:11:53 -07:00
Bill Yi
22418c1329 Import translations. DO NOT MERGE
Change-Id: I1ca9e4ec67aafc3276375ac103d8387b0f2781c4
Auto-generated-cl: translation import
2019-09-13 18:02:56 -07:00
Adam Seaton
b4583e4dcd Revert "don't compute outside of visible range"
bug:141016653
This reverts commit 0a57fe099a.

Reason for revert: CL is implicated in https://b.corp.google.com/issues/141016653

Change-Id: I39954226cb8971ee17e367692b3fd0e29871ad48
2019-09-13 22:09:30 +00:00
TreeHugger Robot
af18cb56bf Merge "Fix QuotaController constants." into qt-qpr1-dev 2019-09-13 21:46:47 +00:00
TreeHugger Robot
421f0d367d Merge "RESTRICT AUTOMERGE Remove the possibility of an NPE that is being seen in master." into qt-qpr1-dev 2019-09-13 21:13:17 +00:00
Kweku Adams
42ad93b503 Fix QuotaController constants.
1. QuotaController wasn't using the updated constants on system start.
It would only use the updated constants if they were changed after
system start.
2. Updating ACTIVE limits to more workable numbers.

Bug: 137166468
Test: atest com.android.server.job.controllers.QuotaControllerTest
Change-Id: I9210d80187e33be86b3cd56c89a198fd97f69460
Merged-In: I3e2848446b20f7258fac2d96566c96aea5715949
Merged-In: I50be8680e449bea54c2e3b8300812a00cf6567af
2019-09-13 20:49:41 +00:00
Alison Cichowlas
0bff8bb2ef Merge "Add constant for System actions in Sharesheet." into qt-qpr1-dev 2019-09-13 20:38:18 +00:00
Eric Laurent
38dceceaf2 Merge "AudioTrack: fix default low power mode selection" into qt-qpr1-dev 2019-09-13 19:28:16 +00:00
Alison Cichowlas
65687f5c56 Add constant for System actions in Sharesheet.
Test: manual; compiles
Bug: 140928181
Change-Id: I66e38efbf87bed573766a17cc1401ed19e606c48
(cherry picked from commit a2d980661c)

Merged-In: I66e38efbf87bed573766a17cc1401ed19e606c48
2019-09-13 18:25:57 +00:00
Andy Hung
5e7948d399 Merge "SoundPool: Do not sleep on stop for USAGE_GAME or on BUFFER_END" into qt-qpr1-dev 2019-09-13 17:09:09 +00:00
Blake Kragten
025aabe693 L5 Metrics Addition:
Added L5 metrics to determine if L5 should be enabled or not.

Test: On device

adb shell dumpsys location

Output:
  Number of CN0 reports: 149
  Top 4 Avg CN0 mean (dB-Hz): 26.100838872410307
  Top 4 Avg CN0 standard deviation (dB-Hz): 1.7702387090734562
  Total number of sv status messages processed: 4202
  Total number of L5 sv status messages processed: 703
  Total number of sv status messages processed, where sv is used in fix: 1979
  Total number of L5 sv status messages processed, where sv is used in fix: 46
  Number of L5 CN0 reports: 97
  L5 Top 4 Avg CN0 mean (dB-Hz): 20.273711379041377
  L5 Top 4 Avg CN0 standard deviation (dB-Hz): 2.632911219511556
  Used-in-fix constellation types: GPS GLONASS GALILEO

Output Logs: https://drive.google.com/drive/folders/1tGEolHWtF92UkJ8lxgFihIzfWLl8ChZK?usp=sharing
Bug: 137575988
Change-Id: Id306d7cc27c9410a5ad73f5a0940c25f8d795686
Merged-In: Id306d7cc27c9410a5ad73f5a0940c25f8d795686
2019-09-13 16:36:17 +00:00
Eric Laurent
40f7e04f74 AudioTrack: fix default low power mode selection
Fix AudioAttributes flags checking logic in
shouldEnablePowerSaving() to take into account
flags that are compatible with deep buffer.

Bug: 140899988
Test: check that playback with Spotify goes to deep buffer
Change-Id: I492410b7837b15e248d61ec50dbb468e78e04524
2019-09-13 09:23:54 -07:00
Alison Cichowlas
aa7f79f960 Sharesheet - log copy actions.
Since we've promoted Copy to a system action, out of the general list of targets, it's no longer logged with the regular share target logging.

Bug: 140928181
Test: reviewed adb logcat -b event; correct event looks like
sysui_multi_action: [757,1749,758,4,759,1]
Change-Id: I699ffe0fb7c5631c6e8535377ada36a7ce855734
2019-09-13 15:18:24 +00:00
Dave Mankoff
9ee4f596b6 RESTRICT AUTOMERGE Remove the possibility of an NPE that is being seen in master.
This code is not actually doing anything useful in QPR1, so best to
simply remove it.


Bug: 140950258
Test: manual
Change-Id: I53abdef77a93ad854935f79e431d9861b40c2427
2019-09-13 14:05:12 +00:00
Lucas Dupin
67ab36fbee [automerger skipped] Merge changes from topic "cherry-pick-dropped-sensor" into qt-r1-dev
am: 1ed27213d0 -s ours
am skip reason: change_id Ic85181abb3edd4c77c427faefa4cd6b9c35b498f with SHA1 1946d87344 is in history

Change-Id: Ifd77e79fc398dc8d0839764f9768079ae26bd391
2019-09-13 01:20:44 -07:00
TreeHugger Robot
1ed27213d0 Merge changes from topic "cherry-pick-dropped-sensor" into qt-r1-dev
* changes:
  Fix issue where notif wouldn't HUN
  Assume sensors perform prox check
2019-09-13 05:26:35 +00:00
TreeHugger Robot
5daf6c480b Merge "Ensure bounds animination for expanding PiP window" into qt-qpr1-dev 2019-09-13 04:06:48 +00:00
TreeHugger Robot
6e2b06a155 Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-09-13 04:04:40 +00:00
Bill Yi
e81c76e436 Import translations. DO NOT MERGE
Change-Id: I3f3bba17344fb571b61161b31ce22324db37314c
Auto-generated-cl: translation import
2019-09-12 19:49:38 -07:00
Bill Yi
28d8d9c1ce Import translations. DO NOT MERGE
Change-Id: Ia6e2dfe436de60412625408a5754ec29432d2861
Auto-generated-cl: translation import
2019-09-12 19:38:10 -07:00
Lucas Dupin
19ef3004c1 Fix issue where notif wouldn't HUN
DozeSensors and DozeTriggers have code that perform proximity
checks in slightly different ways. DozeSensors was updated as
part of ag/9185335 bug DozeTriggers wasn't.

Bug: 9185335
Fixes: 140701062
Bug: 138765669
Test: partially cover prox, send notification, look at screen
Change-Id: Ic85181abb3edd4c77c427faefa4cd6b9c35b498f
Merged-In: Ic85181abb3edd4c77c427faefa4cd6b9c35b498f
2019-09-13 01:27:11 +00:00
Andy Hung
3ce301c6f3 SoundPool: Do not sleep on stop for USAGE_GAME or on BUFFER_END
Test: SoundPoolApplication, SoundPoolOggTest, Games
Bug: 139787914
Bug: 139788416
Bug: 140579743
Bug: 140779732
Merged-In: I83b9b1d61b65dcc4a73d676e1f8be1e022c70302
Change-Id: I83b9b1d61b65dcc4a73d676e1f8be1e022c70302
(cherry picked from commit a527524356)
2019-09-12 22:37:22 +00:00
Hongwei Wang
f0b5fb17fb Ensure bounds animination for expanding PiP window
The internal animation type maybe reset at the end of RecentsAnimation
following the repro path in bug comments. Ensure BOUNDS animation type
if we know for certain that we're expanding / collpasing the PiP window

Added also last reported multi-window and PiP mode in dumpsys. This is
for internal debug purpose only.

Bug: 137849660
Test: Manually, see b/137849660#comment9
Test: dumpsys activity -v all
Change-Id: I0b7d102ccb4bc27dd0e432d1022bc12a42a0c36d
Merged-In: I0b7d102ccb4bc27dd0e432d1022bc12a42a0c36d
(cherry picked from commit 2cebfd5e5f)
2019-09-12 21:55:46 +00:00
Fabian Kozynski
d2469209ea Merge "Fix incorrect text when on Airplane Mode" into qt-qpr1-dev 2019-09-12 21:38:14 +00:00
Lucas Dupin
9bab4a2624 Assume sensors perform prox check
Assume that doze sensors will be prox gated.
Not doing so would be a bad idea anyway since the device would wake
up way more often than it should and drain battery.

Another improvement on this CL is that regular DozeSensors prox
checks are trying to use a binned brightness sensor instead.

Fixes: 138765669
Test: atest DozeSensorsTest DozeTriggersTest
Test: single tap from AOD (observe no re-registration of lift)
Test: 'reach' from AOD (observe no re-registration of lift)
Test: receive notification with prox covered or unobstructed
Change-Id: I1961ff9b16480ba1a60c397570494dd7acb4802d
(cherry picked from commit f40bd8fbb6)
Merged-In: I1961ff9b16480ba1a60c397570494dd7acb4802d
2019-09-12 21:04:53 +00:00