OSDN Git Service

android-x86/frameworks-base.git
4 years agoMerge "Get resource based on subId for multi-SIM" into qt-r1-dev
Chiachang Wang [Sat, 17 Aug 2019 14:17:48 +0000 (07:17 -0700)]
Merge "Get resource based on subId for multi-SIM" into qt-r1-dev
am: 559e7a3de1

Change-Id: I0183e42f4b116c6fc44147a9ab6ef7d800bd3687

4 years agoMerge "Get resource based on subId for multi-SIM" into qt-r1-dev
TreeHugger Robot [Sat, 17 Aug 2019 13:58:53 +0000 (13:58 +0000)]
Merge "Get resource based on subId for multi-SIM" into qt-r1-dev

4 years agoSkip using the AppPredictionService if the component is not available
Mehdi Alizadeh [Thu, 15 Aug 2019 23:31:38 +0000 (16:31 -0700)]
Skip using the AppPredictionService if the component is not available

This CL adds a safeguard in ShareSheet to avoid calls to
AppPredictionService when the service is defined but is not available,
for example in the case of a wrong AiAi apk pushed from GooglePlay.

Bug: 138595943
Test: Manual test by removing the AiAi package from device

Change-Id: I4109c5122faa753d5111ee45698301cb6ccdd7b5

4 years agoMerge "Do not stop idmap2d after OMS initialization" into qt-r1-dev
Ryan Mitchell [Fri, 16 Aug 2019 20:11:37 +0000 (13:11 -0700)]
Merge "Do not stop idmap2d after OMS initialization" into qt-r1-dev
am: 3186b40edf

Change-Id: I0374997faf945a2cd60179cf1c35a7fbcd255285

4 years agoMerge "Do not stop idmap2d after OMS initialization" into qt-r1-dev
TreeHugger Robot [Fri, 16 Aug 2019 19:43:52 +0000 (19:43 +0000)]
Merge "Do not stop idmap2d after OMS initialization" into qt-r1-dev

4 years agoMerge "Update the string on how to exit pinning mode in gesture navigation" into...
TreeHugger Robot [Fri, 16 Aug 2019 01:59:02 +0000 (01:59 +0000)]
Merge "Update the string on how to exit pinning mode in gesture navigation" into qt-qpr1-dev

4 years agoMerge "API: Explicitly track incompatibilities with previous API versions" into qt...
Adrian Roos [Thu, 15 Aug 2019 20:41:58 +0000 (13:41 -0700)]
Merge "API: Explicitly track incompatibilities with previous API versions" into qt-dev am: d3b53e080d
am: 1ac726e718

Change-Id: Ie0aa594144d841a3a5f3ead1c67fb543b06f7593

4 years agoMerge "API: Explicitly track incompatibilities with previous API versions" into qt-dev
Adrian Roos [Thu, 15 Aug 2019 20:20:20 +0000 (13:20 -0700)]
Merge "API: Explicitly track incompatibilities with previous API versions" into qt-dev
am: d3b53e080d

Change-Id: I6da708a8b05f762af1b781db75aa2511aa895abf

4 years agoUpdate the string on how to exit pinning mode in gesture navigation
Hongwei Wang [Wed, 14 Aug 2019 21:55:27 +0000 (14:55 -0700)]
Update the string on how to exit pinning mode in gesture navigation

Bug: 139438042
Test: Back gesture in screen pinning mode
Change-Id: Ia21e0324cb9a78c6664f4ba787189c6a2423a03d
Merged-In: Ia21e0324cb9a78c6664f4ba787189c6a2423a03d

4 years agoMerge "API: Explicitly track incompatibilities with previous API versions" into qt-dev
TreeHugger Robot [Thu, 15 Aug 2019 18:07:32 +0000 (18:07 +0000)]
Merge "API: Explicitly track incompatibilities with previous API versions" into qt-dev

4 years agoMerge changes from topic "b138787339-daggerize" into qt-qpr1-dev
Dave Mankoff [Thu, 15 Aug 2019 15:41:34 +0000 (15:41 +0000)]
Merge changes from topic "b138787339-daggerize" into qt-qpr1-dev

* changes:
  Pass FalsingManager down through more classes.
  Allow Services to be created through Dagger.

4 years agoMerge "ktlint fixes" into qt-qpr1-dev
Daniel Sandler [Thu, 15 Aug 2019 15:21:54 +0000 (15:21 +0000)]
Merge "ktlint fixes" into qt-qpr1-dev

4 years agoMerge "Allow for more wiggle room (literally) in BrightlineFalsingManager." into...
Dave Mankoff [Thu, 15 Aug 2019 14:53:35 +0000 (07:53 -0700)]
Merge "Allow for more wiggle room (literally) in BrightlineFalsingManager." into qt-r1-dev
am: 9dccbdca70

Change-Id: I56ca831bd6929c8692ac4c93aed52d5c1fb46e24

4 years agoMerge "Allow for more wiggle room (literally) in BrightlineFalsingManager." into...
Dave Mankoff [Thu, 15 Aug 2019 14:37:06 +0000 (14:37 +0000)]
Merge "Allow for more wiggle room (literally) in BrightlineFalsingManager." into qt-r1-dev

4 years agoFixed SystemServiceRegistry to return a null AppPredictionManager when the service...
Felipe Leme [Thu, 15 Aug 2019 01:14:55 +0000 (18:14 -0700)]
Fixed SystemServiceRegistry to return a null AppPredictionManager when the service is not defined.

Test: manual verification
Test: atest CtsAssistTestCases

Fixes: 139416391

Change-Id: Ieb2ae3f39bd42dc077ed3db1c6acdf429a39d519

4 years agoMerge "Fix interfaceVersion in DhcpServerCallbacks" into qt-r1-dev
Remi NGUYEN VAN [Thu, 15 Aug 2019 03:44:53 +0000 (20:44 -0700)]
Merge "Fix interfaceVersion in DhcpServerCallbacks" into qt-r1-dev
am: 9a0d576b4d

Change-Id: Ibea00c309b18939c12275d760ee35539e0b157ba

4 years agoMerge "Added debug messages and watchdog" into qt-r1-dev
Jack Yu [Thu, 15 Aug 2019 03:34:47 +0000 (20:34 -0700)]
Merge "Added debug messages and watchdog" into qt-r1-dev
am: 24397e7a07

Change-Id: I22a4a8e6599e46a0c3aba931af82bf98d7f48ece

4 years agoMerge "Fix interfaceVersion in DhcpServerCallbacks" into qt-r1-dev
TreeHugger Robot [Thu, 15 Aug 2019 03:27:35 +0000 (03:27 +0000)]
Merge "Fix interfaceVersion in DhcpServerCallbacks" into qt-r1-dev

4 years agoMerge "Added debug messages and watchdog" into qt-r1-dev
Jack Yu [Thu, 15 Aug 2019 03:15:12 +0000 (03:15 +0000)]
Merge "Added debug messages and watchdog" into qt-r1-dev

4 years agoMerge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev am:...
Kevin Hufnagle [Thu, 15 Aug 2019 00:44:51 +0000 (17:44 -0700)]
Merge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev am: 81d74c6c72
am: 4125bd9b25

Change-Id: I546bb1192d0cd85a8d8f0df1e723aebdc4718020

4 years agoMerge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev
Kevin Hufnagle [Thu, 15 Aug 2019 00:35:05 +0000 (17:35 -0700)]
Merge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev
am: 81d74c6c72

Change-Id: I964a029a53fb5f14d872baceee9883391da24cd3

4 years agoAdded debug messages and watchdog
Jack Yu [Wed, 14 Aug 2019 09:32:17 +0000 (02:32 -0700)]
Added debug messages and watchdog

Added debug messages and watchdog to catch
unresponsive data service issue.

Bug: 139076980
Test: Manual
Change-Id: I52dd126fddc1b1e8b18d5388a92aabaa3e2e48d5

4 years agoMerge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev
Kevin Hufnagle [Wed, 14 Aug 2019 23:32:22 +0000 (23:32 +0000)]
Merge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev

4 years agoMerge "Enables back gesture nav in screen pinning" into qt-r1-dev
Hongwei Wang [Wed, 14 Aug 2019 21:31:18 +0000 (14:31 -0700)]
Merge "Enables back gesture nav in screen pinning" into qt-r1-dev
am: f8108f81cc

Change-Id: Ibc491beb050da96ea742194c0f539d44c46f845b

4 years agoMerge "Set a minimum height for invocation lights" into qt-qpr1-dev
TreeHugger Robot [Wed, 14 Aug 2019 21:12:29 +0000 (21:12 +0000)]
Merge "Set a minimum height for invocation lights" into qt-qpr1-dev

4 years agoMerge "Enables back gesture nav in screen pinning" into qt-r1-dev
Hongwei Wang [Wed, 14 Aug 2019 20:50:57 +0000 (20:50 +0000)]
Merge "Enables back gesture nav in screen pinning" into qt-r1-dev

4 years agoMerge "docs: Added desc. of launcher app criteria in Q" into qt-dev am: a5e5c177d1
Kevin Hufnagle [Wed, 14 Aug 2019 20:36:06 +0000 (13:36 -0700)]
Merge "docs: Added desc. of launcher app criteria in Q" into qt-dev am: a5e5c177d1
am: ae80734298

Change-Id: I7e0d4b86a69c3976cff1e058240c2292891f4951

4 years agoMerge "docs: Added desc. of launcher app criteria in Q" into qt-dev
Kevin Hufnagle [Wed, 14 Aug 2019 20:23:33 +0000 (13:23 -0700)]
Merge "docs: Added desc. of launcher app criteria in Q" into qt-dev
am: a5e5c177d1

Change-Id: I270a33ab91ec0185bda3c82e600b18c9cca6c8ec

4 years agoMerge "docs: Correct sensor runtime permission documentation" into qt-dev am: 119f1220cd
Brian Duddie [Wed, 14 Aug 2019 20:19:42 +0000 (13:19 -0700)]
Merge "docs: Correct sensor runtime permission documentation" into qt-dev am: 119f1220cd
am: 7eeb6f60f9

Change-Id: Ib01177a1863818238d5998628252dc5c4372e06d

4 years agoMerge "docs: Correct sensor runtime permission documentation" into qt-dev
Brian Duddie [Wed, 14 Aug 2019 20:09:45 +0000 (13:09 -0700)]
Merge "docs: Correct sensor runtime permission documentation" into qt-dev
am: 119f1220cd

Change-Id: I380c1dab916509ac0878e8a60712e7f08e7451a5

4 years agoMerge "Fix number of pages in PagedTileLayout" into qt-qpr1-dev
TreeHugger Robot [Wed, 14 Aug 2019 19:46:16 +0000 (19:46 +0000)]
Merge "Fix number of pages in PagedTileLayout" into qt-qpr1-dev

4 years agoRevert "docs: Added desc. of launcher app criteria in Q"
Kevin Hufnagle [Wed, 14 Aug 2019 19:22:59 +0000 (19:22 +0000)]
Revert "docs: Added desc. of launcher app criteria in Q"

This reverts commit 786f22e4169126c82358490ad6e9c70028fc102b.

Reason for revert: Need further feedback from SMEs

Bug: 130352392

Change-Id: I51b3bd19e27d28fe3aea300893da50bbf889ec73

4 years agoMerge "docs: Added desc. of launcher app criteria in Q" into qt-dev
Kevin Hufnagle [Wed, 14 Aug 2019 19:22:11 +0000 (19:22 +0000)]
Merge "docs: Added desc. of launcher app criteria in Q" into qt-dev

4 years agoPass FalsingManager down through more classes.
Dave Mankoff [Fri, 28 Jun 2019 20:33:25 +0000 (16:33 -0400)]
Pass FalsingManager down through more classes.

The CP's http://ag/c/8269205, with some minor modifications.

This removes FalsingManagerFactory, replacing it with
calls to Depedency.get() and pushes those calls further
up the stack in hopes that the FalsingManager can be directly
injected where it's needed in the future.

Contains a few random lint cleanups.

Bug: 136279712
Test: atest SystemUITests
Change-Id: Idd66e40d3bb9ebe9ca583166d5e961cc70ea51b8
Merged-In: Ie24acd33b0d81ae2112aead0c0d5a8658e04994e

4 years agoAllow Services to be created through Dagger.
Dave Mankoff [Wed, 3 Jul 2019 17:26:55 +0000 (13:26 -0400)]
Allow Services to be created through Dagger.

This is a significant change that allows Services to have their
constructed injected into.

The DozeService is now labeled as injectable (thought it takes no arguments).
At least one Service has to be marked as injectable for Dagger to be happy
compiling this code.

Bug: 138787339
Test: atest SystemUITests
Change-Id: I0ec92e01dd236bcee3083c8f8744c53b7ccc92d3
Merged-In: Ib58f8763c996fbc2aea07ead56493d2d9e936f5b

4 years agoktlint fixes
Dan Sandler [Wed, 14 Aug 2019 17:52:54 +0000 (13:52 -0400)]
ktlint fixes

Test: compile
Change-Id: Ib7ea80a04527034ed704229962fe124817e4c679

4 years agoDo not stop idmap2d after OMS initialization
Ryan Mitchell [Wed, 14 Aug 2019 17:25:26 +0000 (10:25 -0700)]
Do not stop idmap2d after OMS initialization

The OMS was calling stopIdmapService after OMS initialization finished.
This method was not setting the cached service binder to null and the
service binder was being reused when an overlay is enabled or disabled
within the 10 seconds the connection to the service is still opened.

This change no longer calls stopIdmapService and makes startIdmapService
and stopIdmapService private to IdmapDaemon.

Bug: 139307780
Test: enabled overlay within 10 seconds of OMS startup ending and
      observed state STATE_ENABLED.
Change-Id: I46b6a3631278c4dbdf5e5d373e085bac5186ed9a

4 years agoMerge "docs: Correct sensor runtime permission documentation" into qt-dev
Brian Duddie [Wed, 14 Aug 2019 17:32:05 +0000 (17:32 +0000)]
Merge "docs: Correct sensor runtime permission documentation" into qt-dev

4 years agoAllow for more wiggle room (literally) in BrightlineFalsingManager.
Dave Mankoff [Tue, 13 Aug 2019 21:52:01 +0000 (17:52 -0400)]
Allow for more wiggle room (literally) in BrightlineFalsingManager.

Bug: 138812628
Change-Id: I8590b2daff0337a395d333c07c2231cc10d236a3
Test: manual testing with different people to find better values.

4 years agoGet resource based on subId for multi-SIM
Chiachang Wang [Wed, 14 Aug 2019 11:54:59 +0000 (04:54 -0700)]
Get resource based on subId for multi-SIM

The resource loading is done based on the last SIM to come up
which is not a deterministic design. Thus, update the way to get
the resource based on the subId.

Test: atest FrameworksNetTests
Test: manually test with avoid bad wifi feature supported sim
Bug: 138956509
Change-Id: Ib5b085d97103889600773d269e03b939c29ca47d
Merged-In: Ib5b085d97103889600773d269e03b939c29ca47d
(cherry picked from commit 5e994ea02c7a820543f3726186240548676f4b4e)

4 years agoMerge "apply empty transaction in startActivitySync" into qt-dev am: f928b661d9
Prabir Pradhan [Wed, 14 Aug 2019 08:53:13 +0000 (01:53 -0700)]
Merge "apply empty transaction in startActivitySync" into qt-dev am: f928b661d9
am: 5cd874d792

Change-Id: I9c9ac83d6466c1d9c5ac666cfcfe0920b276ffdc

4 years agoMerge "apply empty transaction in startActivitySync" into qt-dev
Prabir Pradhan [Wed, 14 Aug 2019 08:40:41 +0000 (01:40 -0700)]
Merge "apply empty transaction in startActivitySync" into qt-dev
am: f928b661d9

Change-Id: Ic4b27be6729a3a7627a8fc499cd99fdec42cad35

4 years agoMerge "apply empty transaction in startActivitySync" into qt-dev
TreeHugger Robot [Wed, 14 Aug 2019 06:42:05 +0000 (06:42 +0000)]
Merge "apply empty transaction in startActivitySync" into qt-dev

4 years agoMerge "ThermalService: add event log when temperature changed" into qt-qpr1-dev
Wei Wang [Wed, 14 Aug 2019 03:41:44 +0000 (03:41 +0000)]
Merge "ThermalService: add event log when temperature changed" into qt-qpr1-dev

4 years agoMerge "Fix double auth issue" into qt-qpr1-dev
TreeHugger Robot [Tue, 13 Aug 2019 23:10:04 +0000 (23:10 +0000)]
Merge "Fix double auth issue" into qt-qpr1-dev

4 years agoMerge "Don't start intelligence services that are not provided by the OEM." into...
TreeHugger Robot [Tue, 13 Aug 2019 21:52:56 +0000 (21:52 +0000)]
Merge "Don't start intelligence services that are not provided by the OEM." into qt-qpr1-dev

4 years agoThermalService: add event log when temperature changed
Wei Wang [Thu, 1 Aug 2019 18:51:15 +0000 (11:51 -0700)]
ThermalService: add event log when temperature changed

Bug: 126562025
Test: Use emul_temp to test event log
Change-Id: I4271d226f106cfd61960f858429de8042fb5a7c8
(cherry picked from commit d295b27c3ad54cc67b0a0a6a96fba88e458b1548)

4 years agoMerge "[AT&T] Add key to show 4g for 3g RAT." into qt-r1-dev
Vagdevi Kondeti [Tue, 13 Aug 2019 19:07:31 +0000 (12:07 -0700)]
Merge "[AT&T] Add key to show 4g for 3g RAT." into qt-r1-dev
am: d7a23cc714

Change-Id: I6ac937185796a11cba2efe513877ed330915290a

4 years agoMerge "[AT&T] Add key to show 4g for 3g RAT." into qt-r1-dev
Vagdevi Kondeti [Tue, 13 Aug 2019 18:57:29 +0000 (18:57 +0000)]
Merge "[AT&T] Add key to show 4g for 3g RAT." into qt-r1-dev

4 years agodocs: Correct sensor runtime permission documentation
Brian Duddie [Tue, 13 Aug 2019 18:42:19 +0000 (11:42 -0700)]
docs: Correct sensor runtime permission documentation

The ACTIVITY_RECOGNITION permission applies to TYPE_STEP_DETECTOR, not
TYPE_GEOMAGNETIC_ROTATION_VECTOR.

Bug: 139363621
Test: n/a, comment update only
Change-Id: Ibce74be1e704ded04ae710988d0e03df43ab1cf9

4 years agoMerge "bootanimation: Change bootanim ioprio to highest in IOPRIO_CLASS_RT" into...
Miguel de Dios [Tue, 13 Aug 2019 18:13:49 +0000 (11:13 -0700)]
Merge "bootanimation: Change bootanim ioprio to highest in IOPRIO_CLASS_RT" into qt-r1-dev
am: f64c698ec7

Change-Id: I3f13d721d20a3610880cfc515caa732de121f766

4 years agoMerge "fixes a security vulnerability in slice provider" into qt-qpr1-dev
Pinyao Ting [Tue, 13 Aug 2019 18:04:29 +0000 (18:04 +0000)]
Merge "fixes a security vulnerability in slice provider" into qt-qpr1-dev

4 years agoEnables back gesture nav in screen pinning
Hongwei Wang [Mon, 12 Aug 2019 18:26:14 +0000 (11:26 -0700)]
Enables back gesture nav in screen pinning

Bug: 138969972
Test: Back gesture in screen pinning mode
Change-Id: I0ddb7a6e7978e7ec82d7949048e75147c5ece3c8

4 years agoMerge "bootanimation: Change bootanim ioprio to highest in IOPRIO_CLASS_RT" into...
TreeHugger Robot [Tue, 13 Aug 2019 17:45:57 +0000 (17:45 +0000)]
Merge "bootanimation: Change bootanim ioprio to highest in IOPRIO_CLASS_RT" into qt-r1-dev

4 years agoFix double auth issue
Lucas Dupin [Fri, 9 Aug 2019 17:35:34 +0000 (10:35 -0700)]
Fix double auth issue

This was a regression from a security fix b/135289187

Test: reach, auth, swipe up
Test: reach, auth, ait for timeout, reach again
Fixes: 138851575
Change-Id: Icd457dc79cb6f86a7cbb22a78ee80ebfbb4380a7
Merged-In: Icd457dc79cb6f86a7cbb22a78ee80ebfbb4380a7

4 years agoSet a minimum height for invocation lights
Miranda Kephart [Tue, 13 Aug 2019 16:46:53 +0000 (12:46 -0400)]
Set a minimum height for invocation lights

The height of the invocation lights view was set to the corner
radius, so phones with square corners (and therefore corner radius
zero) had zero-height views (making the motion indication invisible).

This change sets the minimum possible height to the height of the
lights themselves (the stroke width).

Fix: 138667570
Test: invoked assistant before and after change on walleye, change
causes assistant motion lights/indication to be visible

Change-Id: I54e765601688abb8d5c736a9b68556a876912639

4 years agoMerge "Freezing screen when dismiss pip if orientation is going to change." into...
wilsonshih [Tue, 13 Aug 2019 04:41:45 +0000 (21:41 -0700)]
Merge "Freezing screen when dismiss pip if orientation is going to change." into qt-r1-dev
am: 41b006d8d6

Change-Id: I4c66179b972c9137fc233df385cbf4699f635d55

4 years agoMerge "Freezing screen when dismiss pip if orientation is going to change." into...
TreeHugger Robot [Tue, 13 Aug 2019 04:09:12 +0000 (04:09 +0000)]
Merge "Freezing screen when dismiss pip if orientation is going to change." into qt-r1-dev

4 years agoMerge "Fix sensor triggering issue" into qt-r1-dev
Lucas Dupin [Tue, 13 Aug 2019 01:20:09 +0000 (18:20 -0700)]
Merge "Fix sensor triggering issue" into qt-r1-dev
am: fba4296329

Change-Id: I4e361ec71856b572220bfebf47a62965ef79786f

4 years agofixes a security vulnerability in slice provider
Pinyao Ting [Thu, 8 Aug 2019 22:35:20 +0000 (15:35 -0700)]
fixes a security vulnerability in slice provider

Bug: 138441555
Test: Manual
Change-Id: Ib1b4fba54ebd3599fe11021d21dc9b09d34e8965

4 years agoMerge "Fix sensor triggering issue" into qt-r1-dev
TreeHugger Robot [Tue, 13 Aug 2019 00:24:14 +0000 (00:24 +0000)]
Merge "Fix sensor triggering issue" into qt-r1-dev

4 years agodocs: Added desc. of launcher app criteria in Q
Kevin Hufnagle [Mon, 12 Aug 2019 23:52:41 +0000 (16:52 -0700)]
docs: Added desc. of launcher app criteria in Q

As of Android Q, an app is included in the return value of
LauncherApps#getActivityList() unless it fulfills specific criteria.
This CL describes the conditions necessary for an app's activities
to *not* appear in the list.

Test: make ds-docs -j32

Bug: 130352392
Change-Id: Iad888a7a7f47d090da1b143ac152705577144d20

4 years agoMerge "Log various types of back gesture using StatsLog Bug: 135152789 Test: m statsd...
Hyunyoung Song [Mon, 12 Aug 2019 23:35:05 +0000 (16:35 -0700)]
Merge "Log various types of back gesture using StatsLog Bug: 135152789 Test: m statsd_testdrive -j31 Test: out/host/linux-x86/bin/statsd_testdrive 224" into qt-r1-dev
am: fa38ed5296

Change-Id: I3250c533571e6b371de81e75fc8094a5b3c59d8e

4 years agoMerge "Log various types of back gesture using StatsLog Bug: 135152789 Test: m statsd...
TreeHugger Robot [Mon, 12 Aug 2019 23:18:04 +0000 (23:18 +0000)]
Merge "Log various types of back gesture using StatsLog Bug: 135152789 Test: m statsd_testdrive -j31 Test: out/host/linux-x86/bin/statsd_testdrive 224" into qt-r1-dev

4 years agoMerge "Prevent Infinite Recursion in Telecom Sessions" into qt-qpr1-dev
TreeHugger Robot [Mon, 12 Aug 2019 23:08:04 +0000 (23:08 +0000)]
Merge "Prevent Infinite Recursion in Telecom Sessions" into qt-qpr1-dev

4 years agoMerge "Using the keyguard fading away duration for the scrim" into qt-r1-dev
Selim Cinek [Mon, 12 Aug 2019 23:03:04 +0000 (16:03 -0700)]
Merge "Using the keyguard fading away duration for the scrim" into qt-r1-dev
am: 85224a5834

Change-Id: I11aafc252dc733ef01cafd510b3a602aea803804

4 years agoMerge "Using the keyguard fading away duration for the scrim" into qt-r1-dev
TreeHugger Robot [Mon, 12 Aug 2019 22:44:56 +0000 (22:44 +0000)]
Merge "Using the keyguard fading away duration for the scrim" into qt-r1-dev

4 years agoMerge "Add timeout for displaying 5G icon" into qt-qpr1-dev
Pengquan Meng [Mon, 12 Aug 2019 22:24:58 +0000 (22:24 +0000)]
Merge "Add timeout for displaying 5G icon" into qt-qpr1-dev

4 years agoFix sensor triggering issue
Lucas Dupin [Mon, 12 Aug 2019 21:14:08 +0000 (14:14 -0700)]
Fix sensor triggering issue

Code duplication was causing the wrong sensor to be re-registered,
also, binned brightness isn't a drop-in replacement for proximity
as expected.

Brightness can be low when prox is not covered, the correct behavior
is to verify if brightness is not 0

Test: manual, covering sensor
Test: atest DozeSensorsTest
Fixes: 139298207
Change-Id: I8673e7d9bcb56d7a34741cfad35cf397d976c18d

4 years agoAdd timeout for displaying 5G icon
Pengquan Meng [Wed, 26 Jun 2019 23:56:45 +0000 (16:56 -0700)]
Add timeout for displaying 5G icon

This change add an optional filed that allows carrier to change the
timeout.

System UI will show the 5G icon and start a timer with the timeout
from this config when the device connect to a 5G cell. System UI stop
displaying 5G icon when both the device disconnect from 5G cell and
the timer is expired.

Bug: 136107473
Test: build
Change-Id: I9720ec127865daa03fb2c23fbdd7d4ebf5e30e1b

4 years agoAllow the vendor specific initialization of display_settings.xml.
Yuncheol Heo [Fri, 12 Jul 2019 17:03:40 +0000 (10:03 -0700)]
Allow the vendor specific initialization of display_settings.xml.

In hawk_md, I tried to copy the intial settings in vendor-init: ag/7309059
Later, I found that this way doesn't work in SELINUX, since vendor-init is
not allowed to access core_data_files: http://shortn/_h6LOOHBVCF
So, I'd like to add a hook that vendor can provide the intial display
settings.
This is a stop-gap solution until b/123226552 is resolved.

Bug: 137233447
Test: Check if /vendor/etc/display_settings.xml is copied into /data/system/.
Change-Id: Ib87219e62c3414f26d63f072a0e767287ddb156e

4 years agoAPI: Explicitly track incompatibilities with previous API versions
Adrian Roos [Mon, 12 Aug 2019 15:47:39 +0000 (17:47 +0200)]
API: Explicitly track incompatibilities with previous API versions

Bug: 139128921
Test: make checkapi
Change-Id: I1f17b57705e2f7350b55ab278e06fc4e988771ff
Merged-In: I1f17b57705e2f7350b55ab278e06fc4e988771ff

4 years agoMerge "Disable falsing manager when face-authed." into qt-r1-dev
Dave Mankoff [Mon, 12 Aug 2019 15:41:30 +0000 (08:41 -0700)]
Merge "Disable falsing manager when face-authed." into qt-r1-dev
am: 9249d828a1

Change-Id: Icfba07cedf942e13c2a5747890b253e6f6d588c0

4 years agoMerge "Disable falsing manager when face-authed." into qt-r1-dev
Dave Mankoff [Mon, 12 Aug 2019 15:17:39 +0000 (15:17 +0000)]
Merge "Disable falsing manager when face-authed." into qt-r1-dev

4 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev am: 893173...
Bill Yi [Mon, 12 Aug 2019 04:41:39 +0000 (21:41 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev am: 8931739c16 -s ours
am: a6e7345636 -s ours
am skip reason: subject contains skip directive

Change-Id: I1d5193e298818d94425d28492caaafcf4d6ea295

4 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Mon, 12 Aug 2019 04:31:51 +0000 (21:31 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 8931739c16 -s ours
am skip reason: subject contains skip directive

Change-Id: I968bb1d6987ac3baab44a20b642ef4196026a408

4 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Mon, 12 Aug 2019 04:00:48 +0000 (04:00 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

4 years agoMerge "Import translations. DO NOT MERGE" into qt-qpr1-dev
TreeHugger Robot [Mon, 12 Aug 2019 01:47:33 +0000 (01:47 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev

5 years agoUsing the keyguard fading away duration for the scrim
Selim Cinek [Sat, 10 Aug 2019 00:19:57 +0000 (17:19 -0700)]
Using the keyguard fading away duration for the scrim

Previously we were using a fixed duration and as a result the
scrims duration was much shorter right after boot when the
fading away duration takes 2 seconds. We're now always using
the fading away duration which simplifies also the bypass
transition.

Fixes: 138305791
Test: atest SystemUITests
Change-Id: I2eba68c75c9777ab1ba6ffadadafed3836eb74e3

5 years ago[AT&T] Add key to show 4g for 3g RAT.
vagdevi [Fri, 9 Aug 2019 16:45:14 +0000 (09:45 -0700)]
[AT&T] Add key to show 4g for 3g RAT.

This key is introduced for AT&T

This will also require a carrier-config side change
to set show_4g_for_3g_data_icon_bool to true.

This will replace H/H+ that is shown by AT&T today.

Bug: 138655095
Test: manually

Change-Id: I480e14be41f8edbe607472351efd39d6d91b81b0

5 years agoMerge "Use the current user rather than USER_SYSTEM as default user for AccountManage...
Nicholas Sauer [Fri, 9 Aug 2019 23:19:57 +0000 (23:19 +0000)]
Merge "Use the current user rather than USER_SYSTEM as default user for AccountManagerServiceShellCommand" into qt-qpr1-dev

5 years ago[automerger skipped] Merge "Ensure isTopBucket() gets set when there is just one...
Ned Burns [Fri, 9 Aug 2019 22:51:53 +0000 (15:51 -0700)]
[automerger skipped] Merge "Ensure isTopBucket() gets set when there is just one notification" into qt-dev am: 68f3bb1305 -s ours
am: f5933683a7 -s ours
am skip reason: change_id I615b2f7fddca30dae67dbaab0e5d54a824a4c441 with SHA1 2d35980e72 is in history

Change-Id: I1f3818b203591b5644b4def1db594fb029830487

5 years ago[automerger skipped] Merge "Ensure isTopBucket() gets set when there is just one...
Ned Burns [Fri, 9 Aug 2019 22:38:03 +0000 (15:38 -0700)]
[automerger skipped] Merge "Ensure isTopBucket() gets set when there is just one notification" into qt-dev
am: 68f3bb1305 -s ours
am skip reason: change_id I615b2f7fddca30dae67dbaab0e5d54a824a4c441 with SHA1 2d35980e72 is in history

Change-Id: I37cdb13b72ac7c4da5df1db6ee07209ed20353db

5 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 9 Aug 2019 22:27:03 +0000 (15:27 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ic9922a76ee09256ee0539d53d4c527911a869325

5 years agoMerge "Ensure isTopBucket() gets set when there is just one notification" into qt-dev
Ned Burns [Fri, 9 Aug 2019 22:21:45 +0000 (22:21 +0000)]
Merge "Ensure isTopBucket() gets set when there is just one notification" into qt-dev

5 years agoMerge "Hide the home handle in lock task home when home and overview are disabled...
Sunny Goyal [Fri, 9 Aug 2019 22:18:28 +0000 (15:18 -0700)]
Merge "Hide the home handle in lock task home when home and overview are disabled" into qt-r1-dev
am: 2862d538b6

Change-Id: Ied33a36a262ad766421321e9f4c53bb07a608fe7

5 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 9 Aug 2019 22:06:46 +0000 (15:06 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ibb92c8650e8f63fd70e7a23dcbde26ce19868d4a

5 years agoDisable falsing manager when face-authed.
Dave Mankoff [Fri, 9 Aug 2019 21:58:56 +0000 (17:58 -0400)]
Disable falsing manager when face-authed.

Bug: 139202921
Test: manual
Change-Id: Icc24dfaa2958443d0927567c1e90184059fc7ae7

5 years agoMerge "Hide the home handle in lock task home when home and overview are disabled...
TreeHugger Robot [Fri, 9 Aug 2019 21:51:03 +0000 (21:51 +0000)]
Merge "Hide the home handle in lock task home when home and overview are disabled" into qt-r1-dev

5 years agobootanimation: Change bootanim ioprio to highest in IOPRIO_CLASS_RT
Miguel de Dios [Wed, 7 Aug 2019 22:07:51 +0000 (15:07 -0700)]
bootanimation: Change bootanim ioprio to highest in IOPRIO_CLASS_RT

We see cases where bootanim is IO sleeping on boot and its causing
jank. Change the ioprio to the highest in an attempt to reduce this.

Bug: 138459662
Test: manual - flash and factory reset, looking for artifacts in the boot animation
Change-Id: I9734edea37c92e365a2b359a5180303e9b9284f7

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev am: fe2d42...
Bill Yi [Fri, 9 Aug 2019 19:38:47 +0000 (12:38 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev am: fe2d421fab -s ours
am: 5c0d577dea -s ours
am skip reason: subject contains skip directive

Change-Id: I8137f4945cc640f35f7de41ca90ba9c3ece572a3

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Fri, 9 Aug 2019 19:26:12 +0000 (12:26 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: fe2d421fab -s ours
am skip reason: subject contains skip directive

Change-Id: I2b7c8c005bb0d174a451243b9f0b4148f6c427bb

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Fri, 9 Aug 2019 18:42:27 +0000 (18:42 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Fade from black when reach" into qt-r1-dev
Lucas Dupin [Fri, 9 Aug 2019 18:00:00 +0000 (11:00 -0700)]
Merge "Fade from black when reach" into qt-r1-dev
am: 331cdb72e6

Change-Id: I94c39e651621b47e3bad580df1b0895e91cf1d42

5 years agoMerge "Ensure isTopBucket() gets set when there is just one notification" into qt...
Ned Burns [Fri, 9 Aug 2019 17:56:10 +0000 (10:56 -0700)]
Merge "Ensure isTopBucket() gets set when there is just one notification" into qt-r1-dev
am: 9a38205327

Change-Id: Ic9c363e93356cfdd6ae157da39064bf70b3b400d

5 years agoMerge "Prevent QSPanel from remeasuring" into qt-qpr1-dev
Fabian Kozynski [Fri, 9 Aug 2019 17:53:39 +0000 (17:53 +0000)]
Merge "Prevent QSPanel from remeasuring" into qt-qpr1-dev

5 years agoMerge "Do not set guts visibility to transient state" into qt-qpr1-dev
TreeHugger Robot [Fri, 9 Aug 2019 17:52:24 +0000 (17:52 +0000)]
Merge "Do not set guts visibility to transient state" into qt-qpr1-dev

5 years agoMerge "Assume sensors perform prox check" into qt-qpr1-dev
Lucas Dupin [Fri, 9 Aug 2019 17:43:50 +0000 (17:43 +0000)]
Merge "Assume sensors perform prox check" into qt-qpr1-dev

5 years agoMerge "Fade from black when reach" into qt-r1-dev
TreeHugger Robot [Fri, 9 Aug 2019 17:39:40 +0000 (17:39 +0000)]
Merge "Fade from black when reach" into qt-r1-dev

5 years agoEnsure isTopBucket() gets set when there is just one notification
Ned Burns [Thu, 8 Aug 2019 17:43:57 +0000 (13:43 -0400)]
Ensure isTopBucket() gets set when there is just one notification

My descendants will vilify this CL for generations to come. We'll
clean it up for R, but this is our last, best hope for fixing things
in Q.

Bug: 138775282

Test: manual
Change-Id: I615b2f7fddca30dae67dbaab0e5d54a824a4c441
Merged-In: I615b2f7fddca30dae67dbaab0e5d54a824a4c441
(cherry picked from commit 2d35980e7201e042e253fadd0eb55e1866fc28d9)