OSDN Git Service

android-x86/frameworks-base.git
5 years agoOnly show "Connected" note after opening portal
Remi NGUYEN VAN [Tue, 25 Jun 2019 16:40:54 +0000 (09:40 -0700)]
Only show "Connected" note after opening portal

The "Connected" notification would be shown every time a network
validates after being identified as a captive portal. This causes issues
on networks that have auto-login mechanisms, as a high priority
notification would be shown even though the user was not interacting
with the phone.

The "Connected" notification is intended to confirm to the user that
they successfuly logged in (manually), so only show it after the user
opens the portal on the network.

Bug: 134124044
Test: Flashed, connected to portal: notification shown
      Opened portal from command line + revalidate: no notification
      Tests passing with change, failing without
Merged-In: I99be7d312d020d242081971c7e522023bbbab072
Merged-In: I7dc1b3a313b255fe89313efb9117bb160efdb533
(cherry picked from commit 0b5a4d862190320d285413b1feb921144fee8420)

Change-Id: I67c124cc34f09c2f186706b5cec839f60d00a90a

5 years agoMerge "Set LEGACY_STORAGE only from READ_EXTERNAL_STORAGE" into qt-dev
TreeHugger Robot [Tue, 25 Jun 2019 23:01:34 +0000 (23:01 +0000)]
Merge "Set LEGACY_STORAGE only from READ_EXTERNAL_STORAGE" into qt-dev

5 years agoMerge "Catch all exceptions in onFrameDraw" into qt-dev
Winson Chung [Tue, 25 Jun 2019 22:07:44 +0000 (22:07 +0000)]
Merge "Catch all exceptions in onFrameDraw" into qt-dev

5 years agoFixed screen decor layout frames
chaviw [Fri, 21 Jun 2019 00:09:53 +0000 (17:09 -0700)]
Fixed screen decor layout frames

The initial frames for the screen decor were set to the dock frame. This
is incorrect because it incorporates the status bar, preventing
the frame from starting at the corners. Instead, set the frame to
unrestricted to allow frames in the status bar region.

This bug was introduced with the refactor ag/4525486

Fixes: 135706131
Test: No visible change on phone. Fixes issue with auto
Test: DisplayPolicyLayoutTests#testScreenDecorWindows
Change-Id: I6782a3585252df505b43d3e706b0332c609c7414

5 years ago[automerger skipped] Merge changes from topic "bp-real-calling-(p|u)id-merge-first...
Bryan Ferris [Tue, 25 Jun 2019 21:46:37 +0000 (14:46 -0700)]
[automerger skipped] Merge changes from topic "bp-real-calling-(p|u)id-merge-first" into oc-dev am: 46c0bc9407 am: 752d4f8e96 -s ours am: 4a115b747b -s ours
am: 9c0efabb3a -s ours
am skip reason: change_id I0ef42c2f89b537a720f1ad5aefac756b0ccac52e with SHA1 f5e5af7f3d is in history

Change-Id: I11efe1d70dd1b943f03984ad8187e8c62fef9494

5 years ago[automerger skipped] [automerger] [RESTRICT AUTOMERGE] Pass correct realCallingUid...
Bryan Ferris [Tue, 25 Jun 2019 21:45:53 +0000 (14:45 -0700)]
[automerger skipped] [automerger] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage am: 216f65bf60 am: 0984de50e3 am: 36fdca0a65 skipped: 37ce2010d9 am: 51bb716332 am: ff8be5d87a -s ours am: dcfb327071 -s ours
am: 5d0bf5af37 -s ours
am skip reason: subject contains skip directive

Change-Id: I201e44fe5dac5340b6fceb40b6b82284fc9b67df

5 years agoMerge "Fixed autofill compat mode regression caused by DecorContext" into qt-dev
TreeHugger Robot [Tue, 25 Jun 2019 21:32:01 +0000 (21:32 +0000)]
Merge "Fixed autofill compat mode regression caused by DecorContext" into qt-dev

5 years ago[automerger skipped] Merge changes from topic "bp-real-calling-(p|u)id-merge-first...
Bryan Ferris [Tue, 25 Jun 2019 21:18:25 +0000 (14:18 -0700)]
[automerger skipped] Merge changes from topic "bp-real-calling-(p|u)id-merge-first" into oc-dev am: 46c0bc9407 am: 752d4f8e96 -s ours
am: 4a115b747b -s ours
am skip reason: change_id I0ef42c2f89b537a720f1ad5aefac756b0ccac52e with SHA1 f5e5af7f3d is in history

Change-Id: I8c930161bbda0cee1ca364852d5c358930106b07

5 years ago[automerger skipped] [automerger] [RESTRICT AUTOMERGE] Pass correct realCallingUid...
Bryan Ferris [Tue, 25 Jun 2019 21:18:01 +0000 (14:18 -0700)]
[automerger skipped] [automerger] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage am: 216f65bf60 am: 0984de50e3 am: 36fdca0a65 skipped: 37ce2010d9 am: 51bb716332 am: ff8be5d87a -s ours
am: dcfb327071 -s ours
am skip reason: subject contains skip directive

Change-Id: I97c51aa6973d9b89e304385e2e082b8d1689e279

5 years ago[automerger skipped] Merge changes from topic "bp-real-calling-(p|u)id-merge-first...
Bryan Ferris [Tue, 25 Jun 2019 20:32:26 +0000 (13:32 -0700)]
[automerger skipped] Merge changes from topic "bp-real-calling-(p|u)id-merge-first" into oc-dev am: 46c0bc9407
am: 752d4f8e96 -s ours
am skip reason: change_id I0ef42c2f89b537a720f1ad5aefac756b0ccac52e with SHA1 f5e5af7f3d is in history

Change-Id: I309479f61253fa6cefec4377e000a3ab173a39c0

5 years ago[automerger skipped] [automerger] [RESTRICT AUTOMERGE] Pass correct realCallingUid...
Bryan Ferris [Tue, 25 Jun 2019 20:32:03 +0000 (13:32 -0700)]
[automerger skipped] [automerger] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage am: 216f65bf60 am: 0984de50e3 am: 36fdca0a65 skipped: 37ce2010d9 am: 51bb716332
am: ff8be5d87a -s ours
am skip reason: change_id I0ef42c2f89b537a720f1ad5aefac756b0ccac52e with SHA1 f5e5af7f3d is in history

Change-Id: I730d970d5b50cf8b4b0770da8ec22534a9e14a58

5 years agoMerge "Allow trust agents to actively unlock for automotive." into qt-dev
TreeHugger Robot [Tue, 25 Jun 2019 20:12:04 +0000 (20:12 +0000)]
Merge "Allow trust agents to actively unlock for automotive." into qt-dev

5 years agoMerge "[DO NOT MERGE] Don't throw from PooledLambdaImpl#toString" into qt-dev
Eugene Susla [Tue, 25 Jun 2019 19:52:48 +0000 (19:52 +0000)]
Merge "[DO NOT MERGE] Don't throw from PooledLambdaImpl#toString" into qt-dev

5 years ago[automerger skipped] Merge "[RESTRICT AUTOMERGE] Pass correct realCallingUid to start...
Bryan Ferris [Tue, 25 Jun 2019 19:41:59 +0000 (12:41 -0700)]
[automerger skipped] Merge "[RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() if provided by PendingIntentRecord#sendInner()" into oc-mr1-dev am: 97111a1cb6 -s ours
am: 1a3f859c78 -s ours
am skip reason: subject contains skip directive

Change-Id: I7c869cb79734200a9bf797db5babac76e3d4971c

5 years ago[automerger skipped] Merge "[RESTRICT AUTOMERGE] Pass correct realCallingUid to start...
Bryan Ferris [Tue, 25 Jun 2019 19:37:25 +0000 (12:37 -0700)]
[automerger skipped] Merge "[RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() if provided by PendingIntentRecord#sendInner()" into pi-dev
am: 138f85570c -s ours
am skip reason: subject contains skip directive

Change-Id: I6a094762a2cedb2aeba013bbd2a52adedac65963

5 years agoMerge changes from topic "bp-real-calling-(p|u)id-merge-first" into oc-dev
Bryan Ferris [Tue, 25 Jun 2019 19:33:43 +0000 (12:33 -0700)]
Merge changes from topic "bp-real-calling-(p|u)id-merge-first" into oc-dev
am: 46c0bc9407

Change-Id: I9640adc59d47dbbb36183073a1c6bc2d0624d893

5 years ago[automerger] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity()...
Bryan Ferris [Tue, 25 Jun 2019 19:33:37 +0000 (12:33 -0700)]
[automerger] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage am: 216f65bf60 am: 0984de50e3 am: 36fdca0a65 skipped: 37ce2010d9
am: 51bb716332

Change-Id: I163568da871059effe896507717480b61478797b

5 years ago[automerger skipped] Merge "[RESTRICT AUTOMERGE] Pass correct realCallingUid to start...
Bryan Ferris [Tue, 25 Jun 2019 19:10:26 +0000 (12:10 -0700)]
[automerger skipped] Merge "[RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() if provided by PendingIntentRecord#sendInner()" into oc-mr1-dev
am: 97111a1cb6 -s ours
am skip reason: subject contains skip directive

Change-Id: I5210f8aed11e5b43bc09ce61f91ea399faa3dc4a

5 years agoMerge "Sharesheet: Make max shortcut targets configurable" into qt-dev
TreeHugger Robot [Tue, 25 Jun 2019 19:04:26 +0000 (19:04 +0000)]
Merge "Sharesheet: Make max shortcut targets configurable" into qt-dev

5 years agoFixed autofill compat mode regression caused by DecorContext
Adam He [Tue, 25 Jun 2019 18:40:57 +0000 (11:40 -0700)]
Fixed autofill compat mode regression caused by DecorContext

Fixes: 135038324
Test: manual verification
Test: atest CtsAutoFillServiceTestCases
Change-Id: Iab32c24fdd9ad02308e79652422d1c4965be8e7c

5 years agoMerge "[RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() if provide...
Bryan Ferris [Tue, 25 Jun 2019 18:36:14 +0000 (18:36 +0000)]
Merge "[RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() if provided by PendingIntentRecord#sendInner()" into oc-mr1-dev

5 years agoMerge "[RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() if provide...
Bryan Ferris [Tue, 25 Jun 2019 18:36:14 +0000 (18:36 +0000)]
Merge "[RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() if provided by PendingIntentRecord#sendInner()" into pi-dev

5 years agoMerge changes from topic "bp-real-calling-(p|u)id-merge-first" into oc-dev
Bryan Ferris [Tue, 25 Jun 2019 18:36:14 +0000 (18:36 +0000)]
Merge changes from topic "bp-real-calling-(p|u)id-merge-first" into oc-dev

* changes:
  [automerger] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage am: 216f65bf60 am: 0984de50e3 am: 36fdca0a65 skipped: 37ce2010d9
  [automerger] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage am: 216f65bf60 am: 0984de50e3 am: 36fdca0a65
  [automerger] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage am: 216f65bf60 am: 0984de50e3
  [automerger] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage am: 216f65bf60
  [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage

5 years agoMerge "Accept all system packages as supported home apps for gesture nav" into qt-dev
Mehdi Alizadeh [Tue, 25 Jun 2019 18:13:54 +0000 (18:13 +0000)]
Merge "Accept all system packages as supported home apps for gesture nav" into qt-dev

5 years agoMerge "Revert "Reland "Prevent dismissing starting window when reopening app""" into...
TreeHugger Robot [Tue, 25 Jun 2019 18:05:54 +0000 (18:05 +0000)]
Merge "Revert "Reland "Prevent dismissing starting window when reopening app""" into qt-dev

5 years ago[DO NOT MERGE] Don't throw from PooledLambdaImpl#toString
Eugene Susla [Sat, 22 Jun 2019 01:23:59 +0000 (18:23 -0700)]
[DO NOT MERGE] Don't throw from PooledLambdaImpl#toString

Bug: 134594642
Test: presubmit
Change-Id: Ia0834a76e7ae9a222ec2698dcd989317bb20f2a0
(cherry picked from commit 7f000e1dd942d492289fe7c447ed64562ed15bed)

5 years agoAllow trust agents to actively unlock for automotive.
Anthony Chen [Tue, 25 Jun 2019 16:50:56 +0000 (09:50 -0700)]
Allow trust agents to actively unlock for automotive.

This CL creates an exception for the default behavior of trust agents.

After b/120871688, trust agents can only extend unlock. However,
automotive still requires active unlock for its feature set.

Fixes: 135931998
Test: Verify that an enrolled trust agent can dismiss the lock screen
on automotive.

Change-Id: Ie7c411ac2bfac9ba00c095532d6788d9e2e7af2f

5 years agoSet LEGACY_STORAGE only from READ_EXTERNAL_STORAGE
Philip P. Moltmann [Tue, 25 Jun 2019 15:41:51 +0000 (08:41 -0700)]
Set LEGACY_STORAGE only from READ_EXTERNAL_STORAGE

Not from WRITE_EXTERNAL_STORAGE. Otherwise it is not clear what happens
if one of the permissions is white-listed and one not. This can lead to
a loop where we try to set LEGACY_STORAGE to two different values.

Fixes: 135763654135742960
Bug: 135933014
Test: atest RestrictedPermissionsTest
Change-Id: I35883f12525360fd7f760750505a27644342955c

5 years agoMerge "Camera: block session init callback until ctor returns" into qt-dev
Yin-Chia Yeh [Tue, 25 Jun 2019 16:26:54 +0000 (16:26 +0000)]
Merge "Camera: block session init callback until ctor returns" into qt-dev

5 years agoMerge "Revert "Clear transitions for app windows display change."" into qt-dev
David Nelloms [Tue, 25 Jun 2019 16:12:54 +0000 (16:12 +0000)]
Merge "Revert "Clear transitions for app windows display change."" into qt-dev

5 years agoRevert "Clear transitions for app windows display change."
David Nelloms [Tue, 25 Jun 2019 16:03:57 +0000 (16:03 +0000)]
Revert "Clear transitions for app windows display change."

This reverts commit 110ed21087eb9993835d887d33f4e1fb05fa86b8.

Reason for revert: CTS failure b/135655256

Bug: 135655256
Bug: 128449959

Change-Id: I9b36d34193e1c9e228be609a7b10457392fd6aa3

5 years agoRevert "Reland "Prevent dismissing starting window when reopening app""
Jorim Jaggi [Tue, 25 Jun 2019 15:26:49 +0000 (17:26 +0200)]
Revert "Reland "Prevent dismissing starting window when reopening app""

This reverts commit be71ed8a8e2ea302abbd4a5a0e8b5adc53449e67.

Causes various issues. Out of time for Q to investigate and fix.

Fixes: 135706138
Fixes: 135661232
Fixes: 135976008
Fixes: 135921478
Fixes: 135780312

Bug: 134561008
Change-Id: Ifb7b1fe2b189649d320516e70368625c903debea

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Tue, 25 Jun 2019 14:46:02 +0000 (14:46 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoCatch all exceptions in onFrameDraw
Jorim Jaggi [Tue, 25 Jun 2019 13:36:46 +0000 (15:36 +0200)]
Catch all exceptions in onFrameDraw

... as throwing an exception in there somehow will mess up the
hwui task queue.

Test: Have a crashy app, swipe up while the app is crashing
Fixes: 134583193
Change-Id: Ie3ba5f991759f807b154f55f9fc816e7efe2fdfe

5 years agoFix leak of DhcpServer on tethering stop error
Remi NGUYEN VAN [Tue, 25 Jun 2019 08:33:52 +0000 (01:33 -0700)]
Fix leak of DhcpServer on tethering stop error

Tactical, minimal fix to make sure the DhcpServer is stopped when
disabling tethering. The current code may throw if the interface is gone
when calling mNMService.setInterfaceConfig() on teardown. Make sure DHCP
is stopped regardless of what happens.

A longer term fix will be to figure out the right flow to teardown the
interface and avoid errors on setInterfaceConfig().

Bug: 124520692
Test: Manual: no more socket leaked when stopping USB tethering
Merged-In: Ie73481e8d91ce43e4939f8c31a9ce431e382c6d9
(cherry picked from commit fe1ad3d0b86e1315906e18e33b65df2481eea63d)

Change-Id: Ia80761cb42dc62b14128fc60009be82ae9a008da

5 years agoMerge "Read process allocation sizes on system ion heap" into qt-dev
Rafal Slawik [Tue, 25 Jun 2019 08:53:54 +0000 (08:53 +0000)]
Merge "Read process allocation sizes on system ion heap" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 25 Jun 2019 08:07:53 +0000 (01:07 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Idffc307384b04773b54272c4849442c21273482d

5 years agoMerge "Reduce long press timeout on edge back gesture" into qt-dev
TreeHugger Robot [Tue, 25 Jun 2019 07:46:27 +0000 (07:46 +0000)]
Merge "Reduce long press timeout on edge back gesture" into qt-dev

5 years agoMerge "Skip redrawing the bars if the surface aspect ratio matches" into qt-dev
Winson Chung [Tue, 25 Jun 2019 04:10:14 +0000 (04:10 +0000)]
Merge "Skip redrawing the bars if the surface aspect ratio matches" into qt-dev

5 years agoMerge "Request high accuracy fix for DBH requests from GNSS HAL" into qt-dev
Anil Admal [Tue, 25 Jun 2019 02:34:37 +0000 (02:34 +0000)]
Merge "Request high accuracy fix for DBH requests from GNSS HAL" into qt-dev

5 years agoAccept all system packages as supported home apps for gesture nav
Mehdi Alizadeh [Fri, 21 Jun 2019 22:38:40 +0000 (15:38 -0700)]
Accept all system packages as supported home apps for gesture nav

Bug: 135769778
Test: Manual test during phone setup
Change-Id: I24d414820b0f3d8f5878ca73206844966a6035cf

5 years agoMerge "Adds metrics categories for gesture navigation dialogs" into qt-dev
Mehdi Alizadeh [Tue, 25 Jun 2019 00:09:07 +0000 (00:09 +0000)]
Merge "Adds metrics categories for gesture navigation dialogs" into qt-dev

5 years agoRequest high accuracy fix for DBH requests from GNSS HAL
Anil Admal [Thu, 20 Jun 2019 19:00:16 +0000 (12:00 -0700)]
Request high accuracy fix for DBH requests from GNSS HAL

The GnssLocationProvider requests a LOW_POWER fix from fused
location provider for DBH requests and uses a short request
duration of 10 secs. Change it to request a high accuracy fix
and use a larger request duration for emergency requests.

Fixes: 135458882
Test: Simulated E911 DBH request from HAL and verified that
      a location is injected to HAL when location settings
      are OFF/ON. Tested with and without GPS signal.

Change-Id: Ia40bff4cbf8574b30dfe65704d33c716a317c66d

5 years agoSkip redrawing the bars if the surface aspect ratio matches
Winson Chung [Sun, 23 Jun 2019 20:35:41 +0000 (13:35 -0700)]
Skip redrawing the bars if the surface aspect ratio matches

- In this case, just scale the child window up to match the frame

Bug: 135755182
Test: atest TaskSnapshotSurfaceTest
Change-Id: I0d34d2f82aaf65459c60748b735cd01847ade411

5 years agoMerge "Keylayout for xbox pdp controller" into qt-dev
TreeHugger Robot [Mon, 24 Jun 2019 22:41:55 +0000 (22:41 +0000)]
Merge "Keylayout for xbox pdp controller" into qt-dev

5 years agoMerge "Reverted to the old logic for APN selection" into qt-dev
TreeHugger Robot [Mon, 24 Jun 2019 22:34:53 +0000 (22:34 +0000)]
Merge "Reverted to the old logic for APN selection" into qt-dev

5 years agoRead process allocation sizes on system ion heap
Rafal Slawik [Wed, 19 Jun 2019 16:59:50 +0000 (17:59 +0100)]
Read process allocation sizes on system ion heap

We are planning to use this to attribute low-memory kills to processes.

Assume that each represents an allocation. Compute values for all fields
in the ProcessSystemIonHeapSize atom.

This code is intented to run only on userdebug or eng builds and it has
to be enabled via a statsd metric from the server only for devices with
required SELinux policies.

It extends SystemIonHeapSize atom to provide per-process ion allocations
attribution.

Bug: 130526489
Test: atest MemoryStatUtilTest
Test: statsd_testdrive returns non-zero values
Change-Id: I1c1f31e2739dc493e8f4b3f47d73f5bbaadc8bdf
(cherry picked from commit 5fe706c7db35e3709375acf16212b74b4e11fe22)

5 years agoMerge "Add atom for per-process system ion heap size" into qt-dev
Rafal Slawik [Mon, 24 Jun 2019 22:15:57 +0000 (22:15 +0000)]
Merge "Add atom for per-process system ion heap size" into qt-dev

5 years agoKeylayout for xbox pdp controller
Siarhei Vishniakou [Mon, 24 Jun 2019 21:23:53 +0000 (14:23 -0700)]
Keylayout for xbox pdp controller

Add layout for Xbox pdp controller

Test: tested with a custom app
Bug: 132451971
Change-Id: I35e0998e2643eae031141186637e5eb349334bcd

5 years agoMerge "Make RescueParty call vold directly" into qt-dev
TreeHugger Robot [Mon, 24 Jun 2019 21:39:40 +0000 (21:39 +0000)]
Merge "Make RescueParty call vold directly" into qt-dev

5 years agoAdds metrics categories for gesture navigation dialogs
Mehdi Alizadeh [Fri, 21 Jun 2019 01:08:56 +0000 (18:08 -0700)]
Adds metrics categories for gesture navigation dialogs

Bug: 135211145
Test: Builds
Change-Id: I0bc0749bbbb9b78d3d125e1a0f1e9bc35b645db2

5 years agoMake RescueParty call vold directly
Daniel Rosenberg [Thu, 20 Jun 2019 22:15:58 +0000 (15:15 -0700)]
Make RescueParty call vold directly

This changes RescueParty to call vold over binder directly for
Checkpointing related calls. It turns out that if the system is in a bad
enough state, the other method would not work, as some of the services
required would not be running.

Bug: 135558798
Test: setprop persist.sys.enable_rescue 1
      setprop debug.crash_system 1 or setprop debug.crash_sysui 1
      vdc checkpoint startCheckpoint 3
      stop
      start
      Device should go through the rescueparty flow, and reboot.
      Repeat without checkpoint. Device should prompt reboot.

Change-Id: I8b11d68075cc291e9557d524bc87b54d17b370e4

5 years agoMerge "Revert "libmedia_jni pulls in libsfplugin_ccodec"" into qt-dev
TreeHugger Robot [Mon, 24 Jun 2019 19:52:28 +0000 (19:52 +0000)]
Merge "Revert "libmedia_jni pulls in libsfplugin_ccodec"" into qt-dev

5 years agoMerge "Keylayout for xbox controllers" into qt-dev
TreeHugger Robot [Mon, 24 Jun 2019 19:40:19 +0000 (19:40 +0000)]
Merge "Keylayout for xbox controllers" into qt-dev

5 years agoMerge "Fix excessive entrance animation duration + delay" into qt-dev
TreeHugger Robot [Mon, 24 Jun 2019 19:05:36 +0000 (19:05 +0000)]
Merge "Fix excessive entrance animation duration + delay" into qt-dev

5 years agoMerge "Remove WTF logging for non-expandable swiped children" into qt-dev
TreeHugger Robot [Mon, 24 Jun 2019 19:03:48 +0000 (19:03 +0000)]
Merge "Remove WTF logging for non-expandable swiped children" into qt-dev

5 years agoMerge "Fix case of Dark theme" into qt-dev
Fabian Kozynski [Mon, 24 Jun 2019 19:03:16 +0000 (19:03 +0000)]
Merge "Fix case of Dark theme" into qt-dev

5 years agoRevert "libmedia_jni pulls in libsfplugin_ccodec"
Mikhail Naganov [Mon, 24 Jun 2019 18:48:51 +0000 (18:48 +0000)]
Revert "libmedia_jni pulls in libsfplugin_ccodec"

This reverts commit 16c0c46f208c2a6b4d321352fbc5fc6acff6261e.

Reason for revert: causes b/135763139 (volume adjustment for music does not work)

There is no clear explanation how this change breaks volume adjustment, but by bisection and by reverting the change locally it does somehow.

Bug: 133186424
Bug: 135763139
Change-Id: If6eed10f23c6b6006a6468c2a793230cd98c0501

5 years agoCamera: block session init callback until ctor returns
Yin-Chia Yeh [Mon, 24 Jun 2019 18:32:34 +0000 (11:32 -0700)]
Camera: block session init callback until ctor returns

To fix race condition where session init callback is executed
before the ctor finished (and mSessionImpl is initialized)

Test: manuall testing GCA
Bug: 134218348
Change-Id: I6985b489a8cb459d9b1dce4d56a9c3e97ceb366c

5 years agoKeylayout for xbox controllers
Siarhei Vishniakou [Sat, 15 Jun 2019 00:19:29 +0000 (17:19 -0700)]
Keylayout for xbox controllers

Add layout for Xbox elite controller

Test: tested with a custom app
Bug: 132451971
Change-Id: I1c600bc2c41db9d79d7a4e184ef41abe2b5f860e

5 years agoMerge "Unregister listeners and reset wake lock" into qt-dev
Lucas Dupin [Mon, 24 Jun 2019 18:09:10 +0000 (18:09 +0000)]
Merge "Unregister listeners and reset wake lock" into qt-dev

5 years agoRemove WTF logging for non-expandable swiped children
Ned Burns [Fri, 21 Jun 2019 21:23:53 +0000 (17:23 -0400)]
Remove WTF logging for non-expandable swiped children

Having mixed views doesn't actually break anything.

Fixes: 135048434
Test: manual
Change-Id: I64a08dc257b8962cdde51e026c51eac02ab931e7

5 years agoMerge "Don't dismiss keyguard when enabling it" into qt-dev
TreeHugger Robot [Mon, 24 Jun 2019 17:47:41 +0000 (17:47 +0000)]
Merge "Don't dismiss keyguard when enabling it" into qt-dev

5 years agoMerge "Render invocation lights as beziers, not circles" into qt-dev
James O'Leary [Mon, 24 Jun 2019 16:44:31 +0000 (16:44 +0000)]
Merge "Render invocation lights as beziers, not circles" into qt-dev

5 years agoSharesheet: Make max shortcut targets configurable
Matt Pietal [Mon, 24 Jun 2019 16:14:52 +0000 (12:14 -0400)]
Sharesheet: Make max shortcut targets configurable

Allow different values for different devices

Bug: 135617408
Test: Manual
Change-Id: I01c27834d6218b9f5502976ee2a561eb73c364fc

5 years agoUnregister listeners and reset wake lock
Lucas Dupin [Thu, 20 Jun 2019 21:07:57 +0000 (14:07 -0700)]
Unregister listeners and reset wake lock

The ContentProvider might be recreated by the system, so we it's
not necessarily a singleton. We need to cleanup listener registration
and alarms before reattributing the static variable.

Change-Id: I07aec96e77c67d96d31c7e38c85f5ce6f5ef2216
Merged-In: I9bc993f372a8c05258f1778eb3d415af04544714
Fixes: 135344397
Fixes: 135582651
Test: bind and unbind slice various times
Test: atest KeyguardSliceProviderTest

5 years agoFix case of Dark theme
Fabian Kozynski [Mon, 24 Jun 2019 13:52:41 +0000 (09:52 -0400)]
Fix case of Dark theme

Test: manual
Fixes: 135711083
Change-Id: Ie97422e25e0dffd500d31496a4114b81d1f7218a

5 years agoMerge "Don't update dark boot setting onStart" into qt-dev
TreeHugger Robot [Mon, 24 Jun 2019 13:24:12 +0000 (13:24 +0000)]
Merge "Don't update dark boot setting onStart" into qt-dev

5 years agoAdd atom for per-process system ion heap size
Rafal Slawik [Mon, 17 Jun 2019 11:28:23 +0000 (12:28 +0100)]
Add atom for per-process system ion heap size

The pulling code will be added in the next commit.

Bug: 130526489
Test: statsd_testdrive
Change-Id: I0fea4b6a7a8dbbdc574fb342c1e07aa0165bf797
(cherry picked from commit 77987ed47f5a0c11052c9f33f1d7933ca60e50b5)

5 years agoMerge "Add anon RSS + swap metric" into qt-dev
Ioannis Ilkos [Mon, 24 Jun 2019 08:46:40 +0000 (08:46 +0000)]
Merge "Add anon RSS + swap metric" into qt-dev

5 years agoMerge "Do not allow adding custom Parcelable in Bundles" into qt-dev
Hyundo Moon [Mon, 24 Jun 2019 04:26:17 +0000 (04:26 +0000)]
Merge "Do not allow adding custom Parcelable in Bundles" into qt-dev

5 years agoMerge "Revert "Unregister listeners and reset wake lock"" into qt-dev
Chiayu Pei [Mon, 24 Jun 2019 04:19:13 +0000 (04:19 +0000)]
Merge "Revert "Unregister listeners and reset wake lock"" into qt-dev

5 years agoRevert "Unregister listeners and reset wake lock"
Chiayu Pei [Mon, 24 Jun 2019 01:46:28 +0000 (01:46 +0000)]
Revert "Unregister listeners and reset wake lock"

This reverts commit fe107a1621b98f8e9caa47b1e4e7ecbee00a2f88.

Reason for revert: <INSERT REASONING HERE>

Change-Id: Id092c473a8300e014ccd4d941afa4afcdbbf48bc

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sun, 23 Jun 2019 20:32:32 +0000 (20:32 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoRender invocation lights as beziers, not circles
James O'Leary [Fri, 21 Jun 2019 15:30:43 +0000 (15:30 +0000)]
Render invocation lights as beziers, not circles

Test: Verify WAI
Bug: 135669903
Change-Id: I8dd9f96179264b5a44a9446977ada1ed4ea8e3c8

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sun, 23 Jun 2019 17:41:21 +0000 (17:41 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sun, 23 Jun 2019 17:24:54 +0000 (17:24 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sun, 23 Jun 2019 17:14:18 +0000 (17:14 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 23 Jun 2019 17:08:02 +0000 (10:08 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I488956188ed83fa8e73e5070f43fba1a3a347fbe

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 23 Jun 2019 13:50:20 +0000 (06:50 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ia15027c4898fed1ed24e5a497e9712cc0cfb7cb3

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 23 Jun 2019 06:32:57 +0000 (23:32 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I4ba148bb2885fc3a570b8ab2ccf22305dba04362

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 23 Jun 2019 06:22:29 +0000 (23:22 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Iee915acc4bdca36e87eb830d413e9452813fa8b4

5 years agoMerge "Handle USER_ALL in instant apps call" into qt-dev
TreeHugger Robot [Sat, 22 Jun 2019 21:27:12 +0000 (21:27 +0000)]
Merge "Handle USER_ALL in instant apps call" into qt-dev

5 years agoMerge "Unregister listeners and reset wake lock" into qt-dev
Lucas Dupin [Sat, 22 Jun 2019 20:12:26 +0000 (20:12 +0000)]
Merge "Unregister listeners and reset wake lock" into qt-dev

5 years agoUnregister listeners and reset wake lock
Lucas Dupin [Thu, 20 Jun 2019 21:07:57 +0000 (14:07 -0700)]
Unregister listeners and reset wake lock

The ContentProvider might be recreated by the system, so we it's
not necessarily a singleton. We need to cleanup listener registration
and alarms before reattributing the static variable.

Change-Id: I227842d7272d1edeaa67d776950f369aedb01a91
Merged-In: I227842d7272d1edeaa67d776950f369aedb01a91
Fixes: 135344397
Fixes: 135582651
Test: bind and unbind slice various times
Test: atest KeyguardSliceProviderTest

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sat, 22 Jun 2019 17:24:18 +0000 (17:24 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "DO NOT MERGE Allow the new BrightLineFalsingManager to be enabled via PhenoTyp...
Dave Mankoff [Sat, 22 Jun 2019 15:41:14 +0000 (15:41 +0000)]
Merge "DO NOT MERGE Allow the new BrightLineFalsingManager to be enabled via PhenoType." into qt-dev

5 years agoDO NOT MERGE Allow the new BrightLineFalsingManager to be enabled via PhenoType.
Dave Mankoff [Fri, 21 Jun 2019 18:24:43 +0000 (14:24 -0400)]
DO NOT MERGE Allow the new BrightLineFalsingManager to be enabled via PhenoType.

Test: atest SystemUITests
Bug: 111394067
Change-Id: I0ab9a72d66bf56a56df2de2ad2d247f299d1b748
Merged-In: I0ab9a72d66bf56a56df2de2ad2d247f299d1b748

5 years agoMerge "Fade away wallpapers when long pulse" into qt-dev
TreeHugger Robot [Sat, 22 Jun 2019 11:59:49 +0000 (11:59 +0000)]
Merge "Fade away wallpapers when long pulse" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 22 Jun 2019 05:51:00 +0000 (22:51 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I62581a342971f2c72fbf24ecd285060a35c6d863

5 years agoFix excessive entrance animation duration + delay
Ned Burns [Thu, 18 Apr 2019 02:22:24 +0000 (22:22 -0400)]
Fix excessive entrance animation duration + delay

We were previously staggering animations by using the child's
notGoneIndex, but that can lead to strange results in the case of groups
that have many (~40) children. The children count towards the
notGoneIndex, causing unexpected discontinuities between notifs that are
visually right next to each other. Instead we just use a simple stagger
counter that gets reset on every pass and incremented for each new
entrance animation.

Fixes: 130259081
Test: Manual
Change-Id: I3c8519a8f9b7fcb661b2c4c4f8e85db0a717bc01

5 years agoMerge "Add carrier config for conference participants data support" into qt-dev
TreeHugger Robot [Sat, 22 Jun 2019 00:12:34 +0000 (00:12 +0000)]
Merge "Add carrier config for conference participants data support" into qt-dev

5 years agoMerge "ViewRootImpl: Ensure layout when configuration changes." into qt-dev
TreeHugger Robot [Sat, 22 Jun 2019 00:04:19 +0000 (00:04 +0000)]
Merge "ViewRootImpl: Ensure layout when configuration changes." into qt-dev

5 years agoAdd carrier config for conference participants data support
Youming Ye [Tue, 21 May 2019 20:10:48 +0000 (13:10 -0700)]
Add carrier config for conference participants data support

Bug: 132312382
Test: Manual
Change-Id: I88edd5a590f46b961c986ef0bf24585b3c2cf4a1
Merged-In: I88edd5a590f46b961c986ef0bf24585b3c2cf4a1

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Fri, 21 Jun 2019 22:05:31 +0000 (22:05 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Fix conflict between metrics_constants and settings_enums." into qt-dev
TreeHugger Robot [Fri, 21 Jun 2019 22:00:47 +0000 (22:00 +0000)]
Merge "Fix conflict between metrics_constants and settings_enums." into qt-dev

5 years agoReverted to the old logic for APN selection
Jack Yu [Fri, 21 Jun 2019 00:14:28 +0000 (17:14 -0700)]
Reverted to the old logic for APN selection

Reverted to the old logic that we select APN based on
RAT, but adding a special handling for 2G cases. This can
deal with the case that some APN settings has EHRPD which
we incorrectly thought that APN setting can be used on CDMA
network.

Bug: 134086103
Test: Unit tests
Change-Id: I557f00d32f53498782394ea7824e316e263ca7e7

5 years agoMerge "media: clarify frame dropping behavior for decoder output" into qt-dev
Lajos Molnar [Fri, 21 Jun 2019 19:38:17 +0000 (19:38 +0000)]
Merge "media: clarify frame dropping behavior for decoder output" into qt-dev

5 years agoFix conflict between metrics_constants and settings_enums.
Aran Ink [Fri, 21 Jun 2019 14:39:23 +0000 (10:39 -0400)]
Fix conflict between metrics_constants and settings_enums.

Change-Id: I483bf6b26f2f258f2e2f6f3d839deee4953c203d
Test: Automated tests pass.
Fixes: 135720071
(cherry picked from commit 08659ccdb72b4c578e4b83fcc9e549a9c27f4b75)

5 years agoMerge "DO NOT MERGE: Fixed an issue about notification icons on AOD" into qt-dev
TreeHugger Robot [Fri, 21 Jun 2019 18:57:25 +0000 (18:57 +0000)]
Merge "DO NOT MERGE: Fixed an issue about notification icons on AOD" into qt-dev