OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Fix TileLayout#onMeasure" into qt-dev
TreeHugger Robot [Thu, 9 May 2019 17:10:38 +0000 (17:10 +0000)]
Merge "Fix TileLayout#onMeasure" into qt-dev

5 years agoMerge "Lower battery indicator on AOD screen" into qt-dev
TreeHugger Robot [Thu, 9 May 2019 17:01:32 +0000 (17:01 +0000)]
Merge "Lower battery indicator on AOD screen" into qt-dev

5 years agoMerge "Fix cross-user background activity starts." into qt-dev
TreeHugger Robot [Thu, 9 May 2019 16:52:48 +0000 (16:52 +0000)]
Merge "Fix cross-user background activity starts." into qt-dev

5 years agoMerge "Fixed index passed to handleAssist()" into qt-dev
Felipe Leme [Thu, 9 May 2019 16:45:54 +0000 (16:45 +0000)]
Merge "Fixed index passed to handleAssist()" into qt-dev

5 years agoMerge "Fix AudioRecordingConfiguration.anonymizedCopy method" into qt-dev
TreeHugger Robot [Thu, 9 May 2019 16:28:30 +0000 (16:28 +0000)]
Merge "Fix AudioRecordingConfiguration.anonymizedCopy method" into qt-dev

5 years agoMerge "Check for null bg insets during initialization" into qt-dev
Jorim Jaggi [Thu, 9 May 2019 16:20:28 +0000 (16:20 +0000)]
Merge "Check for null bg insets during initialization" into qt-dev

5 years agoMerge "Add default brightness config to dumpsys display" into qt-dev
TreeHugger Robot [Thu, 9 May 2019 16:13:27 +0000 (16:13 +0000)]
Merge "Add default brightness config to dumpsys display" into qt-dev

5 years agoMerge "Displays that have focused apps can also be top focused" into qt-dev
TreeHugger Robot [Thu, 9 May 2019 15:56:45 +0000 (15:56 +0000)]
Merge "Displays that have focused apps can also be top focused" into qt-dev

5 years agoMerge "Adds the new dismiss target, with fling/magnet to dismiss." into qt-dev
Josh Tsuji [Thu, 9 May 2019 15:38:33 +0000 (15:38 +0000)]
Merge "Adds the new dismiss target, with fling/magnet to dismiss." into qt-dev

5 years agoLower battery indicator on AOD screen
Robert Snoeberger [Thu, 9 May 2019 15:19:24 +0000 (11:19 -0400)]
Lower battery indicator on AOD screen

Bug: 132273091
Test: visual
Change-Id: I351b1fb611f292e778224aa8eb5cfa3ef9ddaf72

5 years agoMerge "Always restore staged sessions on boot." into qt-dev
Dario Freni [Thu, 9 May 2019 15:19:58 +0000 (15:19 +0000)]
Merge "Always restore staged sessions on boot." into qt-dev

5 years agoMerge changes If5801c81,Ifd669426,I7cbe5fc1 into qt-dev
Lorenzo Colitti [Thu, 9 May 2019 15:07:52 +0000 (15:07 +0000)]
Merge changes If5801c81,Ifd669426,I7cbe5fc1 into qt-dev

* changes:
  Switch to positive naming for NetworkMonitor's Networks.
  Add tests for strict mode private DNS validation.
  Add a simple wrapper for IpClient.

5 years agoMerge "Change the icon for the captive portal login app." into qt-dev
TreeHugger Robot [Thu, 9 May 2019 15:06:02 +0000 (15:06 +0000)]
Merge "Change the icon for the captive portal login app." into qt-dev

5 years agoMerge "Only consume status bar if FULLSCREEN is set" into qt-dev
Jorim Jaggi [Thu, 9 May 2019 14:34:19 +0000 (14:34 +0000)]
Merge "Only consume status bar if FULLSCREEN is set" into qt-dev

5 years agoCheck for null bg insets during initialization
Jorim Jaggi [Wed, 8 May 2019 21:08:02 +0000 (23:08 +0200)]
Check for null bg insets during initialization

Test: Turn on Ambient sensing, toggle ambient sensing in settings
Fixes: 132264167
Change-Id: I7f19a91a7d78f8e6ae730871aebb6f7bfb30a0c5

5 years agoAlways restore staged sessions on boot.
Dario Freni [Thu, 2 May 2019 14:46:03 +0000 (15:46 +0100)]
Always restore staged sessions on boot.

The current logic doesn't restore sessions unless they are "in flight".
We want staged session to stick around until they expire after
MAX_TIME_SINCE_UPDATE_MILLIS.

Bug: 131290871
Test: atest CtsStagedInstallHostTestCases (with modifications coming in
a separate CL)

Change-Id: Ifaccf50e744a97e30a4fda0e47b88d7dc71adcf8

5 years agoFix cross-user background activity starts.
Alan Stokes [Wed, 8 May 2019 15:56:45 +0000 (16:56 +0100)]
Fix cross-user background activity starts.

This fixes some issues with checking background activity starts when
there are multiple users:

1. System server can run in other users, and we need to take this into
account when checking for Process.SYTEM_UID.

2. Starting an activity via cross-profile intent uses
startActivityAsCaller. This will generally fail our checks (because the
app we are pretending to be is not foreground) but it should be
allowed - when we use this call the system server definitely wants the
activity to be shown, and there are sufficient permission checks in
place to prevent abuse.

Bug: 130622120
Test: CTS Verifier tests no longer get blocked activity starts.
Test: atest BackgroundActivityLaunchTest
Test: atest RootWindowContainerTests
Test: atest WmTests:ActivityStarterTests
Test: atest CtsWindowManagerDeviceTestCases:ActivityStarterTests
Test: atest CtsAppTestCases:.ServiceTest
Change-Id: Id05a2cb089ac99b15cff8a3cd311ee043f13c8e1

5 years agoSwitch to positive naming for NetworkMonitor's Networks.
Lorenzo Colitti [Thu, 9 May 2019 12:33:27 +0000 (05:33 -0700)]
Switch to positive naming for NetworkMonitor's Networks.

"mNonPrivateDnsBypassNetwork" is not very easy to understand.

Bug: 122652057
Test: atest FrameworksNetTests NetworkStackTests
Change-Id: If5801c81c6ef222b46f631bd6570dcd0fea465bd
Merged-In: If5801c81c6ef222b46f631bd6570dcd0fea465bd
(cherry picked from commit 669dc6cea79f23699b6767d9b204eabca28e9e3a)

5 years agoAdd tests for strict mode private DNS validation.
Lorenzo Colitti [Thu, 9 May 2019 12:27:29 +0000 (05:27 -0700)]
Add tests for strict mode private DNS validation.

Test successful and failed validation, and updating the config.
In order to do this, add a FakeDns class so we can change DNS
responses dynamically while the test is running.

Also a couple of minor fixes:
1. Make sure the DNS timeout is set. Before this CL, it was
   always 0. Not sure why. It does seem to be set to the default
   value (12500) when actually running on device. We didn't
   catch this because the only tests that use the timeout set it
   explicitly.
2. Make runNetworkTest a bit more realistic: always send
   NetworkCapabilities *before* calling notifyNetworkConnected.
   This is what ConnectivityService does.

Bug: 122652057
Test: atest FrameworksNetTests NetworkStackTests
Test: atest --generate-new-metrics 50 NetworkStackTests:com.android.server.connectivity.NetworkMonitorTest
Change-Id: Ifd6694262501874f3261c864a049cb35c6afb9c8
Merged-In: Ifd6694262501874f3261c864a049cb35c6afb9c8
(cherry picked from commit 89909befd2f4e990d21e27c99857c635b3c6709e)

5 years agoAdd a simple wrapper for IpClient.
Lorenzo Colitti [Thu, 9 May 2019 11:05:58 +0000 (04:05 -0700)]
Add a simple wrapper for IpClient.

This takes care of boilerplate tasks such as clearing calling
identity, catching RemoteExceptions, and converting to stable
parcelable objects.

Bug: 131206163
Test: builds, boots, wifi works
Test: atest FrameworksNetTests
Change-Id: I7cbe5fc105503d0983cba2bf77fb0097bd20d9ba
Merged-In: I7cbe5fc105503d0983cba2bf77fb0097bd20d9ba
(cherry picked from commit 67a6f782e27dd5e1244c88e1b8b0cf091cd0e313)

5 years agoChange the icon for the captive portal login app.
Lorenzo Colitti [Thu, 9 May 2019 11:15:11 +0000 (04:15 -0700)]
Change the icon for the captive portal login app.

Looks like https://screenshot.googleplex.com/6n4Cf3LRv4A
Icon comes from frameworks/base/core/res/res/drawable/stat_notify_wifi_in_range.xml

Test: manual
Bug: 29924821
Change-Id: I378fdb2d493fb8598c3e4fa98e100696c72f88ea
Merged-In: I378fdb2d493fb8598c3e4fa98e100696c72f88ea
(cherry picked from commit 0b4e0750161b8f72f37ea1b0312feda7d7475537)

5 years agoMerge "Revert "Populate active apexes cache in a background thread"" into qt-dev
Mohammad Samiul Islam [Thu, 9 May 2019 11:12:38 +0000 (11:12 +0000)]
Merge "Revert "Populate active apexes cache in a background thread"" into qt-dev

5 years agoMerge "Set the default value for Secure Settings: SKIP_GESTURE & SILENCE_GESTURE...
Edgar Wang [Thu, 9 May 2019 10:56:10 +0000 (10:56 +0000)]
Merge "Set the default value for Secure Settings: SKIP_GESTURE & SILENCE_GESTURE" into qt-dev

5 years agoMerge "[CS] Unregister callback as part of onUnavailable dispatch" into qt-dev
Lorenzo Colitti [Thu, 9 May 2019 09:42:38 +0000 (09:42 +0000)]
Merge "[CS] Unregister callback as part of onUnavailable dispatch" into qt-dev

5 years agoAdd default brightness config to dumpsys display
Kenny Guy [Wed, 1 May 2019 11:19:18 +0000 (12:19 +0100)]
Add default brightness config to dumpsys display

Test: manual: Booted device and ran adb dumpsys display checked for config.
Bug: 131735749
Change-Id: Id6957807487381ddf84bb40cf12e2b36b374daf9

5 years agoDisplays that have focused apps can also be top focused
Louis Chang [Thu, 25 Apr 2019 09:14:20 +0000 (17:14 +0800)]
Displays that have focused apps can also be top focused

There was no focus window during activity switches.
- While starting an activity, the previous top activity was paused and set
  the AppWindowToken.hiddenRequested to true (while #setVisibility)
- While finishing current top activity, the focused window was updated a
  bit early, which was before the next top activity resumed.

In both two cases, the focused window was set to null for a small amount of
time. So, we tried to look up the focus in other displays and resulted
the extra onWindowFocusChanged() calls for activities on other displays.

Bug: 131374329
Test: DisplayContentTests
Change-Id: Ia77bf697c237696cad7b42ca6b38157eff497b23

5 years ago[CS] Unregister callback as part of onUnavailable dispatch
Etan Cohen [Tue, 16 Apr 2019 22:07:55 +0000 (15:07 -0700)]
[CS] Unregister callback as part of onUnavailable dispatch

The onUnavailable semantics promise that it is equivalent to calling
the unregister callback method. But - it doesn't unregister the callback
allowing it to be reused. Fixed.

Additionally, modified the unregisterNetworkCallback method to not fail
on duplicate unregistration (since a callback could now self
unregister). Instead simply print a log.

Bug: 130651445
Test: atest ConnectivityServiceTest
Merged-In: I4c54b003a733eb0b1e4fd8674ed13081b1bef8e3
Change-Id: I4c54b003a733eb0b1e4fd8674ed13081b1bef8e3

5 years agoMerge changes from topic "am-f8d9284a-cfc8-4e4b-8915-eaac6542f6b5" into oc-dev am...
Jonathan Scott [Thu, 9 May 2019 03:53:41 +0000 (20:53 -0700)]
Merge changes from topic "am-f8d9284a-cfc8-4e4b-8915-eaac6542f6b5" into oc-dev am: 42fb96810e am: 68c54d17e2 am: ca23d007b4
am: 6008756601

Change-Id: I12ea0ad06192c2057ab2b2dd3bea150eed0230e6

5 years ago[automerger skipped] [automerger] [RESTRICT AUTOMERGE] Make Lock task default behavio...
Jonathan Scott [Thu, 9 May 2019 03:40:48 +0000 (20:40 -0700)]
[automerger skipped] [automerger] [RESTRICT AUTOMERGE] Make Lock task default behaviour consistent with Settings. am: fe9f143d2c am: 4938d3e518 am: 498d367b2c am: d6f4a3f2bc skipped: ad38008f58 am: 970863ea62 am: 9707affaa8 am: 906080bd27 -s ours
am: 77d21995fc -s ours
am skip reason: subject contains skip directive

Change-Id: Iff8981642c8278a14827f946fc19efd8d6507e25

5 years agoMerge "Add IPsec checks for IPSEC_TUNNEL feature" into qt-dev
Lorenzo Colitti [Thu, 9 May 2019 03:25:35 +0000 (03:25 +0000)]
Merge "Add IPsec checks for IPSEC_TUNNEL feature" into qt-dev

5 years agoMerge changes from topic "am-f8d9284a-cfc8-4e4b-8915-eaac6542f6b5" into oc-dev am...
Jonathan Scott [Thu, 9 May 2019 02:51:15 +0000 (19:51 -0700)]
Merge changes from topic "am-f8d9284a-cfc8-4e4b-8915-eaac6542f6b5" into oc-dev am: 42fb96810e am: 68c54d17e2
am: ca23d007b4

Change-Id: I442ff747c342f79869aad9a3afbfdac9490e9906

5 years ago[automerger skipped] [automerger] [RESTRICT AUTOMERGE] Make Lock task default behavio...
Jonathan Scott [Thu, 9 May 2019 02:40:11 +0000 (19:40 -0700)]
[automerger skipped] [automerger] [RESTRICT AUTOMERGE] Make Lock task default behaviour consistent with Settings. am: fe9f143d2c am: 4938d3e518 am: 498d367b2c am: d6f4a3f2bc skipped: ad38008f58 am: 970863ea62 am: 9707affaa8
am: 906080bd27 -s ours
am skip reason: subject contains skip directive

Change-Id: I4faa3f6284b8708d2ece0f96db8ec498bc841299

5 years agoMerge "Assume all touches are valid after face auth" into qt-dev
Kevin Chyn [Thu, 9 May 2019 01:57:55 +0000 (01:57 +0000)]
Merge "Assume all touches are valid after face auth" into qt-dev

5 years agoMerge "User notification of NFW emergency requests similar to IGnssNi.hal" into qt-dev
Anil Admal [Thu, 9 May 2019 01:53:21 +0000 (01:53 +0000)]
Merge "User notification of NFW emergency requests similar to IGnssNi.hal" into qt-dev

5 years agoMerge changes from topic "am-f8d9284a-cfc8-4e4b-8915-eaac6542f6b5" into oc-dev am...
Jonathan Scott [Thu, 9 May 2019 01:48:36 +0000 (18:48 -0700)]
Merge changes from topic "am-f8d9284a-cfc8-4e4b-8915-eaac6542f6b5" into oc-dev am: 42fb96810e
am: 68c54d17e2

Change-Id: I315b894df15d7fd3dd1f74fdf323f07633981cd3

5 years ago[automerger] [RESTRICT AUTOMERGE] Make Lock task default behaviour consistent with...
Jonathan Scott [Thu, 9 May 2019 01:38:58 +0000 (18:38 -0700)]
[automerger] [RESTRICT AUTOMERGE] Make Lock task default behaviour consistent with Settings. am: fe9f143d2c am: 4938d3e518 am: 498d367b2c am: d6f4a3f2bc skipped: ad38008f58 am: 970863ea62
am: 9707affaa8

Change-Id: Iba3263f17bb98cbad6239b04d6f3d7667312118a

5 years agoMerge changes from topic "am-f8d9284a-cfc8-4e4b-8915-eaac6542f6b5" into oc-dev
Jonathan Scott [Thu, 9 May 2019 00:38:02 +0000 (17:38 -0700)]
Merge changes from topic "am-f8d9284a-cfc8-4e4b-8915-eaac6542f6b5" into oc-dev
am: 42fb96810e

Change-Id: Iae376975d87e030148b258cfeec3ab583b9f68fc

5 years ago[automerger] [RESTRICT AUTOMERGE] Make Lock task default behaviour consistent with...
Jonathan Scott [Thu, 9 May 2019 00:34:19 +0000 (17:34 -0700)]
[automerger] [RESTRICT AUTOMERGE] Make Lock task default behaviour consistent with Settings. am: fe9f143d2c am: 4938d3e518 am: 498d367b2c am: d6f4a3f2bc skipped: ad38008f58
am: 970863ea62

Change-Id: I7cb30baeff59cbdfc688c9f44bfdb1c25f20f33a

5 years agoMerge "Adding indirection for preference icon size" into qt-dev
John Choi [Thu, 9 May 2019 00:21:07 +0000 (00:21 +0000)]
Merge "Adding indirection for preference icon size" into qt-dev

5 years agoMerge "Fixed autofill workflow to handle manual requests after session became for...
Felipe Leme [Thu, 9 May 2019 00:18:56 +0000 (00:18 +0000)]
Merge "Fixed autofill workflow to handle manual requests after session became for augmented autofill only." into qt-dev

5 years agoFixed index passed to handleAssist()
Felipe Leme [Thu, 9 May 2019 00:10:07 +0000 (17:10 -0700)]
Fixed index passed to handleAssist()

Test: atest CtsAssistTestCases

Fixes: 131386884

Change-Id: I447c2c89b71b6638316a3136ffa5d2204fc5b0cd

5 years agoMerge "Added face education setting" into qt-dev
Kevin Chyn [Wed, 8 May 2019 23:55:22 +0000 (23:55 +0000)]
Merge "Added face education setting" into qt-dev

5 years agoMerge "Do not try to unregister APC multiple time" into qt-dev
Kevin Rocard [Wed, 8 May 2019 23:42:45 +0000 (23:42 +0000)]
Merge "Do not try to unregister APC multiple time" into qt-dev

5 years agoDo not try to unregister APC multiple time
Kevin Rocard [Fri, 3 May 2019 00:56:13 +0000 (17:56 -0700)]
Do not try to unregister APC multiple time

If audioRecord.release() is called explicitly, APC DP is released.
When the AudioRecord.finalizer() is called by the JVM, the APC DP would
be released again, leading to misleading error message.

Bug: 131064451
Test: call AudioRecord release and check that the finalizer do not log a
      release failure
Change-Id: Ia7092274ea8ac8e0a6754dfe2541f823f650384d
Signed-off-by: Kevin Rocard <krocard@google.com>
5 years ago[automerger skipped] Merge "[RESTRICT AUTOMERGE] Careful with screenshots containing...
Bryan Ferris [Wed, 8 May 2019 23:35:21 +0000 (16:35 -0700)]
[automerger skipped] Merge "[RESTRICT AUTOMERGE] Careful with screenshots containing secure layers!" into pi-dev
am: 94d5cdca2a -s ours
am skip reason: subject contains skip directive

Change-Id: I3f6fdf2b3de003538c5a93d7cc36a7bbffb6c57f

5 years agoMerge changes from topic "am-f8d9284a-cfc8-4e4b-8915-eaac6542f6b5" into oc-dev
TreeHugger Robot [Wed, 8 May 2019 23:21:42 +0000 (23:21 +0000)]
Merge changes from topic "am-f8d9284a-cfc8-4e4b-8915-eaac6542f6b5" into oc-dev

* changes:
  [automerger] [RESTRICT AUTOMERGE] Make Lock task default behaviour consistent with Settings. am: fe9f143d2c am: 4938d3e518 am: 498d367b2c am: d6f4a3f2bc skipped: ad38008f58
  [automerger] [RESTRICT AUTOMERGE] Make Lock task default behaviour consistent with Settings. am: fe9f143d2c am: 4938d3e518 am: 498d367b2c am: d6f4a3f2bc
  [automerger] [RESTRICT AUTOMERGE] Make Lock task default behaviour consistent with Settings. am: fe9f143d2c am: 4938d3e518 am: 498d367b2c
  [automerger] [RESTRICT AUTOMERGE] Make Lock task default behaviour consistent with Settings. am: fe9f143d2c am: 4938d3e518
  [automerger] [RESTRICT AUTOMERGE] Make Lock task default behaviour consistent with Settings. am: fe9f143d2c
  [RESTRICT AUTOMERGE] Make Lock task default behaviour consistent with Settings.

5 years agoMerge "[RESTRICT AUTOMERGE] Careful with screenshots containing secure layers!" into...
Bryan Ferris [Wed, 8 May 2019 23:04:43 +0000 (23:04 +0000)]
Merge "[RESTRICT AUTOMERGE] Careful with screenshots containing secure layers!" into pi-dev

5 years agoAdds the new dismiss target, with fling/magnet to dismiss.
Joshua Tsuji [Mon, 22 Apr 2019 21:36:11 +0000 (17:36 -0400)]
Adds the new dismiss target, with fling/magnet to dismiss.

Test: atest SystemUITests
Bug: 123541855
Change-Id: Id2a149f8551eb58b240ece35569ca394c06e811d

5 years agoAssume all touches are valid after face auth
Lucas Dupin [Wed, 8 May 2019 22:13:36 +0000 (15:13 -0700)]
Assume all touches are valid after face auth

Biometric authentication is a strong user presense signal.
Let's factor it into FalsingManager.

Fixes: 132094802
Test: manual
Change-Id: I799a07040faffa41e0990ada7cb73022e53315a3

5 years ago[automerger skipped] Merge "HwBlob: s/malloc/calloc/" into oc-dev am: 123ffb6202...
Steven Moreland [Wed, 8 May 2019 22:20:53 +0000 (15:20 -0700)]
[automerger skipped] Merge "HwBlob: s/malloc/calloc/" into oc-dev am: 123ffb6202 am: f489aed3c1 am: 96f4f9e2e9
am: b8ff385796 -s ours
am skip reason: change_id I48f4d7cb20c4bfe747dd323ae3744d323ad097c9 with SHA1 05c973aeb6 is in history

Change-Id: I489b4dc1cfc80e35b126fa1e2c811dc1b6228772

5 years agoMerge "HwBlob: s/malloc/calloc/" into oc-dev am: 123ffb6202 am: f489aed3c1
Steven Moreland [Wed, 8 May 2019 21:57:21 +0000 (14:57 -0700)]
Merge "HwBlob: s/malloc/calloc/" into oc-dev am: 123ffb6202 am: f489aed3c1
am: 96f4f9e2e9

Change-Id: I25c279ca932b02850bda6bcc58453402369bd8a4

5 years agoMerge "HwBlob: s/malloc/calloc/" into oc-dev am: 123ffb6202
Steven Moreland [Wed, 8 May 2019 21:37:05 +0000 (14:37 -0700)]
Merge "HwBlob: s/malloc/calloc/" into oc-dev am: 123ffb6202
am: f489aed3c1

Change-Id: Iea1bfc306161b065a3699fd780da28296f46dc96

5 years agoMerge "Remove encryption from incidentd" into qt-dev
Yao Chen [Wed, 8 May 2019 21:31:04 +0000 (21:31 +0000)]
Merge "Remove encryption from incidentd" into qt-dev

5 years agoAdded face education setting
joshmccloskey [Tue, 7 May 2019 02:58:07 +0000 (19:58 -0700)]
Added face education setting

Test: It builds
Bug: 131774352
Change-Id: I23cc05838052da7d40223a519bbf99895d165f86

5 years agoMerge "HwBlob: s/malloc/calloc/" into oc-dev
Steven Moreland [Wed, 8 May 2019 21:20:20 +0000 (14:20 -0700)]
Merge "HwBlob: s/malloc/calloc/" into oc-dev
am: 123ffb6202

Change-Id: I8ecd922f540f9b93edd44056bf375e464c63eb54

5 years agoOnly consume status bar if FULLSCREEN is set
Jorim Jaggi [Tue, 7 May 2019 15:10:42 +0000 (17:10 +0200)]
Only consume status bar if FULLSCREEN is set

We only need to consume if the app may not expect to have insets,
meaning that they set fullscreen but it was denied.

Test: WindowInsetsPolicy
Fixes: 129272201
Change-Id: I6392f2bcb9a510db4c60bc4f071070b45f143dcb

5 years agoMerge "HwBlob: s/malloc/calloc/" into oc-dev
TreeHugger Robot [Wed, 8 May 2019 20:49:53 +0000 (20:49 +0000)]
Merge "HwBlob: s/malloc/calloc/" into oc-dev

5 years ago[automerger skipped] Merge "[RESTRICT AUTOMERGE] Make LockTaskController default...
Jonathan Scott [Wed, 8 May 2019 20:28:03 +0000 (13:28 -0700)]
[automerger skipped] Merge "[RESTRICT AUTOMERGE] Make LockTaskController default behaviour match ScreenPinningSettings." into pi-dev
am: 0f8423ff59 -s ours
am skip reason: subject contains skip directive

Change-Id: Ie46a3606a283c89a9a6d5fceb25af286c6433b73

5 years ago[automerger skipped] [RESTRICT AUTOMERGE] Make LockTaskController default behaviour...
Jonathan Scott [Wed, 8 May 2019 20:19:20 +0000 (13:19 -0700)]
[automerger skipped] [RESTRICT AUTOMERGE] Make LockTaskController default behaviour match ScreenPinningSettings.
am: 5d6c1e8f45 -s ours
am skip reason: subject contains skip directive

Change-Id: Ie6fa7b4cd500cb43075a2543744c79d3b574e6bd

5 years agoMerge "PhoneStateListener msim improvement" into qt-dev
Chen Xu [Wed, 8 May 2019 20:13:55 +0000 (20:13 +0000)]
Merge "PhoneStateListener msim improvement" into qt-dev

5 years agoMerge "[RESTRICT AUTOMERGE] Make LockTaskController default behaviour match ScreenPin...
TreeHugger Robot [Wed, 8 May 2019 20:00:27 +0000 (20:00 +0000)]
Merge "[RESTRICT AUTOMERGE] Make LockTaskController default behaviour match ScreenPinningSettings." into pi-dev

5 years agoMerge "ANGLE: Reorder debug package check" into qt-dev
TreeHugger Robot [Wed, 8 May 2019 19:46:13 +0000 (19:46 +0000)]
Merge "ANGLE: Reorder debug package check" into qt-dev

5 years ago[automerger skipped] Merge "[RESTRICT AUTOMERGE]: Exclude secure layers from most...
Robert Carr [Wed, 8 May 2019 19:11:33 +0000 (12:11 -0700)]
[automerger skipped] Merge "[RESTRICT AUTOMERGE]: Exclude secure layers from most screenshots taken by the system server." into pi-dev
am: 6265a0fc50 -s ours
am skip reason: subject contains skip directive

Change-Id: Ie0051f57f871f5312a9ed05943481a383139f3ea

5 years agoMerge "Add secure settings for Global Actions Panel." into qt-dev
Aran Ink [Wed, 8 May 2019 18:56:26 +0000 (18:56 +0000)]
Merge "Add secure settings for Global Actions Panel." into qt-dev

5 years agoMerge "[RESTRICT AUTOMERGE]: Exclude secure layers from most screenshots taken by...
TreeHugger Robot [Wed, 8 May 2019 18:56:19 +0000 (18:56 +0000)]
Merge "[RESTRICT AUTOMERGE]: Exclude secure layers from most screenshots taken by the system server." into pi-dev

5 years agoMerge "Remove the cache size from internal size." into qt-dev
Daniel Nishi [Wed, 8 May 2019 18:28:00 +0000 (18:28 +0000)]
Merge "Remove the cache size from internal size." into qt-dev

5 years agoPhoneStateListener msim improvement
chen xu [Mon, 29 Apr 2019 20:57:42 +0000 (13:57 -0700)]
PhoneStateListener msim improvement

1. Docuemnt the scope of each callback event either apply to specific
subscriptions or not.
2. TelephonyRegistry store separate state e.g, precisecallstate, callAttribute
for each slot to support msim.
3. Add missing subscription match check when notify callbacks.

Bug: 130423985
Bug: 132181378
Test:  atest CtsTelephonyTestCases:PhoneStateListenerTest
Change-Id: I4b014e00528a1f05e0b5f237229c561f8260e2bd

5 years agoMerge "Sharesheet - Address misleading logs" into qt-dev
TreeHugger Robot [Wed, 8 May 2019 17:59:33 +0000 (17:59 +0000)]
Merge "Sharesheet - Address misleading logs" into qt-dev

5 years agoMerge "Clean augmented-only autofill sessions when augmented service changes." into...
TreeHugger Robot [Wed, 8 May 2019 17:45:50 +0000 (17:45 +0000)]
Merge "Clean augmented-only autofill sessions when augmented service changes." into qt-dev

5 years agoMerge "Validate vendor display color modes" into qt-dev
Christine Franks [Wed, 8 May 2019 17:38:21 +0000 (17:38 +0000)]
Merge "Validate vendor display color modes" into qt-dev

5 years agoMerge "Update PackageWatchdog to use the properties listener for DeviceConfig." into...
Matt Pape [Wed, 8 May 2019 17:32:40 +0000 (17:32 +0000)]
Merge "Update PackageWatchdog to use the properties listener for DeviceConfig." into qt-dev

5 years agoMerge "Add callback to OverlayPlugin - updates forcePluginOpen" into qt-dev
Beverly Tai [Wed, 8 May 2019 17:22:26 +0000 (17:22 +0000)]
Merge "Add callback to OverlayPlugin - updates forcePluginOpen" into qt-dev

5 years agoFix AudioRecordingConfiguration.anonymizedCopy method
Mikhail Naganov [Tue, 7 May 2019 19:33:13 +0000 (12:33 -0700)]
Fix AudioRecordingConfiguration.anonymizedCopy method

Client port ID must not be anonymized as it is used by
AudioRecord class to filter out the corresponding
recording configuration.

Bug: 123312504
Bug: 131756086
Test: atest CtsMediaTestCases:AudioRecordTest#testAudioRecordInfoCallback
      atest CtsMediaTestCases:AudioRecordTest#testGetActiveRecordingConfiguration

Change-Id: I3e32395e9df107db76cfc940fecda8d066c05d97

5 years agoMerge "Adds missing break after last statement in switch" into qt-dev
Mark Renouf [Wed, 8 May 2019 17:13:58 +0000 (17:13 +0000)]
Merge "Adds missing break after last statement in switch" into qt-dev

5 years agoMerge "Updates BubbleData sorting and grouping to spec" into qt-dev
Mark Renouf [Wed, 8 May 2019 16:58:20 +0000 (16:58 +0000)]
Merge "Updates BubbleData sorting and grouping to spec" into qt-dev

5 years agoMerge "Disable existing ContentCapture sessions if service changes their whitelist...
Felipe Leme [Wed, 8 May 2019 16:34:17 +0000 (16:34 +0000)]
Merge "Disable existing ContentCapture sessions if service changes their whitelist status." into qt-dev

5 years agoClean augmented-only autofill sessions when augmented service changes.
Felipe Leme [Thu, 2 May 2019 21:24:55 +0000 (14:24 -0700)]
Clean augmented-only autofill sessions when augmented service changes.

Test: manual verification
Test: atest CtsContentCaptureServiceTestCases # sanity check

Bug: 123100811

Merged-In: I3de4895e2baea6f127ec3062bc0affbc40343d52
Change-Id: I3de4895e2baea6f127ec3062bc0affbc40343d52

5 years agoAdding indirection for preference icon size
John Choi [Tue, 7 May 2019 17:33:02 +0000 (10:33 -0700)]
Adding indirection for preference icon size

Also cleaned up the layout files to add indirection for vertical
padding and not use unnecessary private attribute resolution.

Fixes: 127764280
Test: manual
Change-Id: I5785d55186da4a39cd776e1f2ca3fa17e1b9480b

5 years agoMerge "Increase 32-bit WebView VA reservation." into qt-dev
TreeHugger Robot [Wed, 8 May 2019 15:41:50 +0000 (15:41 +0000)]
Merge "Increase 32-bit WebView VA reservation." into qt-dev

5 years agoMerge "AudioService: refine concurrent capture policy" into qt-dev
Eric Laurent [Wed, 8 May 2019 15:36:25 +0000 (15:36 +0000)]
Merge "AudioService: refine concurrent capture policy" into qt-dev

5 years agoUpdates BubbleData sorting and grouping to spec
Mark Renouf [Thu, 2 May 2019 19:21:01 +0000 (15:21 -0400)]
Updates BubbleData sorting and grouping to spec

This change adds onBubbleOrderChanged to BubbleStackView
to try to keep the order synchronized. There are some known
issues with the animation and visual state, which will be
addressed in a follow up CL.

Bug: 123542488
Test: BubbleControllerTest BubbleDataTest
Change-Id: Ie5a679df2f3069236f4d67a3fce4189b39b9eb28

5 years agoMerge "Scale all StatusBarIconView status icons to 17dp" into qt-dev
TreeHugger Robot [Wed, 8 May 2019 14:52:24 +0000 (14:52 +0000)]
Merge "Scale all StatusBarIconView status icons to 17dp" into qt-dev

5 years agoRevert "Populate active apexes cache in a background thread"
Mohammad Samiul Islam [Wed, 8 May 2019 14:41:53 +0000 (14:41 +0000)]
Revert "Populate active apexes cache in a background thread"

This reverts commit 97fc6d9c29dd08f75f4f7d82d17d9f422ec44147.

Reason for revert: b/132236259

Change-Id: I5270140580ebad16a9dc1db6b2e5f9faa977f54a
Bug: 132236259

5 years agoFix TileLayout#onMeasure
Fabian Kozynski [Wed, 8 May 2019 13:19:52 +0000 (09:19 -0400)]
Fix TileLayout#onMeasure

The width value for setMeasuredDimension was wrong, as it was adding the
padding, which was already included as this is the width we get from the
parent. This caused each TilePage in PagedTileLayout to be 8dp wider
than the container and then they overlapped at the edges, appearing in
the next page.

Test: visual using showLayoutBounds
Test: manual using Talkback, previous page not focused
Fixes: 132048870
Change-Id: Idd5d4567cfe25dd1e11a02995286a29606eac6e0

5 years agoMerge "Pretend to be having the original background" into qt-dev
Jorim Jaggi [Wed, 8 May 2019 12:21:53 +0000 (12:21 +0000)]
Merge "Pretend to be having the original background" into qt-dev

5 years agoMerge "Add EPROTONOSUPPORT to IpSecManager SSE map" into qt-dev
Lorenzo Colitti [Wed, 8 May 2019 09:20:09 +0000 (09:20 +0000)]
Merge "Add EPROTONOSUPPORT to IpSecManager SSE map" into qt-dev

5 years agoDo not set positive button visibility if dialog is from restored state
Kevin Chyn [Wed, 8 May 2019 02:39:44 +0000 (19:39 -0700)]
Do not set positive button visibility if dialog is from restored state

Also fix hidden dependency where positive button is enabled through
a dependency. Explicitly set visiblity where setEnabled occurs now.

Fixes: 132203917

Test: manual
Change-Id: Iba1e01a7c6b64a0f6a2721ddffac9d785981e9a0

5 years agoMerge "Get color directly and remove redundant clearMessage()" into qt-dev
Kevin Chyn [Wed, 8 May 2019 06:26:56 +0000 (06:26 +0000)]
Merge "Get color directly and remove redundant clearMessage()" into qt-dev

5 years agoMerge "Update BiometricPrompt colors" into qt-dev
Kevin Chyn [Wed, 8 May 2019 06:25:01 +0000 (06:25 +0000)]
Merge "Update BiometricPrompt colors" into qt-dev

5 years agoMerge "ic_corp_badge shape change on adaptive icon shape change" into qt-dev
Hyunyoung Song [Wed, 8 May 2019 05:10:00 +0000 (05:10 +0000)]
Merge "ic_corp_badge shape change on adaptive icon shape change" into qt-dev

5 years ago[automerger skipped] OP_REQUEST_INSTALL_PACKAGES denied by default am: 43e682abef...
Christopher Dombroski [Wed, 8 May 2019 04:45:43 +0000 (21:45 -0700)]
[automerger skipped] OP_REQUEST_INSTALL_PACKAGES denied by default am: 43e682abef am: 93780658ba am: e2d4ed92b4
am: abbe99e0f0 -s ours
am skip reason: change_id I2578251906f6656b83464d1c4fc4db99165841c9 with SHA1 acc75528ff is in history

Change-Id: I7bb9a8f7dbbffe346f383cb1e33463a6389f1a4f

5 years agoOP_REQUEST_INSTALL_PACKAGES denied by default am: 43e682abef am: 93780658ba
Christopher Dombroski [Wed, 8 May 2019 04:12:12 +0000 (21:12 -0700)]
OP_REQUEST_INSTALL_PACKAGES denied by default am: 43e682abef am: 93780658ba
am: e2d4ed92b4

Change-Id: I7b440302c64f54d33ec4afce2ac517288cc5cba6

5 years agoMerge "Ensure we only remove messages for the same app info" into qt-dev
Winson Chung [Wed, 8 May 2019 03:52:59 +0000 (03:52 +0000)]
Merge "Ensure we only remove messages for the same app info" into qt-dev

5 years agoOP_REQUEST_INSTALL_PACKAGES denied by default am: 43e682abef
Christopher Dombroski [Wed, 8 May 2019 03:19:24 +0000 (20:19 -0700)]
OP_REQUEST_INSTALL_PACKAGES denied by default am: 43e682abef
am: 93780658ba

Change-Id: I3755a8c458b92e565d33779d3d4d3c7c6614cdf5

5 years agoMerge "Handle [error->pending_confirmation] and [error->authenticated] animations...
Kevin Chyn [Wed, 8 May 2019 02:41:18 +0000 (02:41 +0000)]
Merge "Handle [error->pending_confirmation] and [error->authenticated] animations" into qt-dev

5 years agoMerge "Added moar augmented-autofill metrics:" into qt-dev
TreeHugger Robot [Wed, 8 May 2019 02:22:53 +0000 (02:22 +0000)]
Merge "Added moar augmented-autofill metrics:" into qt-dev

5 years agoGet color directly and remove redundant clearMessage()
Kevin Chyn [Wed, 8 May 2019 02:15:52 +0000 (19:15 -0700)]
Get color directly and remove redundant clearMessage()

Fixes: 132204990

Test: Message has proper color
Change-Id: I8ae35a35c4f7151f08fc6c2ffb8e2d5cac216187

5 years agoMerge "Restricted permission whitelisted by default" into qt-dev
Svetoslav Ganov [Wed, 8 May 2019 02:17:24 +0000 (02:17 +0000)]
Merge "Restricted permission whitelisted by default" into qt-dev

5 years agoOP_REQUEST_INSTALL_PACKAGES denied by default
Christopher Dombroski [Wed, 8 May 2019 02:13:32 +0000 (19:13 -0700)]
OP_REQUEST_INSTALL_PACKAGES denied by default
am: 43e682abef

Change-Id: I13fd6fc7ba432a2cde1e8dbbc7b206e8203374f8

5 years agoMerge "Do not check for APEX and APK package name collisions during normal boot"...
TreeHugger Robot [Wed, 8 May 2019 01:54:55 +0000 (01:54 +0000)]
Merge "Do not check for APEX and APK package name collisions during normal boot" into qt-dev