OSDN Git Service

android-x86/frameworks-base.git
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 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 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 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 agoMerge "Metrics wifi.proto for connected wifi score" into oc-mr1-dev
Pankaj Kanwar [Wed, 24 Jan 2018 23:14:30 +0000 (23:14 +0000)]
Merge "Metrics wifi.proto for connected wifi score" into oc-mr1-dev
am: e2bc2efe3c

Change-Id: Ie1366ad3364176dce6a5f7b5a78a19b7806030cd

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

Change-Id: Ibae30208c4f0f2ad8bf8e508778d73f0883ef42e

6 years agoMerge "Fix bug in ImageDecoder which provided the incorrect density to NinePatchDrawa...
Derek Sollenberger [Wed, 24 Jan 2018 23:09:53 +0000 (23:09 +0000)]
Merge "Fix bug in ImageDecoder which provided the incorrect density to NinePatchDrawables"

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

Change-Id: I6ded59329716f073b30964940ab6574360406778

6 years agoMerge "Metrics wifi.proto for connected wifi score" into oc-mr1-dev
Pankaj Kanwar [Wed, 24 Jan 2018 23:02:22 +0000 (23:02 +0000)]
Merge "Metrics wifi.proto for connected wifi score" into oc-mr1-dev

6 years agoMerge "Fix adb shell cmd config remove command when no (uid, id) pair is specified."
Howard Ro [Wed, 24 Jan 2018 23:00:14 +0000 (23:00 +0000)]
Merge "Fix adb shell cmd config remove command when no (uid, id) pair is specified."

6 years agoAccept UserHandle.USER_ALL during profile preparation
Calin Juravle [Wed, 24 Jan 2018 22:43:24 +0000 (14:43 -0800)]
Accept UserHandle.USER_ALL during profile preparation

Test: adb install foo.apk
Bug: 72453027
Change-Id: I840d70d47a256c8853bbe1b9b023f51bdd5ddf6b

6 years agoMerge "Merge "Set DEXOPT_DISABLE_HIDDEN_API_CHECKS for system apps" am: 2a8c24be18...
Android Build Merger (Role) [Wed, 24 Jan 2018 22:44:52 +0000 (22:44 +0000)]
Merge "Merge "Set DEXOPT_DISABLE_HIDDEN_API_CHECKS for system apps" am: 2a8c24be18 am: 6dea42ae0f am: 2a21a9c997  -s ours"

6 years agoMerge "Set DEXOPT_DISABLE_HIDDEN_API_CHECKS for system apps" am: 2a8c24be18 am: 6dea4...
David Brazdil [Wed, 24 Jan 2018 22:44:30 +0000 (22:44 +0000)]
Merge "Set DEXOPT_DISABLE_HIDDEN_API_CHECKS for system apps" am: 2a8c24be18 am: 6dea42ae0f
am: 2a21a9c997  -s ours

Change-Id: I36d988ae251bcee837a0f3ab7630fd82d099adc8

6 years agoMerge "Merge "Add new IMS reasoninfo to handle alternate emergency disconnect scenari...
Android Build Merger (Role) [Wed, 24 Jan 2018 22:39:45 +0000 (22:39 +0000)]
Merge "Merge "Add new IMS reasoninfo to handle alternate emergency disconnect scenario." am: 7a481bde6d am: f343e33dd5 am: e39de15109"

6 years agoMerge "Add new IMS reasoninfo to handle alternate emergency disconnect scenario....
Tyler Gunn [Wed, 24 Jan 2018 22:38:52 +0000 (22:38 +0000)]
Merge "Add new IMS reasoninfo to handle alternate emergency disconnect scenario." am: 7a481bde6d am: f343e33dd5
am: e39de15109

Change-Id: I48b1c82a051342b6a4504290a6297aebc8a2bdfd

6 years agoMerge "add MediaPlayer2"
Wei Jia [Wed, 24 Jan 2018 22:35:43 +0000 (22:35 +0000)]
Merge "add MediaPlayer2"

6 years agoMerge "Merge "Added network service interface" am: 71793be6bb am: 2b06789511 am:...
Android Build Merger (Role) [Wed, 24 Jan 2018 22:33:21 +0000 (22:33 +0000)]
Merge "Merge "Added network service interface" am: 71793be6bb am: 2b06789511 am: 3748d15321"

6 years agoMerge "Added network service interface" am: 71793be6bb am: 2b06789511
Xiangyu/Malcolm Chen [Wed, 24 Jan 2018 22:32:56 +0000 (22:32 +0000)]
Merge "Added network service interface" am: 71793be6bb am: 2b06789511
am: 3748d15321

Change-Id: Ia08a840e47d3372772a105ef7b65bb259d07e7f8

6 years agoMerge "Remove internal version of SMS apis"
Mohamed Abdalkader [Wed, 24 Jan 2018 22:32:39 +0000 (22:32 +0000)]
Merge "Remove internal version of SMS apis"

6 years agoMerge "Statsd always includes snapshot of uid map."
TreeHugger Robot [Wed, 24 Jan 2018 22:31:24 +0000 (22:31 +0000)]
Merge "Statsd always includes snapshot of uid map."

6 years agoMerge "Fix NPE from refactoring"
Jorim Jaggi [Wed, 24 Jan 2018 22:15:36 +0000 (22:15 +0000)]
Merge "Fix NPE from refactoring"

6 years agoRemoving JobStorePersistStats STOPSHIP comment.
Kweku Adams [Thu, 28 Dec 2017 01:03:39 +0000 (17:03 -0800)]
Removing JobStorePersistStats STOPSHIP comment.

The linked bug is fixed.

Bug: 64536115
Test: N/A
Change-Id: Ic89b2d9b24b88459058c304e08f3f5c8de974081

6 years agoMerge "MediaSession2: Last changes before API unhide"
Jaewan Kim [Wed, 24 Jan 2018 22:12:04 +0000 (22:12 +0000)]
Merge "MediaSession2: Last changes before API unhide"

6 years agoMerge "Fix inconsistent MagnificationGestureHandler state after delegation"
TreeHugger Robot [Wed, 24 Jan 2018 22:09:24 +0000 (22:09 +0000)]
Merge "Fix inconsistent MagnificationGestureHandler state after delegation"

6 years agoMerge "Add deep link to the assisted dialing settings."
TreeHugger Robot [Wed, 24 Jan 2018 22:08:22 +0000 (22:08 +0000)]
Merge "Add deep link to the assisted dialing settings."

6 years agoMerge "Compute full text layout in MeasuredText and use it for drawing"
TreeHugger Robot [Wed, 24 Jan 2018 22:07:13 +0000 (22:07 +0000)]
Merge "Compute full text layout in MeasuredText and use it for drawing"

6 years agoMerge "[QS] Update night light time from 24 to 12-hr"
TreeHugger Robot [Wed, 24 Jan 2018 22:04:09 +0000 (22:04 +0000)]
Merge "[QS] Update night light time from 24 to 12-hr"

6 years agoMerge "Limit ripple alpha to 50%"
John Reck [Wed, 24 Jan 2018 21:51:06 +0000 (21:51 +0000)]
Merge "Limit ripple alpha to 50%"

6 years agoMerge "Add scan interval and window lengths to Settings.Global."
Treehugger Robot [Wed, 24 Jan 2018 21:49:00 +0000 (21:49 +0000)]
Merge "Add scan interval and window lengths to Settings.Global."

6 years agoMerge "Slider always represents absolute brightness"
TreeHugger Robot [Wed, 24 Jan 2018 21:45:07 +0000 (21:45 +0000)]
Merge "Slider always represents absolute brightness"

6 years agoMerge "Set DEXOPT_DISABLE_HIDDEN_API_CHECKS for system apps" am: 2a8c24be18
David Brazdil [Wed, 24 Jan 2018 21:43:47 +0000 (21:43 +0000)]
Merge "Set DEXOPT_DISABLE_HIDDEN_API_CHECKS for system apps" am: 2a8c24be18
am: 6dea42ae0f

Change-Id: I6376e610c575cd7c3f7bf8a72ca4c1a92d9023cc

6 years agoMerge "Update font config name."
TreeHugger Robot [Wed, 24 Jan 2018 21:43:24 +0000 (21:43 +0000)]
Merge "Update font config name."

6 years agoMerge "Fix location INTERACT_ACROSS_USERS bug"
TreeHugger Robot [Wed, 24 Jan 2018 21:39:35 +0000 (21:39 +0000)]
Merge "Fix location INTERACT_ACROSS_USERS bug"

6 years agoMerge "Set DEXOPT_DISABLE_HIDDEN_API_CHECKS for system apps"
David Brazdil [Wed, 24 Jan 2018 21:36:44 +0000 (21:36 +0000)]
Merge "Set DEXOPT_DISABLE_HIDDEN_API_CHECKS for system apps"
am: 2a8c24be18

Change-Id: I51ce5aa51ca72200639244caa018323911cc54ae

6 years agoMerge "Adding comment to alarmmanagerservice.proto."
TreeHugger Robot [Wed, 24 Jan 2018 21:19:18 +0000 (21:19 +0000)]
Merge "Adding comment to alarmmanagerservice.proto."

6 years agoMerge "Revert "Revert "Add getUiccSlots() and switchSlots() in TelephonyManager."""
Holly Jiuyu Sun [Wed, 24 Jan 2018 21:11:07 +0000 (21:11 +0000)]
Merge "Revert "Revert "Add getUiccSlots() and switchSlots() in TelephonyManager."""

6 years agoMerge "Remove unused argument LayoutOverhang"
TreeHugger Robot [Wed, 24 Jan 2018 21:07:21 +0000 (21:07 +0000)]
Merge "Remove unused argument LayoutOverhang"

6 years agoMerge "Add new IMS reasoninfo to handle alternate emergency disconnect scenario....
Tyler Gunn [Wed, 24 Jan 2018 21:06:48 +0000 (21:06 +0000)]
Merge "Add new IMS reasoninfo to handle alternate emergency disconnect scenario." am: 7a481bde6d
am: f343e33dd5

Change-Id: Ia3e538e18d4fdf1770ee15b06d256c6e79051ebf

6 years agoMerge "Add status bar icons to QQS"
Evan Laird [Wed, 24 Jan 2018 21:06:37 +0000 (21:06 +0000)]
Merge "Add status bar icons to QQS"

6 years agoMerge "Added network service interface" am: 71793be6bb
Xiangyu/Malcolm Chen [Wed, 24 Jan 2018 20:55:01 +0000 (20:55 +0000)]
Merge "Added network service interface" am: 71793be6bb
am: 2b06789511

Change-Id: I88aeed6b03d39e7555ad9de62b954eac62da3f79

6 years agoMerge "Add new IMS reasoninfo to handle alternate emergency disconnect scenario."
Tyler Gunn [Wed, 24 Jan 2018 20:48:55 +0000 (20:48 +0000)]
Merge "Add new IMS reasoninfo to handle alternate emergency disconnect scenario."
am: 7a481bde6d

Change-Id: I7d9f84b2240b1c961675b6ab6937dc952f44bd2d

6 years agoMerge "DND qs tile primary text is always Do not disturb"
TreeHugger Robot [Wed, 24 Jan 2018 20:45:52 +0000 (20:45 +0000)]
Merge "DND qs tile primary text is always Do not disturb"

6 years agoMerge "Added network service interface"
Xiangyu/Malcolm Chen [Wed, 24 Jan 2018 20:44:04 +0000 (20:44 +0000)]
Merge "Added network service interface"
am: 71793be6bb

Change-Id: I2dab9576e8fc32f914225620733ad83b7c808015

6 years agoMerge "AudioSystem: Inform AudioFlinger of total memory"
Andy Hung [Wed, 24 Jan 2018 20:28:46 +0000 (20:28 +0000)]
Merge "AudioSystem: Inform AudioFlinger of total memory"

6 years agoMerge "Set DEXOPT_DISABLE_HIDDEN_API_CHECKS for system apps"
Treehugger Robot [Wed, 24 Jan 2018 20:28:21 +0000 (20:28 +0000)]
Merge "Set DEXOPT_DISABLE_HIDDEN_API_CHECKS for system apps"

6 years agoMerge "Fingerprint data is now stored in one of two ways depending on the"
TreeHugger Robot [Wed, 24 Jan 2018 20:24:22 +0000 (20:24 +0000)]
Merge "Fingerprint data is now stored in one of two ways depending on the"

6 years agoDon't use shader disk cache on emulator
Lingfeng Yang [Wed, 24 Jan 2018 18:40:18 +0000 (10:40 -0800)]
Don't use shader disk cache on emulator

bug: 71900691

Emulator user might switch renderers, migrate a snapshot to a different
machine with a different shader binary format, etc.

Plus, program binaries don't seem to work so well on some desktop GPUs.

Change-Id: I0c6239acbd556097494aa903d6603c963d3141cb

6 years agoMerge changes from topic "dpc-migration-atomic"
Antoan Angelov [Wed, 24 Jan 2018 20:11:54 +0000 (20:11 +0000)]
Merge changes from topic "dpc-migration-atomic"

* changes:
  Notify DO after PO ownership transfer when they belong to affiliated users.
  Tests for owner transfer atomicity.
  Make owner transfer an atomic operation.

6 years agoMerge "Fix Printing policy in profile owner."
Vladislav Kuzkokov [Wed, 24 Jan 2018 20:11:31 +0000 (20:11 +0000)]
Merge "Fix Printing policy in profile owner."

6 years agoMerge "Add tunnel-mode calls to netd in IpSecService" am: 475fe28c50 am: 02d6d81006
Benedict Wong [Wed, 24 Jan 2018 20:07:20 +0000 (20:07 +0000)]
Merge "Add tunnel-mode calls to netd in IpSecService" am: 475fe28c50 am: 02d6d81006
am: 3b181e9ef7

Change-Id: I998d44bac0993a8f2e9e228a0b0a80adfaa4d87e

6 years agoMerge changes I204d0ba7,Ifc51143b,I4b15fac9
TreeHugger Robot [Wed, 24 Jan 2018 20:02:47 +0000 (20:02 +0000)]
Merge changes I204d0ba7,Ifc51143b,I4b15fac9

* changes:
  Show swipe up onboarding after 2 apps instead of 3
  Change swipe up onboarding color based on nav bar color
  Add swipe up onboarding from apps

6 years agoMerge "Merge "BT-HFP: Update Bluetooth headset state handler to Multi-HFP" am: 0aafef...
Android Build Merger (Role) [Wed, 24 Jan 2018 19:59:42 +0000 (19:59 +0000)]
Merge "Merge "BT-HFP: Update Bluetooth headset state handler to Multi-HFP" am: 0aafefb113 am: a8505da2a6 am: 82a6cf1597"

6 years agoMediaSession2: Last changes before API unhide
Jaewan Kim [Wed, 24 Jan 2018 17:24:03 +0000 (02:24 +0900)]
MediaSession2: Last changes before API unhide

This CL includes
- Rename SessionToken to SessionToken2
- Add repeat/shuffle mode support in PlaylistParam
- Add Executor params in session builder
- Add more APIs for MediaPlayerBase

Test: Run all MediaComponents tests once
Change-Id: Ia61632b7a09fab7f41fd89e9489a01af13d6c3c2

6 years agoMerge "BT-HFP: Update Bluetooth headset state handler to Multi-HFP" am: 0aafefb113...
Jack He [Wed, 24 Jan 2018 19:58:35 +0000 (19:58 +0000)]
Merge "BT-HFP: Update Bluetooth headset state handler to Multi-HFP" am: 0aafefb113 am: a8505da2a6
am: 82a6cf1597

Change-Id: Ibb358a8270867752ce834429f914db21ec1c4c7d

6 years agoMerge "Change MediaControlView2 APIs"
Jaewan Kim [Wed, 24 Jan 2018 19:58:02 +0000 (19:58 +0000)]
Merge "Change MediaControlView2 APIs"

6 years agoMerge "Add tunnel-mode calls to netd in IpSecService" am: 475fe28c50
Benedict Wong [Wed, 24 Jan 2018 19:56:24 +0000 (19:56 +0000)]
Merge "Add tunnel-mode calls to netd in IpSecService" am: 475fe28c50
am: 02d6d81006

Change-Id: I8a3d16c8e58ad1c09d967943abe1c729fe37636a

6 years agoMerge "Fix deadlock for write-disk cmd."
TreeHugger Robot [Wed, 24 Jan 2018 19:51:22 +0000 (19:51 +0000)]
Merge "Fix deadlock for write-disk cmd."

6 years agoMerge "BT-HFP: Update Bluetooth headset state handler to Multi-HFP" am: 0aafefb113
Jack He [Wed, 24 Jan 2018 19:50:46 +0000 (19:50 +0000)]
Merge "BT-HFP: Update Bluetooth headset state handler to Multi-HFP" am: 0aafefb113
am: a8505da2a6

Change-Id: Iafb904bef6c99f4c48ca9c2ef33ea4809924a4c1

6 years agoMerge "Add tunnel-mode calls to netd in IpSecService"
Benedict Wong [Wed, 24 Jan 2018 19:48:26 +0000 (19:48 +0000)]
Merge "Add tunnel-mode calls to netd in IpSecService"
am: 475fe28c50

Change-Id: I60bd2cd453b8ea7b5a0fb5eb0b59e8a9fe8f57cb

6 years agoMerge "Revert "Make ellipsize retry if text doesn't fit""
Siyamed Sinir [Wed, 24 Jan 2018 19:45:03 +0000 (19:45 +0000)]
Merge "Revert "Make ellipsize retry if text doesn't fit""

6 years agoMerge "GPS power calculation"
Siddharth Ray [Wed, 24 Jan 2018 19:43:25 +0000 (19:43 +0000)]
Merge "GPS power calculation"

6 years agoMerge "BT-HFP: Update Bluetooth headset state handler to Multi-HFP"
Jack He [Wed, 24 Jan 2018 19:42:36 +0000 (19:42 +0000)]
Merge "BT-HFP: Update Bluetooth headset state handler to Multi-HFP"
am: 0aafefb113

Change-Id: I3cb4f7ecbdafaccb40c9e9c7f791d4786583bd56

6 years agoAdd deep link to the assisted dialing settings.
Eric Erfanian [Wed, 24 Jan 2018 19:37:52 +0000 (11:37 -0800)]
Add deep link to the assisted dialing settings.

This enables clients to reference the setting directly.

Test: none
Bug: 72162646
Change-Id: I58ccfa41e2fd4a6260fe4510fbbcd6067cd0d61f

6 years agoMerge "Turn off ambient settings when DISALLOW_AMBIENT_DISPLAY is set."
TreeHugger Robot [Wed, 24 Jan 2018 19:36:18 +0000 (19:36 +0000)]
Merge "Turn off ambient settings when DISALLOW_AMBIENT_DISPLAY is set."

6 years agoMerge "Add new IMS reasoninfo to handle alternate emergency disconnect scenario."
Treehugger Robot [Wed, 24 Jan 2018 19:33:33 +0000 (19:33 +0000)]
Merge "Add new IMS reasoninfo to handle alternate emergency disconnect scenario."

6 years agoNotify DO after PO ownership transfer when they belong to affiliated users.
arangelov [Wed, 17 Jan 2018 21:27:40 +0000 (21:27 +0000)]
Notify DO after PO ownership transfer when they belong to affiliated users.

Test: Locally modified TransferDPC to print the callback after manually setting DO, PO and then transfering PO owner.
Bug: 72218214
Change-Id: I6c9af00bcfa703c81d9d5b35fe534c928991ff93

6 years agoTests for owner transfer atomicity.
arangelov [Mon, 22 Jan 2018 15:20:53 +0000 (15:20 +0000)]
Tests for owner transfer atomicity.

Test: bit
FrameworksServicesTests:com.android.server.devicepolicy.TransferOwnershipMetadataManagerTest
Test: runtest -x
frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/OwnerTransferParamsManagerTest.java
Test: bit
FrameworksServicesTests:com.android.server.devicepolicy.DevicePolicyManagerTest#testRevertDeviceOwnership_noMetadataFile
Test: bit
FrameworksServicesTests:com.android.server.devicepolicy.DevicePolicyManagerTest#testRevertDeviceOwnership_adminAndDeviceMigrated
Test: bit
FrameworksServicesTests:com.android.server.devicepolicy.DevicePolicyManagerTest#testRevertDeviceOwnership_deviceNotMigrated
Test: bit
FrameworksServicesTests:com.android.server.devicepolicy.DevicePolicyManagerTest#testRevertDeviceOwnership_adminAndDeviceNotMigrated
Test: bit
FrameworksServicesTests:com.android.server.devicepolicy.DevicePolicyManagerTest#testRevertProfileOwnership_noMetadataFile
Test: bit
FrameworksServicesTests:com.android.server.devicepolicy.DevicePolicyManagerTest#testRevertProfileOwnership_adminAndProfileMigrated
Test: bit
FrameworksServicesTests:com.android.server.devicepolicy.DevicePolicyManagerTest#testRevertProfileOwnership_profileNotMigrated
Test: bit
FrameworksServicesTests:com.android.server.devicepolicy.DevicePolicyManagerTest#testRevertProfileOwnership_adminAndProfileNotMigrated
Bug: 69543005

Change-Id: I2f0153819346cf5be8e5f966627e9cc7e8dba190

6 years agoMake owner transfer an atomic operation.
arangelov [Thu, 4 Jan 2018 17:10:21 +0000 (17:10 +0000)]
Make owner transfer an atomic operation.

Test: bit FrameworksServicesTests:com.android.server.devicepolicy.TransferOwnershipMetadataManagerTest
Test: runtest -x frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/OwnerTransferParamsManagerTest.java
Test: bit FrameworksServicesTests:com.android.server.devicepolicy.DevicePolicyManagerTest#testRevertDeviceOwnership_noMetadataFile
Test: bit FrameworksServicesTests:com.android.server.devicepolicy.DevicePolicyManagerTest#testRevertDeviceOwnership_adminAndDeviceMigrated
Test: bit FrameworksServicesTests:com.android.server.devicepolicy.DevicePolicyManagerTest#testRevertDeviceOwnership_deviceNotMigrated
Test: bit FrameworksServicesTests:com.android.server.devicepolicy.DevicePolicyManagerTest#testRevertDeviceOwnership_adminAndDeviceNotMigrated
Test: bit FrameworksServicesTests:com.android.server.devicepolicy.DevicePolicyManagerTest#testRevertProfileOwnership_noMetadataFile
Test: bit FrameworksServicesTests:com.android.server.devicepolicy.DevicePolicyManagerTest#testRevertProfileOwnership_adminAndProfileMigrated
Test: bit FrameworksServicesTests:com.android.server.devicepolicy.DevicePolicyManagerTest#testRevertProfileOwnership_profileNotMigrated
Test: bit FrameworksServicesTests:com.android.server.devicepolicy.DevicePolicyManagerTest#testRevertProfileOwnership_adminAndProfileNotMigrated
Bug: 69543005

(cherry picked from commit 5a6d391dedcdec13fcc4cf1770e7bf9fc1be8643)

Change-Id: Ic2d729d48fdb47b0ebd60030b45615b0cec174a2

6 years ago[QS] Update night light time from 24 to 12-hr
Rohan Shah [Wed, 24 Jan 2018 19:17:39 +0000 (11:17 -0800)]
[QS] Update night light time from 24 to 12-hr

Fixing a small typo (capitalization) in the date time pattern for the
formatter. This'll fix the time format for the night light's secondary
label.

Test: visual
Bug: 69973398
Change-Id: I1fd48b33e140bb3b6e0587be89e10297d036aa2a

6 years agoMerge "Added network service interface"
Xiangyu/Malcolm Chen [Wed, 24 Jan 2018 19:13:58 +0000 (19:13 +0000)]
Merge "Added network service interface"

6 years agoAdded network service interface
Jack Yu [Thu, 21 Dec 2017 19:00:05 +0000 (11:00 -0800)]
Added network service interface

The interface for mobile network service. This is the base class
for vendor or first party data service provider to implement
the network service for cellular or IWLAN network support.

Test: Manual
bug: 64132030
Change-Id: Ia358cbb18fc6d15dcc45c75f14b7c952f899e101

6 years agoRework KeepalivePacketData for Compatibility with Cell
Nathan Harold [Thu, 7 Dec 2017 03:07:32 +0000 (19:07 -0800)]
Rework KeepalivePacketData for Compatibility with Cell

KeepalivePacketData currently mixes multiple concepts: the
list of parameters that are used to generate a keepalive
packet, the keepalive packet itself, and the parameters that
are needed to send a keepalive packet over an ethernet link.

The KeepalivePacketData is now a parcelable that can be used
generically by any NetworkAgent, regardless of how that Agent
fulfills its duty to initiate and maintain a keepalive session.

Bug: 69063212
Test: verified with SL4A, additional tests pending
Change-Id: I23dc4827ae729583356a8ff0f02e39a2ad2b81f5

6 years agoadd MediaPlayer2
Wei Jia [Wed, 6 Dec 2017 01:05:29 +0000 (17:05 -0800)]
add MediaPlayer2

Forked from 9070e295864b83deca9020ca8bdd9ff790e631a9
Test: plays local files, callback source and streaming.
Bug: 63934228
Change-Id: I692007c07eb2819f8ad1d843e4e2b1fc96fbecca

6 years agoFix location INTERACT_ACROSS_USERS bug
Maggie [Wed, 24 Jan 2018 19:01:20 +0000 (11:01 -0800)]
Fix location INTERACT_ACROSS_USERS bug

Use UserHandle.getCallingUserId in LocationManager.isProviderEnabled

Bug: 72430849
Test: Manual
Change-Id: I1ddfc4fd308889b1f2247df038d22e2f7b08da74

6 years agoMerge changes Ia3065eb5,I602e8bb0
TreeHugger Robot [Wed, 24 Jan 2018 19:00:39 +0000 (19:00 +0000)]
Merge changes Ia3065eb5,I602e8bb0

* changes:
  Update ProgramInfo to match HAL 2.0 changes.
  Implement front-end APIs for announcements.

6 years agoMerge "[framework] Prepare profile for app code paths"
Calin Juravle [Wed, 24 Jan 2018 18:45:00 +0000 (18:45 +0000)]
Merge "[framework] Prepare profile for app code paths"

6 years agoMerge "Make the quick scrub track smaller to reach the right easier"
TreeHugger Robot [Wed, 24 Jan 2018 18:42:33 +0000 (18:42 +0000)]
Merge "Make the quick scrub track smaller to reach the right easier"

6 years agoMerge "Set DEXOPT_DISABLE_HIDDEN_API_CHECKS for system apps"
David Brazdil [Wed, 24 Jan 2018 18:41:39 +0000 (18:41 +0000)]
Merge "Set DEXOPT_DISABLE_HIDDEN_API_CHECKS for system apps"

6 years agoMerge "Use proper logic operators in package name validation"
TreeHugger Robot [Wed, 24 Jan 2018 18:38:44 +0000 (18:38 +0000)]
Merge "Use proper logic operators in package name validation"

6 years agoMerge "Fixed AUTOFILL_UI_LATENCY metric." into oc-mr1-dev am: 5e687224bd
Felipe Leme [Wed, 24 Jan 2018 18:31:55 +0000 (18:31 +0000)]
Merge "Fixed AUTOFILL_UI_LATENCY metric." into oc-mr1-dev am: 5e687224bd
am: 2418109cf1

Change-Id: I3d8b0e3b785d8427dc6bca9168e7a4b7553cb22f

6 years agoAdding comment to alarmmanagerservice.proto.
Kweku Adams [Wed, 24 Jan 2018 00:47:12 +0000 (16:47 -0800)]
Adding comment to alarmmanagerservice.proto.

Bug: 70621331
Test: N/A
Change-Id: I471a7d2084cf60be8a22753139dfbcfeb001617f

6 years agoAdd Constants for NATT Keepalive to RILConstants
Nathan Harold [Tue, 11 Jul 2017 23:25:16 +0000 (16:25 -0700)]
Add Constants for NATT Keepalive to RILConstants

Bug: 38350389
Test: compilation
Change-Id: Ic18a7c947d2c62efe76d656bd683f9ce296f68fd

6 years agoRelocate KeepalivePacketData to frameworks/base
Nathan Harold [Fri, 3 Nov 2017 04:01:46 +0000 (21:01 -0700)]
Relocate KeepalivePacketData to frameworks/base

Due to an issue resolving the boot classpath, the
KeepalivePacketData structure cannot be referenced
by frameworks/opt/telephony while it is in services.

-Move KeepalivePacketData to android.net
-Also, relocate IpUtils without changing the package
 name.

Bug: 38350389
Test: compilation
Change-Id: If5fc63e9ad8b9b2d4c2fee47ff4bab2ab190a05a
(cherry picked from commit bd4093be7cab51d6ad031854324134a9c8637c2c)

6 years agoMerge "Fixed AUTOFILL_UI_LATENCY metric." into oc-mr1-dev
Felipe Leme [Wed, 24 Jan 2018 18:23:48 +0000 (18:23 +0000)]
Merge "Fixed AUTOFILL_UI_LATENCY metric." into oc-mr1-dev
am: 5e687224bd

Change-Id: I23817abcefde8700c101b756ee6a39d153ea7af5