OSDN Git Service

android-x86/frameworks-base.git
4 years agoMerge "SSIN: Use the application's context to load icon resources." into qt-qpr1-dev
TreeHugger Robot [Thu, 19 Sep 2019 22:01:07 +0000 (22:01 +0000)]
Merge "SSIN: Use the application's context to load icon resources." into qt-qpr1-dev

4 years agoMerge "Add new ProximitySensor wrapper that automatically uses appropriate sensor...
Dave Mankoff [Thu, 19 Sep 2019 21:54:03 +0000 (21:54 +0000)]
Merge "Add new ProximitySensor wrapper that automatically uses appropriate sensor." into qt-qpr1-dev

4 years agoMerge "Wifi usability: Change the unit of the threshold for tx/rx throughput from...
Mingguang Xu [Thu, 19 Sep 2019 21:06:44 +0000 (21:06 +0000)]
Merge "Wifi usability: Change the unit of the threshold for tx/rx throughput from Mbps to Kbps" into qt-qpr1-dev

4 years agoMerge "SoundTriggerHelper: fix state after audioserver death" into qt-qpr1-dev
Eric Laurent [Thu, 19 Sep 2019 18:28:31 +0000 (18:28 +0000)]
Merge "SoundTriggerHelper: fix state after audioserver death" into qt-qpr1-dev

4 years agoMerge "Import translations. DO NOT MERGE" into qt-qpr1-dev
TreeHugger Robot [Thu, 19 Sep 2019 17:57:35 +0000 (17:57 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev

4 years agoMerge "Acquire display suspend blocker for DozeService" into qt-dev am: 576a6f4ac5
Santos Cordon [Thu, 19 Sep 2019 15:16:01 +0000 (08:16 -0700)]
Merge "Acquire display suspend blocker for DozeService" into qt-dev am: 576a6f4ac5
am: 23da52265b

Change-Id: Ic09e1264f90a41e51018a849949a3bc45a23735b

4 years agoMerge "Acquire display suspend blocker for DozeService" into qt-dev
Santos Cordon [Thu, 19 Sep 2019 15:08:30 +0000 (08:08 -0700)]
Merge "Acquire display suspend blocker for DozeService" into qt-dev
am: 576a6f4ac5

Change-Id: I75471698513cfc72c87f0149d4da891d7156fa3b

4 years agoMerge "Acquire display suspend blocker for DozeService" into qt-dev
TreeHugger Robot [Thu, 19 Sep 2019 14:50:10 +0000 (14:50 +0000)]
Merge "Acquire display suspend blocker for DozeService" into qt-dev

4 years agoMerge "DO NOT MERGE: Revert "Force FGS notifications to show for a minimum time"...
TreeHugger Robot [Thu, 19 Sep 2019 14:13:57 +0000 (14:13 +0000)]
Merge "DO NOT MERGE: Revert "Force FGS notifications to show for a minimum time"" into qt-qpr1-dev

4 years agoDO NOT MERGE: Revert "Force FGS notifications to show for a minimum time"
Evan Laird [Wed, 18 Sep 2019 20:09:34 +0000 (20:09 +0000)]
DO NOT MERGE: Revert "Force FGS notifications to show for a minimum time"

This reverts commit 09843a687bc19f8e360b2f5b0493a1f378bb603b.

Reason for revert: There is possible reentrant behavior when posting the safeToRemove callback after a FGS has been canceled/reposted

Bug: 140948482
Change-Id: I2c5b9135e57a87f412dce8c167147dcb38f6bbae

4 years agoMerge "Do not return synthetic launcher activity for completely headless apps" into...
Ricky Wai [Thu, 19 Sep 2019 10:26:13 +0000 (10:26 +0000)]
Merge "Do not return synthetic launcher activity for completely headless apps" into qt-qpr1-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 19 Sep 2019 09:44:14 +0000 (02:44 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ia59167fa6651dcbb24c9422864985b5fe58526f7
Auto-generated-cl: translation import

4 years agoMerge "Use mContext directly, and enforce via logging" into qt-qpr1-dev
TreeHugger Robot [Thu, 19 Sep 2019 08:41:37 +0000 (08:41 +0000)]
Merge "Use mContext directly, and enforce via logging" into qt-qpr1-dev

4 years agoMerge "Revert "Use mContext directly"" into qt-qpr1-dev
TreeHugger Robot [Thu, 19 Sep 2019 08:41:37 +0000 (08:41 +0000)]
Merge "Revert "Use mContext directly"" into qt-qpr1-dev

4 years agoWifi usability: Change the unit of the threshold for tx/rx throughput from Mbps to...
Mingguang Xu [Thu, 19 Sep 2019 07:37:47 +0000 (00:37 -0700)]
Wifi usability: Change the unit of the threshold for tx/rx throughput from Mbps to Kbps

Data stall event can be triggered if the tx/rx tput is consecutively below a threshold over multiple RSSI polls. Changing the unit of the threshold from Mbps to Kbps allows us to configure a value below 1Mbps, e.g., 400Kbps.

Bug: 141027476

Test: frameworks/base/wifi/tests/runtests.sh

Signed-off-by: Mingguang Xu <mingguangxu@google.com>
Change-Id: Ib7b398fb6975c0d03b09550db9bf68a2bb8bddfb
Merged-In: I76d6338cd2d482d198fde1e5a2d1a0540c087ca6

4 years agoMerge "No need to use getExpandedBubble for singleTaskDisplayDrawn/Empty callbacks...
TreeHugger Robot [Thu, 19 Sep 2019 00:40:59 +0000 (00:40 +0000)]
Merge "No need to use getExpandedBubble for singleTaskDisplayDrawn/Empty callbacks" into qt-qpr1-dev

4 years agoMerge "docs: Add condition for hiding synth. activities" into qt-dev am: 00537efd07
Kevin Hufnagle [Thu, 19 Sep 2019 00:39:27 +0000 (17:39 -0700)]
Merge "docs: Add condition for hiding synth. activities" into qt-dev am: 00537efd07
am: 12298403b0

Change-Id: I7a71cdb8fd5ecfd008d0e8257185cdd8c5366ce0

4 years agoMerge "docs: Add condition for hiding synth. activities" into qt-dev
Kevin Hufnagle [Thu, 19 Sep 2019 00:32:55 +0000 (17:32 -0700)]
Merge "docs: Add condition for hiding synth. activities" into qt-dev
am: 00537efd07

Change-Id: I1ec3fb8fea7f6b5fe292807b3951fb265a9cbb94

4 years agoMerge "docs: Add condition for hiding synth. activities" into qt-dev
Kevin Hufnagle [Thu, 19 Sep 2019 00:20:47 +0000 (00:20 +0000)]
Merge "docs: Add condition for hiding synth. activities" into qt-dev

4 years agoMerge "Camera: fix NPE from bad requestID" into qt-qpr1-dev
TreeHugger Robot [Wed, 18 Sep 2019 20:54:27 +0000 (20:54 +0000)]
Merge "Camera: fix NPE from bad requestID" into qt-qpr1-dev

4 years agoMerge "Do not compute outside given range in TextLine" into qt-dev am: 01082fe6ae
Seigo Nonaka [Wed, 18 Sep 2019 20:30:17 +0000 (13:30 -0700)]
Merge "Do not compute outside given range in TextLine" into qt-dev am: 01082fe6ae
am: a2778ebe0d

Change-Id: I07c9f4c9a8bd9b6cdfa0f4da215d1b6f63ca9961

4 years agoMerge "Do not compute outside given range in TextLine" into qt-dev
Seigo Nonaka [Wed, 18 Sep 2019 20:17:17 +0000 (13:17 -0700)]
Merge "Do not compute outside given range in TextLine" into qt-dev
am: 01082fe6ae

Change-Id: I9d88c47a16747009fda893660fd36d325d212a40

4 years agoMerge "Do not compute outside given range in TextLine" into qt-dev
TreeHugger Robot [Wed, 18 Sep 2019 20:05:29 +0000 (20:05 +0000)]
Merge "Do not compute outside given range in TextLine" into qt-dev

4 years agoAdd new ProximitySensor wrapper that automatically uses appropriate sensor.
Dave Mankoff [Thu, 12 Sep 2019 17:39:42 +0000 (13:39 -0400)]
Add new ProximitySensor wrapper that automatically uses appropriate sensor.

Bug: 140270231
Test: manual && atest SystemUITests
Change-Id: Id151ce8f702f7deadab73ee3904a0a883870b237
Merged-In: Id151ce8f702f7deadab73ee3904a0a883870b237

4 years agoMerge "Wifi usability: Data stall detection based on link layer stats" into qt-qpr1-dev
Mingguang Xu [Wed, 18 Sep 2019 18:28:02 +0000 (18:28 +0000)]
Merge "Wifi usability:  Data stall detection based on link layer stats" into qt-qpr1-dev

4 years agoCamera: fix NPE from bad requestID
Yin-Chia Yeh [Mon, 17 Jun 2019 21:44:35 +0000 (14:44 -0700)]
Camera: fix NPE from bad requestID

This avoid NPE exception and accompanying logspam from binder
callbacks.

Test: N/A
Bug: 141250131
Merged-In: I729f4905c94698c95733570abe92ca3ba9163cc5
Change-Id: I729f4905c94698c95733570abe92ca3ba9163cc5
(cherry picked from commit 67bd78ad73dc76086ca5c31f5b9e7ba424dee584)

4 years agoMerge "Avoid going to SHADE_LOCKED when already in SHADE" into qt-qpr1-dev
Lucas Dupin [Wed, 18 Sep 2019 17:42:58 +0000 (17:42 +0000)]
Merge "Avoid going to SHADE_LOCKED when already in SHADE" into qt-qpr1-dev

4 years agoAvoid going to SHADE_LOCKED when already in SHADE
Lucas Dupin [Tue, 17 Sep 2019 15:19:53 +0000 (11:19 -0400)]
Avoid going to SHADE_LOCKED when already in SHADE

It's not possible for the device to go to SHADE_LOCKED after you're
already unlocked, still it's possible that it would happen.

Added an extra condition to avoid it, and logs to catch the regression
if it happens again.

Fixes: 139259891
Test: pull down notification while authenticating
Change-Id: I5c2b81906fa444dfd07d040b81a527245d4130e6

4 years agoDo not return synthetic launcher activity for completely headless apps
Ricky Wai [Thu, 5 Sep 2019 17:21:29 +0000 (18:21 +0100)]
Do not return synthetic launcher activity for completely headless apps

Bug: 140477182
Test: Headless app: no icon is shown on launcher
Test: App with launchable activity but disabled by default: no icon
Test: App with launchable activity, enabled by default but then disabled by command: has an icon on launcher
Change-Id: I58a36ac93d34583b2d4e50464b73cced77ce8edb
Merged-In: I58a36ac93d34583b2d4e50464b73cced77ce8edb
(cherry picked from commit 3eb1cc6588b81102732a446a2adcdc799a2cf3d0)

4 years agoWifi usability: Data stall detection based on link layer stats
Mingguang Xu [Sat, 14 Sep 2019 00:21:13 +0000 (17:21 -0700)]
Wifi usability:  Data stall detection based on link layer stats

This is an effort to define new criterion for triggering Wifi data stall:
(1) Defined data stall criterion based on transmit and/or receive throughput, transmit packet error rate, and CCA level. Data stall is triggered when transmit and/or receive links are consecutively bad over multiple RSSI polls.
(2) Added DeviceConfig flags (that is disabled by default) which may be configured on the server side to tune the thresholds at which data stall gets triggered.

Bug: 141027476
Test: frameworks/base/wifi/tests/runtests.sh

Change-Id: I895fd54cc7ec32815bce1899354ca265d4e93ea9
Signed-off-by: Mingguang Xu <mingguangxu@google.com>
Merged-In: I76d6338cd2d482d198fde1e5a2d1a0540c087ca6

4 years agoSSIN: Use the application's context to load icon resources.
Gustav Sennton [Fri, 13 Sep 2019 11:00:50 +0000 (12:00 +0100)]
SSIN: Use the application's context to load icon resources.

SSIN = Smart Suggestions in Notifications.
When posting a notification with contextual/smart actions app developers
supply their own icons for their actions. These icons can reference
resources from within the application package. Therefore we need to use
a Context from that package to load icon resources.
Before this CL we were using the SystemUi context which doesn't have
access to the same resources as the app context - meaning we were not
able to load the icon the app developer was providing us (unless they
provided an Icon instance rather than just a resource ID for their icon).

Bug: 137044913
Test: atest SmartReplyViewTest
Test: manual - create a notification with a
contextual action whose icon is referenced through a resource ID (not an
Icon instance). Ensure the icon is shown correctly in the notification.
Change-Id: Ia6d7b3689c46b65558437e00a947ba3cd330e4ca

4 years agoMerge "Allow signing key rotation" into qt-qpr1-dev
Cheonho Park [Wed, 18 Sep 2019 05:04:12 +0000 (05:04 +0000)]
Merge "Allow signing key rotation" into qt-qpr1-dev

4 years agoMerge "IdleMaint: run more frequently during 3AM to 4AM" into qt-qpr1-dev
Jaegeuk Kim [Wed, 18 Sep 2019 02:28:03 +0000 (02:28 +0000)]
Merge "IdleMaint: run more frequently during 3AM to 4AM" into qt-qpr1-dev

4 years agoMerge "Passing caller package name to setBluetoothTethering" into qt-qpr1-dev
TreeHugger Robot [Wed, 18 Sep 2019 00:56:12 +0000 (00:56 +0000)]
Merge "Passing caller package name to setBluetoothTethering" into qt-qpr1-dev

4 years agoMerge "Enter quick doze with non-wakeup alarm." into qt-qpr1-dev
TreeHugger Robot [Wed, 18 Sep 2019 00:26:34 +0000 (00:26 +0000)]
Merge "Enter quick doze with non-wakeup alarm." into qt-qpr1-dev

4 years agoMerge "DO NOT MERGE Use realCallerId to check launch display for Bubbles" into qt...
TreeHugger Robot [Wed, 18 Sep 2019 00:21:23 +0000 (00:21 +0000)]
Merge "DO NOT MERGE Use realCallerId to check launch display for Bubbles" into qt-qpr1-dev

4 years agoNo need to use getExpandedBubble for singleTaskDisplayDrawn/Empty callbacks
Mady Mellor [Tue, 17 Sep 2019 00:55:48 +0000 (17:55 -0700)]
No need to use getExpandedBubble for singleTaskDisplayDrawn/Empty callbacks

getExpandedBubble checks if the shade is expanded or not and returns
null if the shade is expanded, we don't care about that for the display
drawn callbacks.

Test: manual, have a bubble notification on lockscreen, tap it, note
      that the bubble is expanded & visible after going through lockscreen
Bug: 138461119
Change-Id: I00dff7cd3301db6a2613a947015ac0408b545202

4 years agoUse mContext directly, and enforce via logging
Daniel Rosenberg [Tue, 27 Aug 2019 02:29:45 +0000 (19:29 -0700)]
Use mContext directly, and enforce via logging

We already have the context saved, so we can just use that.
Add a log statement so we can test for the existence of this patch from
a CTS test.

Test: Edited code to force expection path to be called, confirmed
      reboot happens
Bug: 138952436
Bug: 140111727

Change-Id: Iaceec82d4716837158d1233400b4a44cbf67a5e8

4 years agoRevert "Use mContext directly"
Paul Lawrence [Tue, 3 Sep 2019 20:17:22 +0000 (13:17 -0700)]
Revert "Use mContext directly"

This reverts commit dd3737611c640a764bcc55d8bcea1d13c7ea7989.

Test: None, it's a revert
Bug: 138952436
Change-Id: Ib809ba017e3563c09ea35b1a9056a6a95f4bdfc2

4 years agoIdleMaint: run more frequently during 3AM to 4AM
Jaegeuk Kim [Thu, 25 Apr 2019 12:00:36 +0000 (05:00 -0700)]
IdleMaint: run more frequently during 3AM to 4AM

This patch makes IdleMaint trigger multiple times between
3AM and 4AM, if device is idle and power is not low. This
will not trigger until next 3AM.

Bug: 128594671
Change-Id: Id6596be44ff96d39f77fb21dca52c35952f2cf7e
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
4 years agoMerge "Fix status bar flickering" into qt-qpr1-dev
Lucas Dupin [Tue, 17 Sep 2019 22:46:13 +0000 (22:46 +0000)]
Merge "Fix status bar flickering" into qt-qpr1-dev

4 years agoMerge "Adding scrim bubble to car's super_status_bar.xml" into qt-qpr1-dev
Brad Stenning [Tue, 17 Sep 2019 22:23:57 +0000 (22:23 +0000)]
Merge "Adding scrim bubble to car's super_status_bar.xml" into qt-qpr1-dev

4 years agoMerge "Skip updating exclusion rects unless one is set" into qt-qpr1-dev
Winson Chung [Tue, 17 Sep 2019 20:44:25 +0000 (20:44 +0000)]
Merge "Skip updating exclusion rects unless one is set" into qt-qpr1-dev

4 years agoMerge "docs: Fixed contradictory info in IntentFilter" into qt-dev am: 1fe99017eb
Kevin Hufnagle [Tue, 17 Sep 2019 19:32:20 +0000 (12:32 -0700)]
Merge "docs: Fixed contradictory info in IntentFilter" into qt-dev am: 1fe99017eb
am: 1e8492c744

Change-Id: Idbc73307a0c3f4a937a2a964667f01b28aa274ce

4 years agoMerge "docs: Fixed contradictory info in IntentFilter" into qt-dev
Kevin Hufnagle [Tue, 17 Sep 2019 19:19:12 +0000 (12:19 -0700)]
Merge "docs: Fixed contradictory info in IntentFilter" into qt-dev
am: 1fe99017eb

Change-Id: I13ba0297750b5b375f4874640b14b4955d17eeaa

4 years agoMerge "docs: Fixed contradictory info in IntentFilter" into qt-dev
Kevin Hufnagle [Tue, 17 Sep 2019 18:54:20 +0000 (18:54 +0000)]
Merge "docs: Fixed contradictory info in IntentFilter" into qt-dev

4 years agodocs: Add condition for hiding synth. activities
Kevin Hufnagle [Fri, 13 Sep 2019 02:18:44 +0000 (02:18 +0000)]
docs: Add condition for hiding synth. activities

If an app doesn't have a launcher activity enabled by default, a
synthesized activity isn't created for that app.

Test: make ds-docs -j32

Bug: 140968734
Change-Id: I2fe8666ee8cde479f404e43c622f03891d96c38f

4 years agoAdding scrim bubble to car's super_status_bar.xml
jovanak [Wed, 4 Sep 2019 02:22:41 +0000 (19:22 -0700)]
Adding scrim bubble to car's super_status_bar.xml

Bug: 140308332
Test: sys ui boots on hawk
Change-Id: I111a5eef67ebe599d65b96687643cf1949d6bfbe
(cherry picked from commit 481a1040258f13ffc99b92ecfca146240a680382)

4 years agoMerge "Redraw legacy navigation bar paint onLayout" into qt-qpr1-dev
TreeHugger Robot [Tue, 17 Sep 2019 16:19:23 +0000 (16:19 +0000)]
Merge "Redraw legacy navigation bar paint onLayout" into qt-qpr1-dev

4 years agoFix status bar flickering
Lucas Dupin [Thu, 12 Sep 2019 18:03:39 +0000 (11:03 -0700)]
Fix status bar flickering

The keyguard status bar would be visible momentarily while the keyguard
is fading out. Let's keep it hidden until the keyguard is gone.

Test: reach, auth, press power, look at status bar: gone
Test: reach, press power, look at status bar: gone
Test: reboot, reach, press power, look at status bar: visible
Test: reach, press power, wait for auth filure, look at status bar: visible
Test: reach, pull down, wait for auth filure, look at status bar: visible
Fixes: 140259100
Change-Id: I0aa705107e11e3ad8182ac8d5b6104c9f86754be

4 years agoDO NOT MERGE Use realCallerId to check launch display for Bubbles
lumark [Sat, 14 Sep 2019 11:25:21 +0000 (19:25 +0800)]
DO NOT MERGE Use realCallerId to check launch display for Bubbles

Since sysui is an entity that decides the App can launch Bubbles
thruogh PendingIntent, it would be make sense that using sysui's realCallerId
to check launch display.

But in RootActivityContainer#getLaunchStack will end up to check launch
display with PendingIntent creater's pid (-1) & uid, which won't pass
the check in the first place.

Add realCallerPid / realCallerUid in
RootActivityContainer#getLaunchStack for ActivityStarter to input
realCallerId to fix above scenario.

Fix: 138753287
Test: atest RootActivityContainerTests#testGetLaunchStackWithRealCallerId
Test: manual as below test steps:
    1) Launch any app
    2) Pop-up a Bubbles
    3) In geusture nav mode, swping up app's activity to close and then press
    Bubble icon to launch Bubble's activity quickly.
    4) Expected app's activity should not shown.

Change-Id: Id3447f6a02f007b66932c59f6f9486688b1e8bad

4 years agoMerge "GestureNav: Fix bug in exlcusion limit device config" into qt-qpr1-dev
TreeHugger Robot [Tue, 17 Sep 2019 08:27:13 +0000 (08:27 +0000)]
Merge "GestureNav: Fix bug in exlcusion limit device config" into qt-qpr1-dev

4 years agoMerge changes I41e08b86,I7760f37d into qt-qpr1-dev
Mehdi Alizadeh [Mon, 16 Sep 2019 23:15:22 +0000 (23:15 +0000)]
Merge changes I41e08b86,I7760f37d into qt-qpr1-dev

* changes:
  Use ShortcutInfo#rank to order Sharing Shortcuts in ShareSheet
  Adds tests for AppPrediction service availability check

4 years agoDo not compute outside given range in TextLine
Seigo Nonaka [Mon, 16 Sep 2019 21:49:49 +0000 (14:49 -0700)]
Do not compute outside given range in TextLine

This is second attempt of I646851973b3816bf9ba32dfe26748c0345a5a081
which breaks various layout test on application.
The empty string must be also handled by the TextLine since it
retrieves the default line height from the empty string.

Bug: 140632678
Test: StaticLayoutTest
Test: Manually done
Change-Id: I7089ed9b711dddd7de2b27c9c2fa0fb4cb53a735

4 years agoSkip updating exclusion rects unless one is set
Winson Chung [Tue, 10 Sep 2019 17:52:32 +0000 (10:52 -0700)]
Skip updating exclusion rects unless one is set

Bug: 140775753
Bug: 140701977
Bug: 140758369
Test: atest google/perf/jank/SystemUI/UbSystemUIJankTests:android.platform.systemui.tests.jank.SystemUiJankTests#testQuickSettingsPull -v
Change-Id: I824ca918d141eb88aa99b1e90adafe64ca3eb672

4 years agoMerge "qt-r1-bubbles-dev @ build 5835883" into qt-qpr1-dev
Mady Mellor [Mon, 16 Sep 2019 21:55:51 +0000 (21:55 +0000)]
Merge "qt-r1-bubbles-dev @ build 5835883" into qt-qpr1-dev

4 years agoRedraw legacy navigation bar paint onLayout
Vinit Nayak [Fri, 13 Sep 2019 01:15:21 +0000 (18:15 -0700)]
Redraw legacy navigation bar paint onLayout

Navigation bar background wasn't being redrawn
when using legacy navigation bar.

Fixes: 140096278
Test: Open Sheets app, turn landscape, select
a cell, press the "Fx" button on buttom left,
turn portrait and observe no black bar.
Open Sheets app, turn landscape, open recents
and select sheets icon and go into split screen,
choose any other app, click on cell, press "Fx",
turn portrait, observe no black bar.

Change-Id: Ibfe1abdba87a0d66c68478ee206b992c933cd9ad
(cherry picked from commit 7ab1fb8f370cc87faafd4eda2d4c04791190b0e9)

4 years agoMerge "Add target type flags to set the origin of share targets" into qt-qpr1-dev
Mehdi Alizadeh [Mon, 16 Sep 2019 18:31:09 +0000 (18:31 +0000)]
Merge "Add target type flags to set the origin of share targets" into qt-qpr1-dev

4 years agoUse ShortcutInfo#rank to order Sharing Shortcuts in ShareSheet
Mehdi Alizadeh [Wed, 4 Sep 2019 01:11:48 +0000 (18:11 -0700)]
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

4 years agoMerge "L5 Metrics Addition:" into qt-qpr1-dev
Blake Kragten [Mon, 16 Sep 2019 18:19:54 +0000 (18:19 +0000)]
Merge "L5 Metrics Addition:" into qt-qpr1-dev

4 years agoAdds tests for AppPrediction service availability check
Mehdi Alizadeh [Thu, 12 Sep 2019 00:54:15 +0000 (17:54 -0700)]
Adds tests for AppPrediction service availability check

Bug: 138595943
Test: atest ChooserActivityTest
Change-Id: I7760f37d3f9fee00648cea5c70e744f1da2bdeca

4 years agoMerge "Handle "uninstall updates" in app-ops-service" into qt-qpr1-dev
Philip P. Moltmann [Mon, 16 Sep 2019 17:14:54 +0000 (17:14 +0000)]
Merge "Handle "uninstall updates" in app-ops-service" into qt-qpr1-dev

4 years agoAcquire display suspend blocker for DozeService
Santos Cordon [Thu, 1 Aug 2019 17:33:20 +0000 (18:33 +0100)]
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 d9701abf0482d644551657124a315ee1e6638e85)

4 years agoMerge "Add a carrier config to disable ping test" into qt-qpr1-dev
TreeHugger Robot [Sun, 15 Sep 2019 23:08:48 +0000 (23:08 +0000)]
Merge "Add a carrier config to disable ping test" into qt-qpr1-dev

4 years agoMerge "Import translations. DO NOT MERGE" into qt-qpr1-dev
TreeHugger Robot [Sun, 15 Sep 2019 22:19:34 +0000 (22:19 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev

4 years agoMerge "Fix touch goes to the window behide PiP" into qt-qpr1-dev
TreeHugger Robot [Sun, 15 Sep 2019 16:17:03 +0000 (16:17 +0000)]
Merge "Fix touch goes to the window behide PiP" into qt-qpr1-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 14 Sep 2019 22:58:31 +0000 (15:58 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ib027bdb5b5eb3cb6b5645a2a89876b68f97c034d
Auto-generated-cl: translation import

4 years agoMerge "Import translations. DO NOT MERGE" into qt-qpr1-dev
TreeHugger Robot [Sat, 14 Sep 2019 19:50:39 +0000 (19:50 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev

4 years agoMerge "Import translations. DO NOT MERGE" into qt-qpr1-dev
TreeHugger Robot [Sat, 14 Sep 2019 19:42:48 +0000 (19:42 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev

4 years agoMerge "Import translations. DO NOT MERGE" into qt-qpr1-dev
TreeHugger Robot [Sat, 14 Sep 2019 19:24:24 +0000 (19:24 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev

4 years agoMerge "Import translations. DO NOT MERGE" into qt-qpr1-dev
TreeHugger Robot [Sat, 14 Sep 2019 19:19:34 +0000 (19:19 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev

4 years agoMerge "Import translations. DO NOT MERGE" into qt-qpr1-dev
TreeHugger Robot [Sat, 14 Sep 2019 19:14:33 +0000 (19:14 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev

4 years agoMerge "Revert "don't compute outside of visible range"" into qt-dev am: e4d9618d67
Adam Seaton [Sat, 14 Sep 2019 12:48:50 +0000 (05:48 -0700)]
Merge "Revert "don't compute outside of visible range"" into qt-dev am: e4d9618d67
am: 3d623d54f2

Change-Id: I35674ab6ab6e5773f93377e64c7de1863423e562

4 years agoMerge "Revert "don't compute outside of visible range"" into qt-dev
Adam Seaton [Sat, 14 Sep 2019 12:28:23 +0000 (05:28 -0700)]
Merge "Revert "don't compute outside of visible range"" into qt-dev
am: e4d9618d67

Change-Id: I45acc1f2174f7faddfcd3e2f025e412afb8625d0

4 years agoMerge "Revert "don't compute outside of visible range"" into qt-dev
TreeHugger Robot [Sat, 14 Sep 2019 12:10:43 +0000 (12:10 +0000)]
Merge "Revert "don't compute outside of visible range"" into qt-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 14 Sep 2019 10:28:11 +0000 (03:28 -0700)]
Import translations. DO NOT MERGE

Change-Id: I698ae74015e0351fbf89090e19ce7c4bf605d822
Auto-generated-cl: translation import

4 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 14 Sep 2019 07:59:09 +0000 (00:59 -0700)]
Import translations. DO NOT MERGE

Change-Id: I286bacad06517310235f15d54447c83217cc60a4
Auto-generated-cl: translation import

4 years agoMerge "Camera: fix NPE in buffer error callback" into qt-qpr1-dev
TreeHugger Robot [Sat, 14 Sep 2019 07:46:58 +0000 (07:46 +0000)]
Merge "Camera: fix NPE in buffer error callback" into qt-qpr1-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 14 Sep 2019 07:31:54 +0000 (00:31 -0700)]
Import translations. DO NOT MERGE

Change-Id: I1e8591c173dec62b274e9c7a39246f4cdeea03ac
Auto-generated-cl: translation import

4 years agoMerge "Sharesheet - log copy actions." into qt-qpr1-dev
TreeHugger Robot [Sat, 14 Sep 2019 06:55:49 +0000 (06:55 +0000)]
Merge "Sharesheet - log copy actions." into qt-qpr1-dev

4 years agoAdd a carrier config to disable ping test
Sooraj Sasindran [Fri, 13 Sep 2019 17:40:32 +0000 (10:40 -0700)]
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

4 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 14 Sep 2019 01:11:53 +0000 (18:11 -0700)]
Import translations. DO NOT MERGE

Change-Id: I52acb9c019c72c34306fb0c330afe1f1ecbf7510
Auto-generated-cl: translation import

4 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 14 Sep 2019 01:02:56 +0000 (18:02 -0700)]
Import translations. DO NOT MERGE

Change-Id: I1ca9e4ec67aafc3276375ac103d8387b0f2781c4
Auto-generated-cl: translation import

4 years agoRevert "don't compute outside of visible range"
Adam Seaton [Fri, 13 Sep 2019 22:08:30 +0000 (22:08 +0000)]
Revert "don't compute outside of visible range"

bug:141016653
This reverts commit 0a57fe099a55ab3a7583b229fa7cfb905d6106f3.

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

Change-Id: I39954226cb8971ee17e367692b3fd0e29871ad48

4 years agoMerge "Fix QuotaController constants." into qt-qpr1-dev
TreeHugger Robot [Fri, 13 Sep 2019 21:46:47 +0000 (21:46 +0000)]
Merge "Fix QuotaController constants." into qt-qpr1-dev

4 years agoMerge "RESTRICT AUTOMERGE Remove the possibility of an NPE that is being seen in...
TreeHugger Robot [Fri, 13 Sep 2019 21:13:17 +0000 (21:13 +0000)]
Merge "RESTRICT AUTOMERGE Remove the possibility of an NPE that is being seen in " into qt-qpr1-dev

4 years agoFix QuotaController constants.
Kweku Adams [Fri, 13 Sep 2019 20:46:31 +0000 (13:46 -0700)]
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

4 years agoMerge "Add constant for System actions in Sharesheet." into qt-qpr1-dev
Alison Cichowlas [Fri, 13 Sep 2019 20:38:18 +0000 (20:38 +0000)]
Merge "Add constant for System actions in Sharesheet." into qt-qpr1-dev

4 years agoMerge "AudioTrack: fix default low power mode selection" into qt-qpr1-dev
Eric Laurent [Fri, 13 Sep 2019 19:28:16 +0000 (19:28 +0000)]
Merge "AudioTrack: fix default low power mode selection" into qt-qpr1-dev

4 years agoAdd constant for System actions in Sharesheet.
Alison Cichowlas [Thu, 12 Sep 2019 19:51:19 +0000 (15:51 -0400)]
Add constant for System actions in Sharesheet.

Test: manual; compiles
Bug: 140928181
Change-Id: I66e38efbf87bed573766a17cc1401ed19e606c48
(cherry picked from commit a2d980661cb7d02c917764bde1d426cb55bc2d88)

Merged-In: I66e38efbf87bed573766a17cc1401ed19e606c48

4 years agoMerge "SoundPool: Do not sleep on stop for USAGE_GAME or on BUFFER_END" into qt-qpr1-dev
Andy Hung [Fri, 13 Sep 2019 17:09:09 +0000 (17:09 +0000)]
Merge "SoundPool: Do not sleep on stop for USAGE_GAME or on BUFFER_END" into qt-qpr1-dev

4 years agoL5 Metrics Addition:
Blake Kragten [Wed, 28 Aug 2019 23:21:35 +0000 (16:21 -0700)]
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

4 years agoAudioTrack: fix default low power mode selection
Eric Laurent [Thu, 12 Sep 2019 02:13:08 +0000 (19:13 -0700)]
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

4 years agoSharesheet - log copy actions.
Alison Cichowlas [Thu, 12 Sep 2019 19:57:26 +0000 (15:57 -0400)]
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

4 years agoRESTRICT AUTOMERGE Remove the possibility of an NPE that is being seen in master.
Dave Mankoff [Thu, 12 Sep 2019 20:41:43 +0000 (16:41 -0400)]
RESTRICT AUTOMERGE Remove the possibility of an NPE that is being seen in 

This code is not actually doing anything useful in QPR1, so best to
simply remove it.

Bug: 140950258
Test: manual
Change-Id: I53abdef77a93ad854935f79e431d9861b40c2427

4 years ago[automerger skipped] Merge changes from topic "cherry-pick-dropped-sensor" into qt...
Lucas Dupin [Fri, 13 Sep 2019 08:20:44 +0000 (01:20 -0700)]
[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

4 years agoMerge changes from topic "cherry-pick-dropped-sensor" into qt-r1-dev
TreeHugger Robot [Fri, 13 Sep 2019 05:26:35 +0000 (05:26 +0000)]
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

4 years agoMerge "Ensure bounds animination for expanding PiP window" into qt-qpr1-dev
TreeHugger Robot [Fri, 13 Sep 2019 04:06:48 +0000 (04:06 +0000)]
Merge "Ensure bounds animination for expanding PiP window" into qt-qpr1-dev

4 years agoMerge "Import translations. DO NOT MERGE" into qt-qpr1-dev
TreeHugger Robot [Fri, 13 Sep 2019 04:04:40 +0000 (04:04 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 13 Sep 2019 02:49:38 +0000 (19:49 -0700)]
Import translations. DO NOT MERGE

Change-Id: I3f3bba17344fb571b61161b31ce22324db37314c
Auto-generated-cl: translation import