OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Block brightness slider quick settings when DISALLOW_CONFIG_BRIGHTNESS is...
Yueming Wang [Thu, 25 Jan 2018 11:48:33 +0000 (11:48 +0000)]
Merge "Block brightness slider quick settings when DISALLOW_CONFIG_BRIGHTNESS is set."

6 years agoMerge "Added support for getKeyRequest metric."
Adam Stone [Thu, 25 Jan 2018 11:20:57 +0000 (11:20 +0000)]
Merge "Added support for getKeyRequest metric."

6 years agoMerge "Add support for Multi-A2DP state machines per device"
TreeHugger Robot [Thu, 25 Jan 2018 11:07:44 +0000 (11:07 +0000)]
Merge "Add support for Multi-A2DP state machines per device"

6 years agoAdd support for Multi-A2DP state machines per device
Pavlin Radoslavov [Thu, 4 Jan 2018 03:38:39 +0000 (19:38 -0800)]
Add support for Multi-A2DP state machines per device

* Update usage of A2dpService API calls that take BluetoothDevice
  as an additional argument
* Update the description for BluetoothA2dp.connect()

Exempt-From-Owner-Approval: De-facto owner of the relevant changes is
the Bluetooth team.
Bug: 69269748
Test: Manual
Change-Id: I190ed48ef65bbc8b88b45f84ebd6ab3d21cf0b4e

6 years agoMerge "Add more loggings to debug decryption issues"
TreeHugger Robot [Thu, 25 Jan 2018 10:58:52 +0000 (10:58 +0000)]
Merge "Add more loggings to debug decryption issues"

6 years agoBlock brightness slider quick settings when DISALLOW_CONFIG_BRIGHTNESS is set.
yuemingw [Tue, 23 Jan 2018 16:05:08 +0000 (16:05 +0000)]
Block brightness slider quick settings when DISALLOW_CONFIG_BRIGHTNESS is set.

Test: manual
Bug: 67628870
Change-Id: I30af889e7758c7ea30fa796138d4ca3fefc6e8e9

6 years agoMerge "Track removal of Os.waitpid(..., Int32Ref, ...) from API."
TreeHugger Robot [Thu, 25 Jan 2018 09:29:17 +0000 (09:29 +0000)]
Merge "Track removal of Os.waitpid(..., Int32Ref, ...) from API."

6 years agoMerge "Remove @hide from incremental flags & return code."
Robert Berry [Thu, 25 Jan 2018 09:28:29 +0000 (09:28 +0000)]
Merge "Remove @hide from incremental flags & return code."

6 years agoMerge "Warn when running activity from deprecated app (< min supported sdk)."
Przemyslaw Szczepaniak [Thu, 25 Jan 2018 09:20:18 +0000 (09:20 +0000)]
Merge "Warn when running activity from deprecated app (< min supported sdk)."

6 years agoMerge "Rewrite handling of oob priv-apps in framework."
Nicolas Geoffray [Thu, 25 Jan 2018 08:59:28 +0000 (08:59 +0000)]
Merge "Rewrite handling of oob priv-apps in framework."

6 years agoMerge "keystore: Add Trusted User Presence (TUP) APIs."
TreeHugger Robot [Thu, 25 Jan 2018 08:36:54 +0000 (08:36 +0000)]
Merge "keystore: Add Trusted User Presence (TUP) APIs."

6 years agoMerge "Move Keepalive out of IpSecTransform.Builder" am: af3fb3efe4 am: bbb4b05a64
nharold [Thu, 25 Jan 2018 07:59:57 +0000 (07:59 +0000)]
Merge "Move Keepalive out of IpSecTransform.Builder" am: af3fb3efe4 am: bbb4b05a64
am: 461aeb4689

Change-Id: Ic554e34d9b16f522156bc7e8b176f96693e8e32c

6 years agoMerge "Fix a bug where a NetworkAgent gets repeatedly torn down" am: a8452ed2a6 am...
Chalard Jean [Thu, 25 Jan 2018 07:51:11 +0000 (07:51 +0000)]
Merge "Fix a bug where a NetworkAgent gets repeatedly torn down" am: a8452ed2a6 am: 806f0191d4
am: 16897eb4aa

Change-Id: I06a64bbfaa501f860d7078cb2cc6d9af60b57eb8

6 years agoMerge "Move Keepalive out of IpSecTransform.Builder" am: af3fb3efe4
nharold [Thu, 25 Jan 2018 07:49:59 +0000 (07:49 +0000)]
Merge "Move Keepalive out of IpSecTransform.Builder" am: af3fb3efe4
am: bbb4b05a64

Change-Id: I383aa402d9d570ee7c7d5a603d022d1dade267a5

6 years agoMerge "Fix a bug where a NetworkAgent gets repeatedly torn down" am: a8452ed2a6
Chalard Jean [Thu, 25 Jan 2018 07:41:44 +0000 (07:41 +0000)]
Merge "Fix a bug where a NetworkAgent gets repeatedly torn down" am: a8452ed2a6
am: 806f0191d4

Change-Id: Ifd63fdf47348dc3a1c1871deacc61470784bdbb6

6 years agoMerge "Move Keepalive out of IpSecTransform.Builder"
nharold [Thu, 25 Jan 2018 07:37:00 +0000 (07:37 +0000)]
Merge "Move Keepalive out of IpSecTransform.Builder"
am: af3fb3efe4

Change-Id: I5ef319815e27c321ce4fee0cb671f16372e9a604

6 years agoMerge "PackageManager: Add FEATURE_CAMERA_AR"
TreeHugger Robot [Thu, 25 Jan 2018 07:34:33 +0000 (07:34 +0000)]
Merge "PackageManager: Add FEATURE_CAMERA_AR"

6 years agoMerge "Fix a bug where a NetworkAgent gets repeatedly torn down"
Chalard Jean [Thu, 25 Jan 2018 07:33:35 +0000 (07:33 +0000)]
Merge "Fix a bug where a NetworkAgent gets repeatedly torn down"
am: a8452ed2a6

Change-Id: Ic37c9f60448b10c861a78848bed18ebd4e0ad910

6 years agokeystore: Add Trusted User Presence (TUP) APIs.
Allen Webb [Thu, 18 Jan 2018 16:34:45 +0000 (08:34 -0800)]
keystore: Add Trusted User Presence (TUP) APIs.

Test: m -j KeystoreTests && adb install -r
out/target/product/crosshatch/data/app/KeystoreTests/KeystoreTests.apk
    adb shell am instrument
    'android.security.tests/android.support.test.runner.AndroidJUnitRunner'
Bug: 72476834

Change-Id: I61ee4326a5e31f1cefacd47470b53634fa94c2ef

6 years agoMerge "Set ActivityView background to current top task's color"
TreeHugger Robot [Thu, 25 Jan 2018 06:52:42 +0000 (06:52 +0000)]
Merge "Set ActivityView background to current top task's color"

6 years agoMerge "Adding guardrails on writing to disk from statsd"
TreeHugger Robot [Thu, 25 Jan 2018 06:47:29 +0000 (06:47 +0000)]
Merge "Adding guardrails on writing to disk from statsd"

6 years agoMerge "Temporarily disable swipe up onboarding"
TreeHugger Robot [Thu, 25 Jan 2018 06:43:17 +0000 (06:43 +0000)]
Merge "Temporarily disable swipe up onboarding"

6 years agoMerge "Statsd broadcast subscriber"
TreeHugger Robot [Thu, 25 Jan 2018 06:23:36 +0000 (06:23 +0000)]
Merge "Statsd broadcast subscriber"

6 years agoMerge "Move Keepalive out of IpSecTransform.Builder"
nharold [Thu, 25 Jan 2018 05:50:33 +0000 (05:50 +0000)]
Merge "Move Keepalive out of IpSecTransform.Builder"

6 years agoMerge "Fix start/pause behavior for AnimatedImageDrawable"
TreeHugger Robot [Thu, 25 Jan 2018 05:41:21 +0000 (05:41 +0000)]
Merge "Fix start/pause behavior for AnimatedImageDrawable"

6 years agoMerge "Fix a bug where a NetworkAgent gets repeatedly torn down"
Chalard Jean [Thu, 25 Jan 2018 05:39:06 +0000 (05:39 +0000)]
Merge "Fix a bug where a NetworkAgent gets repeatedly torn down"

6 years agoMerge "Fix a bug where a NetworkAgent gets repeatedly torn down"
Chalard Jean [Thu, 25 Jan 2018 05:37:21 +0000 (05:37 +0000)]
Merge "Fix a bug where a NetworkAgent gets repeatedly torn down"

6 years agoMerge "Re-commit: Add accessibility support for tooltips"
TreeHugger Robot [Thu, 25 Jan 2018 05:20:46 +0000 (05:20 +0000)]
Merge "Re-commit: Add accessibility support for tooltips"

6 years agoFix a bug where a NetworkAgent gets repeatedly torn down
Chalard Jean [Thu, 25 Jan 2018 00:41:51 +0000 (09:41 +0900)]
Fix a bug where a NetworkAgent gets repeatedly torn down

mUids is not marshalled correctly when null so if the
NetworkAgent runs in another process and is not a VPN then
the system will see its allowed Uids as being the empty
list (= nobody can use this network) instead of a null
list (= everybody can use this network). This breaks
emulator networking.

Bug: 72436966
Test: runtests frameworks-net
Test: also manual testing, this does fix emulator networking
      and seems not to break phone networking
Cherry-pick of : Id2bbf3808e80b19cd055c832c11cf72372710942

Change-Id: I4b88d5eccbdea745a947d12635cd751e38632589

6 years agoFix a bug where a NetworkAgent gets repeatedly torn down
Chalard Jean [Thu, 25 Jan 2018 00:41:51 +0000 (09:41 +0900)]
Fix a bug where a NetworkAgent gets repeatedly torn down

mUids is not marshalled correctly when null so if the
NetworkAgent runs in another process and is not a VPN then
the system will see its allowed Uids as being the empty
list (= nobody can use this network) instead of a null
list (= everybody can use this network). This breaks
emulator networking.

Bug: 72436966
Test: runtests frameworks-net
Test: also manual testing, this does fix emulator networking
      and seems not to break phone networking
Change-Id: Id2bbf3808e80b19cd055c832c11cf72372710942

6 years agoMerge "Exempting allow-while-idle alarms in EBS"
TreeHugger Robot [Thu, 25 Jan 2018 04:50:27 +0000 (04:50 +0000)]
Merge "Exempting allow-while-idle alarms in EBS"

6 years agoMerge changes from topic "carrier_net_notifier"
TreeHugger Robot [Thu, 25 Jan 2018 04:46:39 +0000 (04:46 +0000)]
Merge changes from topic "carrier_net_notifier"

* changes:
  Adds SystemMessage for CarrierNetworkNotification
  Carrier Network Notification strings
  Carrier Network Available Notification setting

6 years agoMerge "Remove TODO of won't fix bug."
TreeHugger Robot [Thu, 25 Jan 2018 04:34:51 +0000 (04:34 +0000)]
Merge "Remove TODO of won't fix bug."

6 years agoMerge "Revert "Revert "Revert "Enable init.rc for statsd to start statsd by default...
Howard Ro [Thu, 25 Jan 2018 04:32:50 +0000 (04:32 +0000)]
Merge "Revert "Revert "Revert "Enable init.rc for statsd to start statsd by default in boot time""""

6 years agoMerge "Add a11y descriptions for FingerprintDialog"
Kevin Chyn [Thu, 25 Jan 2018 04:31:26 +0000 (04:31 +0000)]
Merge "Add a11y descriptions for FingerprintDialog"

6 years agoMerge "Fix fsverity format"
Victor Hsieh [Thu, 25 Jan 2018 04:24:06 +0000 (04:24 +0000)]
Merge "Fix fsverity format"

6 years agoMerge "Introduce InputConnection#reportLanguageHint()"
TreeHugger Robot [Thu, 25 Jan 2018 04:23:38 +0000 (04:23 +0000)]
Merge "Introduce InputConnection#reportLanguageHint()"

6 years agoMerge "Add FLAG_ACTIVITY_NEW_TASK when starting UI-based tether provisioning." am...
Jeremy Klein [Thu, 25 Jan 2018 03:54:26 +0000 (03:54 +0000)]
Merge "Add FLAG_ACTIVITY_NEW_TASK when starting UI-based tether provisioning." am: f4dc715575 am: 4c2c7bedf9
am: 2eee5f20f0

Change-Id: I91617ffeb287317ecf50ceda6cd85ef438faf29f

6 years agoMerge "Determine the multipath hint from data usage."
TreeHugger Robot [Thu, 25 Jan 2018 03:49:19 +0000 (03:49 +0000)]
Merge "Determine the multipath hint from data usage."

6 years agoMerge "Add FLAG_ACTIVITY_NEW_TASK when starting UI-based tether provisioning." am...
Jeremy Klein [Thu, 25 Jan 2018 03:44:46 +0000 (03:44 +0000)]
Merge "Add FLAG_ACTIVITY_NEW_TASK when starting UI-based tether provisioning." am: f4dc715575
am: 4c2c7bedf9

Change-Id: I5d214df392ed17c7de0456f535f9b550485c8fc2

6 years agoMerge "Adds stripTrailingFs" am: 27bb333e14 am: a91491a3b8
Jun Yin [Thu, 25 Jan 2018 03:42:45 +0000 (03:42 +0000)]
Merge "Adds stripTrailingFs" am: 27bb333e14 am: a91491a3b8
am: 76e05493b4

Change-Id: Ie4c5994131a97b9acbe445abef3f4c6e73009732

6 years agoMerge "Add FLAG_ACTIVITY_NEW_TASK when starting UI-based tether provisioning."
Jeremy Klein [Thu, 25 Jan 2018 03:35:06 +0000 (03:35 +0000)]
Merge "Add FLAG_ACTIVITY_NEW_TASK when starting UI-based tether provisioning."
am: f4dc715575

Change-Id: I1f603f966aeb5d828746969295f51e2f01096bc4

6 years agoMerge "Adds stripTrailingFs" am: 27bb333e14
Jun Yin [Thu, 25 Jan 2018 03:34:13 +0000 (03:34 +0000)]
Merge "Adds stripTrailingFs" am: 27bb333e14
am: a91491a3b8

Change-Id: I6b850d252fb40395bc312f4ed8be383153af52ef

6 years agoMove Keepalive out of IpSecTransform.Builder
Nathan Harold [Thu, 7 Dec 2017 03:12:28 +0000 (19:12 -0800)]
Move Keepalive out of IpSecTransform.Builder

The lifecycle of Keepalive offloading is, unfortunately
different from that of an IpSecTransform. Because starting
a keepalive is fundamentally asynchronous, and isn't valid
until after a transform exists, it will now be a separate
optional procedure that may succeed or fail. It remains
linked with a Transform by the need for a Transform to exist
in order to initiate a Keepalive.

Bug: 38350389
Test: compilation
Change-Id: Ia76fccee41f86d694dff436043293d0c0762c041

6 years agoMerge changes Ib57ea73f,I5cbd21ed,Id32f03c7,I131df87f
Winson Chung [Thu, 25 Jan 2018 03:31:30 +0000 (03:31 +0000)]
Merge changes Ib57ea73f,I5cbd21ed,Id32f03c7,I131df87f

* changes:
  4/ Update SysUI shared lib for Recents transition
  3/ Add input consumer to capture touches during a Recents transition
  2/ Add support for remote Recents animation
  1/ Create display content window controller to position stacks in the display

6 years agoMerge "Update comments for ACTION_CARRIER_CONFIG_CHANGED." am: 7b9a785d65 am: e2075c2c7d
Amit Mahajan [Thu, 25 Jan 2018 03:29:29 +0000 (03:29 +0000)]
Merge "Update comments for ACTION_CARRIER_CONFIG_CHANGED." am: 7b9a785d65 am: e2075c2c7d
am: fd8df8236f

Change-Id: I9590dbc72f27180e3f6e6efed1dea776074ed025

6 years agoMerge "Adds stripTrailingFs"
Jun Yin [Thu, 25 Jan 2018 03:27:05 +0000 (03:27 +0000)]
Merge "Adds stripTrailingFs"
am: 27bb333e14

Change-Id: I355be2bb0b23e69103edc073ffe3adb757e57aa9

6 years agoMerge "Add handover permission, fill in some missing API gaps."
Tyler Gunn [Thu, 25 Jan 2018 03:21:03 +0000 (03:21 +0000)]
Merge "Add handover permission, fill in some missing API gaps."

6 years ago4/ Update SysUI shared lib for Recents transition
Winson Chung [Thu, 18 Jan 2018 17:32:47 +0000 (09:32 -0800)]
4/ Update SysUI shared lib for Recents transition

- Ensures that we cancel the recents animation when handling touch
- Moving InputConsumerController to shared lib
- Add compat classes for recents controller/listener

Bug: 70180552
Test: Manual, swipe up with suitable launcher build
Change-Id: Ib57ea73ff75545b91922df188ffb7152e9d4cebd

6 years ago3/ Add input consumer to capture touches during a Recents transition
Winson Chung [Thu, 18 Jan 2018 17:31:12 +0000 (09:31 -0800)]
3/ Add input consumer to capture touches during a Recents transition

Bug: 70180552
Test: go/wm-smoke
Test: Manual, swipe up with suitable launcher build
Change-Id: I5cbd21ed13fdce1a5dbf8ff8bfb48dc263c7a54d

6 years agoMerge "Add FLAG_ACTIVITY_NEW_TASK when starting UI-based tether provisioning."
Treehugger Robot [Thu, 25 Jan 2018 03:09:27 +0000 (03:09 +0000)]
Merge "Add FLAG_ACTIVITY_NEW_TASK when starting UI-based tether provisioning."

6 years agoMerge "BitmapDrawable: Suppress errorprone warning" am: 25e50ccccb am: 822e828971
Andreas Gampe [Thu, 25 Jan 2018 03:04:07 +0000 (03:04 +0000)]
Merge "BitmapDrawable: Suppress errorprone warning" am: 25e50ccccb am: 822e828971
am: 9c6acbd248

Change-Id: I4846f6b91fadbbd650e925c70215dea4d4459278

6 years agoMerge "Update comments for ACTION_CARRIER_CONFIG_CHANGED." am: 7b9a785d65
Amit Mahajan [Thu, 25 Jan 2018 02:59:04 +0000 (02:59 +0000)]
Merge "Update comments for ACTION_CARRIER_CONFIG_CHANGED." am: 7b9a785d65
am: e2075c2c7d

Change-Id: Ib3e807a900fcc548e88f10b4622e8203fe6d72be

6 years agoExempting allow-while-idle alarms in EBS
Suprabh Shukla [Sat, 20 Jan 2018 00:43:35 +0000 (16:43 -0800)]
Exempting allow-while-idle alarms in EBS

Exempting allow-while-idle alarms when the device is in Extreme battery
saver. The throttling of one allow-while-idle alarm per
ALLOW_WHILE_IDLE_LONG_TIME is applied even when the device may not be
dozing. The throttling is relaxed to ALLOW_WHILE_IDLE_SHORT_TIME if the
uid was in the foreground recently.

Test: atest android.alarmmanager.cts.BatterySaverTests

Bug: 72124522
Change-Id: Ic75bac6234745c73a345180387c83bc725823aa8

6 years agoMerge "Clear parent wants focus on strong focus gain."
TreeHugger Robot [Thu, 25 Jan 2018 02:49:35 +0000 (02:49 +0000)]
Merge "Clear parent wants focus on strong focus gain."

6 years agoMerge "BitmapDrawable: Suppress errorprone warning" am: 25e50ccccb
Andreas Gampe [Thu, 25 Jan 2018 02:48:37 +0000 (02:48 +0000)]
Merge "BitmapDrawable: Suppress errorprone warning" am: 25e50ccccb
am: 822e828971

Change-Id: I0481e40c91e5848fc7ab551a794269d9379cbcc9

6 years agoMerge "MediaCodec: expose constant quality mode"
Chong Zhang [Thu, 25 Jan 2018 02:47:59 +0000 (02:47 +0000)]
Merge "MediaCodec: expose constant quality mode"

6 years agoMerge "Adds stripTrailingFs"
Treehugger Robot [Thu, 25 Jan 2018 02:44:26 +0000 (02:44 +0000)]
Merge "Adds stripTrailingFs"

6 years agoMerge "Update comments for ACTION_CARRIER_CONFIG_CHANGED."
Amit Mahajan [Thu, 25 Jan 2018 02:44:09 +0000 (02:44 +0000)]
Merge "Update comments for ACTION_CARRIER_CONFIG_CHANGED."
am: 7b9a785d65

Change-Id: I3f329aea9d90ced822c119f079d0a70a562f44a3

6 years agoMerge "BitmapDrawable: Suppress errorprone warning"
Andreas Gampe [Thu, 25 Jan 2018 02:40:28 +0000 (02:40 +0000)]
Merge "BitmapDrawable: Suppress errorprone warning"
am: 25e50ccccb

Change-Id: I085cfc11effb8f067bd8fc122ec88bd6c44a2525

6 years agoAdds SystemMessage for CarrierNetworkNotification
Mehdi Alizadeh [Fri, 19 Jan 2018 03:34:15 +0000 (19:34 -0800)]
Adds SystemMessage for CarrierNetworkNotification

Adds a separate field in SystemMessage class for Carrier Network
Notification, to be able to differentiate between Carrier and Open
network notifications in case we have both notifications at the same
time.

Bug: 69310016
Test: Builds successfully
Change-Id: I5c4f40640a924e39cf4c6a33825afcc1a5c9d4f9

6 years agoCarrier Network Notification strings
Glen Kuhne [Wed, 29 Nov 2017 00:01:02 +0000 (16:01 -0800)]
Carrier Network Notification strings

Added a title string for carrier network notifications.

Bug: 69310016
Test: builds
Change-Id: Ie00d84f209899783e459d3b36b34fec87c52872a

6 years agoCarrier Network Available Notification setting
Glen Kuhne [Tue, 28 Nov 2017 22:06:25 +0000 (14:06 -0800)]
Carrier Network Available Notification setting

Adds a setting allowing user to toggle Carrier Network Available
Notification on and off.

Bug: 69310016
Test: Verified manually
Change-Id: I209cd216dd5fd5c790aca8f74707a7ef831edd6a

6 years agoTemporarily disable swipe up onboarding
Tony Wickham [Thu, 25 Jan 2018 02:11:11 +0000 (18:11 -0800)]
Temporarily disable swipe up onboarding

Test: manual
Change-Id: Idfccfec7563a81d6e6b19cdbf961bc54a0ca9dd1

6 years agoAdd more loggings to debug decryption issues
Bo Zhu [Thu, 25 Jan 2018 01:40:29 +0000 (17:40 -0800)]
Add more loggings to debug decryption issues

Test: None

Change-Id: I41bb550b7937ab232a30bcf40025f4bc15207ca9

6 years agoMerge changes from topic "assetmanager-refactor"
TreeHugger Robot [Thu, 25 Jan 2018 02:05:30 +0000 (02:05 +0000)]
Merge changes from topic "assetmanager-refactor"

* changes:
  libandroidfw: Improve performance of AssetManager2
  libandroidfw: Add ApplyStyle and SetConfiguration benchmark
  Make idiomatic use of ApkAssets and AssetManager
  Replace AssetManager with AssetManager2 implementation

6 years agoMerge "Add statsd microbenchmark and fix a crash in LogEvent"
TreeHugger Robot [Thu, 25 Jan 2018 02:04:11 +0000 (02:04 +0000)]
Merge "Add statsd microbenchmark and fix a crash in LogEvent"

6 years agoRevert "Revert "Revert "Enable init.rc for statsd to start statsd by default in boot...
Howard Ro [Thu, 25 Jan 2018 02:00:35 +0000 (02:00 +0000)]
Revert "Revert "Revert "Enable init.rc for statsd to start statsd by default in boot time"""

This reverts commit b00cce84d9ddba04a3ebd5ed45457c1e154be535.

Reason for revert: b/72459151

Change-Id: I71593b4b323d69edb548dcb1bb0e1f4eb7cddbc9

6 years agoMerge "Add flag to SysUI for Hybrid notification"
TreeHugger Robot [Thu, 25 Jan 2018 01:49:22 +0000 (01:49 +0000)]
Merge "Add flag to SysUI for Hybrid notification"

6 years agoMerge "Update comments for ACTION_CARRIER_CONFIG_CHANGED."
Treehugger Robot [Thu, 25 Jan 2018 01:33:33 +0000 (01:33 +0000)]
Merge "Update comments for ACTION_CARRIER_CONFIG_CHANGED."

6 years agoMerge changes I8d43f5bc,I5ca4b0ca
TreeHugger Robot [Thu, 25 Jan 2018 01:31:34 +0000 (01:31 +0000)]
Merge changes I8d43f5bc,I5ca4b0ca

* changes:
  OMS: Enable uninstallation of overlays
  PackageManager: allow overlays to be installed when signature matches platform cert

6 years agoMerge "Set Zygote.DISABLE_HIDDEN_API_CHECKS for system apps" am: 50cfaa40ca am: 97a97...
David Brazdil [Thu, 25 Jan 2018 01:20:47 +0000 (01:20 +0000)]
Merge "Set Zygote.DISABLE_HIDDEN_API_CHECKS for system apps" am: 50cfaa40ca am: 97a970e56b
am: 5fab14313b

Change-Id: I788ad36976b6c63670f40c735380982e6567df86

6 years agoMerge "Set Zygote.DISABLE_HIDDEN_API_CHECKS for system apps" am: 50cfaa40ca
David Brazdil [Thu, 25 Jan 2018 01:12:33 +0000 (01:12 +0000)]
Merge "Set Zygote.DISABLE_HIDDEN_API_CHECKS for system apps" am: 50cfaa40ca
am: 97a970e56b

Change-Id: I73eaa052597d225aa673dd479977b0ce7a7d6d64

6 years agoMerge "Set Zygote.DISABLE_HIDDEN_API_CHECKS for system apps"
David Brazdil [Thu, 25 Jan 2018 01:06:15 +0000 (01:06 +0000)]
Merge "Set Zygote.DISABLE_HIDDEN_API_CHECKS for system apps"
am: 50cfaa40ca

Change-Id: I7aa3c86bae54b4f55cbb5cfe8ddf076fedf6177b

6 years agoMerge "Remove WifiManager 'scanWithTraffic' APIs"
Ningyuan Wang [Thu, 25 Jan 2018 01:03:15 +0000 (01:03 +0000)]
Merge "Remove WifiManager 'scanWithTraffic' APIs"

6 years ago2/ Add support for remote Recents animation
Winson Chung [Wed, 17 Jan 2018 00:22:35 +0000 (16:22 -0800)]
2/ Add support for remote Recents animation

- Allow the recents component to drive the animation from an app into
  Recents using the remote animation framework. When initialized, the
  animation repositions the recents activity behind the currently visible
  tasks and provides the set of surface controls for the visible tasks.
  Once complete, the recents component notifies the system whether it
  has completed the animation into the recents activity, or whether it
  should restore the previous state. In addition, there is a prescribed
  delay after which the system automatically cancels the recents animation.

Bug: 70180552
Test: go/wm-smoke
Test: Manual, swipe up with suitable launcher build

Change-Id: Id32f03c7ad2288dce06231cfaa4b21916da511d7

6 years ago1/ Create display content window controller to position stacks in the display
Winson Chung [Thu, 18 Jan 2018 18:58:18 +0000 (10:58 -0800)]
1/ Create display content window controller to position stacks in the display

Bug: 70180552
Test: Existing ActivityStackTests pass
Test: go/wm-smoke
Change-Id: I131df87f4ff6903bd15e40d029bb0798ee024ab0

6 years agoMerge changes I72baa5ca,I0366341a
Mukesh Agrawal [Thu, 25 Jan 2018 00:59:47 +0000 (00:59 +0000)]
Merge changes I72baa5ca,I0366341a

* changes:
  WifiConfiguration: deprecate WPA-1 related fields
  WifiConfiguration: deprecate WEP-related fields

6 years agoMerge "BitmapDrawable: Suppress errorprone warning"
Andreas Gampe [Thu, 25 Jan 2018 00:56:11 +0000 (00:56 +0000)]
Merge "BitmapDrawable: Suppress errorprone warning"

6 years agoAdded support for getKeyRequest metric.
Adam Stone [Thu, 18 Jan 2018 04:19:27 +0000 (20:19 -0800)]
Added support for getKeyRequest metric.

This adds a metric constant name for success and failure counts of
getKeyRequest.

BUG: 64001676

Test: Added a CTS test case for the metric and ran on a device.
Change-Id: I84992536320d87a716c14cd461b8f4d2245f3431

6 years agoMerge changes from topic "keepalive-on-cell"
Nathan Harold [Thu, 25 Jan 2018 00:48:43 +0000 (00:48 +0000)]
Merge changes from topic "keepalive-on-cell"

* changes:
  Rework KeepalivePacketData for Compatibility with Cell
  Add Constants for NATT Keepalive to RILConstants
  Relocate KeepalivePacketData to frameworks/base

6 years agoMerge "QS DND tile secondary text added"
Beverly Tai [Thu, 25 Jan 2018 00:47:07 +0000 (00:47 +0000)]
Merge "QS DND tile secondary text added"

6 years agoMerge "Unrevert "Move instrumentation classes to SettingsLib to share between mobile...
Leif Wilden [Thu, 25 Jan 2018 00:35:26 +0000 (00:35 +0000)]
Merge "Unrevert "Move instrumentation classes to SettingsLib to share between mobile/TV."""

6 years agoMerge "Don't use shader disk cache on emulator"
Lingfeng Yang [Thu, 25 Jan 2018 00:31:34 +0000 (00:31 +0000)]
Merge "Don't use shader disk cache on emulator"

6 years agoMerge "Enable verity to updated priv app if root hash exists"
Victor Hsieh [Thu, 25 Jan 2018 00:25:16 +0000 (00:25 +0000)]
Merge "Enable verity to updated priv app if root hash exists"

6 years agoFix fsverity format
Victor Hsieh [Wed, 24 Jan 2018 20:06:43 +0000 (12:06 -0800)]
Fix fsverity format

This change also contains a workaround that ByteBuffer#put(byte)
sometimes does not work at all.  See comments.

Test: saw correct debugging output of struct in dmesg.
Bug: 30972906
Bug: 72459251
Change-Id: I54553a8f20b8ef01c81c648f9aa588d28ab5eea5

6 years agoAdd handover permission, fill in some missing API gaps.
Tyler Gunn [Mon, 22 Jan 2018 23:17:54 +0000 (15:17 -0800)]
Add handover permission, fill in some missing API gaps.

Adding the ACCEPT_HANDOVER runtime permission which an app must have in
order to accept handovers (this is per design).

Adding missing onHandoverComplete method in the android.telecom.Connection
API (per design).

Finishing plumbing for android.telecom.Call#onHandoverComplete API.

Fix issue where the new handover API methods would never get called; the
legacy handover extra was being used in this case when it should not have
been.

Bug: 65415068
Test: Verified using new CTS tests
Change-Id: If1558f6a23911862c02ac5b18fb62d86911ed7e2

6 years agoMerge "Expose selector draw condition for test"
Evan Rosky [Thu, 25 Jan 2018 00:08:03 +0000 (00:08 +0000)]
Merge "Expose selector draw condition for test"

6 years agoMerge "MAC Randomization: Store Randomized MAC Address in WifiConfiguration"
TreeHugger Robot [Wed, 24 Jan 2018 23:57:47 +0000 (23:57 +0000)]
Merge "MAC Randomization: Store Randomized MAC Address in WifiConfiguration"

6 years agoMerge "Accept UserHandle.USER_ALL during profile preparation"
Calin Juravle [Wed, 24 Jan 2018 23:48:18 +0000 (23:48 +0000)]
Merge "Accept UserHandle.USER_ALL during profile preparation"

6 years agoMerge "Add scan interval and window lengths to Settings.Global." am: d3dac85e46 am...
Jeremy Klein [Wed, 24 Jan 2018 23:46:11 +0000 (23:46 +0000)]
Merge "Add scan interval and window lengths to Settings.Global." am: d3dac85e46 am: 8c33c789ed
am: 4ec192fd26

Change-Id: Ieae2e96acac3f1372d4075145426065f666a221a

6 years agoMerge "Merge "Revert "Revert "Add getUiccSlots() and switchSlots() in TelephonyManage...
Android Build Merger (Role) [Wed, 24 Jan 2018 23:38:15 +0000 (23:38 +0000)]
Merge "Merge "Revert "Revert "Add getUiccSlots() and switchSlots() in TelephonyManager.""" am: ec44a402d2 am: 596c22a84d am: 07b212b788"

6 years agoMerge "Revert "Revert "Add getUiccSlots() and switchSlots() in TelephonyManager....
Holly Jiuyu Sun [Wed, 24 Jan 2018 23:37:16 +0000 (23:37 +0000)]
Merge "Revert "Revert "Add getUiccSlots() and switchSlots() in TelephonyManager.""" am: ec44a402d2 am: 596c22a84d
am: 07b212b788

Change-Id: I771845c9f07aa18946c0ab99fffd2a08d888e819

6 years agoMerge "ActivityManager: add API for wifi bug report"
TreeHugger Robot [Wed, 24 Jan 2018 23:36:19 +0000 (23:36 +0000)]
Merge "ActivityManager: add API for wifi bug report"

6 years agoMerge "Add scan interval and window lengths to Settings.Global." am: d3dac85e46
Jeremy Klein [Wed, 24 Jan 2018 23:34:38 +0000 (23:34 +0000)]
Merge "Add scan interval and window lengths to Settings.Global." am: d3dac85e46
am: 8c33c789ed

Change-Id: Ib86750eadcf5683faba4151e3f3373f04a387de1

6 years agoMerge "Allow HIDL to be used in priv-apps."
Steven Moreland [Wed, 24 Jan 2018 23:32:38 +0000 (23:32 +0000)]
Merge "Allow HIDL to be used in priv-apps."

6 years agoMerge "Metrics wifi.proto for connected wifi score" into oc-mr1-dev am: e2bc2efe3c
Pankaj Kanwar [Wed, 24 Jan 2018 23:27:27 +0000 (23:27 +0000)]
Merge "Metrics wifi.proto for connected wifi score" into oc-mr1-dev am: e2bc2efe3c
am: 43a3671a42  -s ours

Change-Id: Ie98d1e6aee39427d2ec87dcea50aed9bf0ead023

6 years agoMerge "Revert "Revert "Add getUiccSlots() and switchSlots() in TelephonyManager....
Holly Jiuyu Sun [Wed, 24 Jan 2018 23:24:29 +0000 (23:24 +0000)]
Merge "Revert "Revert "Add getUiccSlots() and switchSlots() in TelephonyManager.""" am: ec44a402d2
am: 596c22a84d

Change-Id: I6320f2195eeb2221fb29778b6171c3ebdb3f8dac

6 years agoMerge "Deprecate android.util.Mutable*."
Tobias Thierer [Wed, 24 Jan 2018 23:19:33 +0000 (23:19 +0000)]
Merge "Deprecate android.util.Mutable*."

6 years agolibandroidfw: Improve performance of AssetManager2
Adam Lesinski [Tue, 9 Jan 2018 01:38:30 +0000 (17:38 -0800)]
libandroidfw: Improve performance of AssetManager2

AssetManager2 relied on creating a list of configurations
present in the resource table so as to avoid copying and
converting ResTable_config's from the APK on every
resource retrieval.

ResTable, however, had a better optimization that pruned
the configurations that didn't match the currently set
configuration. This vastly reduced the number of ResTable_configs
to test.

In this CL, AssetManager2 follows suite with this optimization
and only maintains the filtered ResTable_configs, falling back
to the slow path when the configuration is overridden.

Test: mma frameworks/base/libs/androidfw
Test: adb sync system data
Test: adb shell /data/benchmarktest64/libandroidfw_benchmarks/libandroidfw_benchmarks
Change-Id: I5d46f8b005a37b72750d00bd75f090e7b5a36f60