OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Support passing a template to NetworkStatsManager queries."
Lorenzo Colitti [Tue, 23 Jan 2018 04:02:58 +0000 (04:02 +0000)]
Merge "Support passing a template to NetworkStatsManager queries."

6 years agoMerge "Remove all the implementation for keep eSIM profile during FDR"
TreeHugger Robot [Tue, 23 Jan 2018 03:41:43 +0000 (03:41 +0000)]
Merge "Remove all the implementation for keep eSIM profile during FDR"

6 years agoMerge "camera: Modify AF scene change"
TreeHugger Robot [Tue, 23 Jan 2018 03:03:31 +0000 (03:03 +0000)]
Merge "camera: Modify AF scene change"

6 years agoMerge "Add temporary logging around Activity Manager NPE."
TreeHugger Robot [Tue, 23 Jan 2018 02:55:28 +0000 (02:55 +0000)]
Merge "Add temporary logging around Activity Manager NPE."

6 years agoMerge "Merge "Camera: remove NOT_PRESENT cameras" am: 174df238ac am: 0e32a62cd4 am...
Android Build Merger (Role) [Tue, 23 Jan 2018 02:53:05 +0000 (02:53 +0000)]
Merge "Merge "Camera: remove NOT_PRESENT cameras" am: 174df238ac am: 0e32a62cd4 am: 75774be569"

6 years agoMerge "Camera: remove NOT_PRESENT cameras" am: 174df238ac am: 0e32a62cd4
Yin-Chia Yeh [Tue, 23 Jan 2018 02:52:15 +0000 (02:52 +0000)]
Merge "Camera: remove NOT_PRESENT cameras" am: 174df238ac am: 0e32a62cd4
am: 75774be569

Change-Id: I71a313e35f20c51403227523060914495e67c3bc

6 years agoMerge "Cellular/Wifi power profile"
TreeHugger Robot [Tue, 23 Jan 2018 02:47:40 +0000 (02:47 +0000)]
Merge "Cellular/Wifi power profile"

6 years agoMerge "Add a11y, hover support to rotate suggestion button"
Mike Digman [Tue, 23 Jan 2018 02:44:40 +0000 (02:44 +0000)]
Merge "Add a11y, hover support to rotate suggestion button"

6 years agoMerge "Camera: remove NOT_PRESENT cameras" am: 174df238ac
Yin-Chia Yeh [Tue, 23 Jan 2018 02:35:28 +0000 (02:35 +0000)]
Merge "Camera: remove NOT_PRESENT cameras" am: 174df238ac
am: 0e32a62cd4

Change-Id: I5b2d1d756daf1fabd8d42b9161de6a63d8989302

6 years agoMerge "Remove obsolete NetworkStats.Entry constructor." am: 1683b6968d am: cdeb50aa48
Lorenzo Colitti [Tue, 23 Jan 2018 02:35:08 +0000 (02:35 +0000)]
Merge "Remove obsolete NetworkStats.Entry constructor." am: 1683b6968d am: cdeb50aa48
am: cbbed8ee1f

Change-Id: Id6a664fd5ad8c182468b742e810e65afee248ad5

6 years agoMerge "Fix crash when PhoneStatusBarView has no cutout"
TreeHugger Robot [Tue, 23 Jan 2018 02:27:26 +0000 (02:27 +0000)]
Merge "Fix crash when PhoneStatusBarView has no cutout"

6 years agoMerge "Remove obsolete NetworkStats.Entry constructor." am: 1683b6968d
Lorenzo Colitti [Tue, 23 Jan 2018 02:23:32 +0000 (02:23 +0000)]
Merge "Remove obsolete NetworkStats.Entry constructor." am: 1683b6968d
am: cdeb50aa48

Change-Id: If60b58f95707bab3ae89050234226d54386398e8

6 years agoMerge "Add update packages permission"
TreeHugger Robot [Tue, 23 Jan 2018 02:17:25 +0000 (02:17 +0000)]
Merge "Add update packages permission"

6 years agoMerge "Camera: remove NOT_PRESENT cameras"
Yin-Chia Yeh [Tue, 23 Jan 2018 02:12:57 +0000 (02:12 +0000)]
Merge "Camera: remove NOT_PRESENT cameras"
am: 174df238ac

Change-Id: I2c0dd5ccd8c8a165b568563051ad42dba6082792

6 years agoMerge "Remove obsolete NetworkStats.Entry constructor."
Lorenzo Colitti [Tue, 23 Jan 2018 02:08:18 +0000 (02:08 +0000)]
Merge "Remove obsolete NetworkStats.Entry constructor."
am: 1683b6968d

Change-Id: I72fe99d5e662a6a154f7b2d970c5926ee696e541

6 years agoMerge "Revert "Move instrumentation classes to SettingsLib to share between mobile...
TreeHugger Robot [Tue, 23 Jan 2018 01:58:18 +0000 (01:58 +0000)]
Merge "Revert "Move instrumentation classes to SettingsLib to share between mobile/TV.""

6 years agoMerge "Fix flaky crashes caused during LogEvent destroy"
TreeHugger Robot [Tue, 23 Jan 2018 01:47:25 +0000 (01:47 +0000)]
Merge "Fix flaky crashes caused during LogEvent destroy"

6 years agoMerge "Add broadcast action for carrier setup" am: b60e42becd am: d6d448f68b
Qingxi Li [Tue, 23 Jan 2018 01:36:51 +0000 (01:36 +0000)]
Merge "Add broadcast action for carrier setup" am: b60e42becd am: d6d448f68b
am: 54438137c6  -s ours

Change-Id: I3a0ab4b34f7e62e970e81a74210e9b3ca3677a66

6 years agoMerge "Add broadcast action for carrier setup" am: b60e42becd
Qingxi Li [Tue, 23 Jan 2018 01:25:35 +0000 (01:25 +0000)]
Merge "Add broadcast action for carrier setup" am: b60e42becd
am: d6d448f68b

Change-Id: I085b0d23182696ba6ec639e1f48ec14ed010fecd

6 years agoMerge "Fix screenshot global action item in dark mode."
TreeHugger Robot [Tue, 23 Jan 2018 01:23:32 +0000 (01:23 +0000)]
Merge "Fix screenshot global action item in dark mode."

6 years agoMerge "Add NetworkTypeBitmask into public ApnSetting." am: 278dd4ab90 am: 97104cb905
yuemingw [Tue, 23 Jan 2018 01:22:09 +0000 (01:22 +0000)]
Merge "Add NetworkTypeBitmask into public ApnSetting." am: 278dd4ab90 am: 97104cb905
am: aa32802268

Change-Id: Iab92157d82b1aa399aa06e77abdcf22d71f9f3b9

6 years agoMerge "address carrier id api review feedback" am: 2f6b2726e6 am: e6211a5f01
Chen Xu [Tue, 23 Jan 2018 01:16:27 +0000 (01:16 +0000)]
Merge "address carrier id api review feedback" am: 2f6b2726e6 am: e6211a5f01
am: 5871db10a5  -s ours

Change-Id: Ib8ed3e8eeeb1126351409d5dadb5a021b851540f

6 years agoMerge "Add broadcast action for carrier setup"
Qingxi Li [Tue, 23 Jan 2018 01:12:50 +0000 (01:12 +0000)]
Merge "Add broadcast action for carrier setup"
am: b60e42becd

Change-Id: I3bcde10528fc1fa722995e7666ee6faa7db1d0cd

6 years agoMerge "Add NetworkTypeBitmask into public ApnSetting." am: 278dd4ab90
yuemingw [Tue, 23 Jan 2018 01:07:24 +0000 (01:07 +0000)]
Merge "Add NetworkTypeBitmask into public ApnSetting." am: 278dd4ab90
am: 97104cb905

Change-Id: Ibef74c641596dc57d8a525316ba95ff35e07fce2

6 years agoMerge "address carrier id api review feedback" am: 2f6b2726e6
Chen Xu [Tue, 23 Jan 2018 01:02:36 +0000 (01:02 +0000)]
Merge "address carrier id api review feedback" am: 2f6b2726e6
am: e6211a5f01

Change-Id: I3e601111b7da73158cf1ce281abd77b6d5cfc68f

6 years agoMerge "Camera: remove NOT_PRESENT cameras"
Treehugger Robot [Tue, 23 Jan 2018 00:52:00 +0000 (00:52 +0000)]
Merge "Camera: remove NOT_PRESENT cameras"

6 years agoMerge "ScreenDecor Windows: shouldn't receive inset hints"
TreeHugger Robot [Tue, 23 Jan 2018 00:50:21 +0000 (00:50 +0000)]
Merge "ScreenDecor Windows: shouldn't receive inset hints"

6 years agoMerge "Add NetworkTypeBitmask into public ApnSetting."
yuemingw [Tue, 23 Jan 2018 00:47:01 +0000 (00:47 +0000)]
Merge "Add NetworkTypeBitmask into public ApnSetting."
am: 278dd4ab90

Change-Id: I63be092c9f978cf0e0b029e6836d5f0b876831f6

6 years agoMerge "address carrier id api review feedback"
Chen Xu [Tue, 23 Jan 2018 00:42:06 +0000 (00:42 +0000)]
Merge "address carrier id api review feedback"
am: 2f6b2726e6

Change-Id: I40fb765e4c4eb844826ae8e305ddcc7ef1c281f4

6 years agoMerge "camera: Add support for multiple camera capture requests"
Shuzhen Wang [Tue, 23 Jan 2018 00:36:16 +0000 (00:36 +0000)]
Merge "camera: Add support for multiple camera capture requests"

6 years agoMerge "[RTT] Public LCI and LCR API"
Etan Cohen [Tue, 23 Jan 2018 00:31:50 +0000 (00:31 +0000)]
Merge "[RTT] Public LCI and LCR API"

6 years agoMerge changes I4d985a27,Ic6f2bc18
Lorenzo Colitti [Tue, 23 Jan 2018 00:28:39 +0000 (00:28 +0000)]
Merge changes I4d985a27,Ic6f2bc18

* changes:
  Add metered, roaming, and defaultNetwork info to NetworkTemplate.
  Unbreak frameworks-net tests broken by missing libutilscallstack.

6 years agoMerge "Address comments and final cleanup from refcounting integration" am: 222529d95...
Benedict Wong [Tue, 23 Jan 2018 00:19:05 +0000 (00:19 +0000)]
Merge "Address comments and final cleanup from refcounting integration" am: 222529d95c am: 8130c2a718
am: 08307475a2

Change-Id: I0612286b8d95b0ae10c1337214f9c3b4e570fbac

6 years agoMerge "Remove obsolete NetworkStats.Entry constructor."
Lorenzo Colitti [Tue, 23 Jan 2018 00:15:15 +0000 (00:15 +0000)]
Merge "Remove obsolete NetworkStats.Entry constructor."

6 years agoMerge "Address comments and final cleanup from refcounting integration" am: 222529d95c
Benedict Wong [Tue, 23 Jan 2018 00:08:17 +0000 (00:08 +0000)]
Merge "Address comments and final cleanup from refcounting integration" am: 222529d95c
am: 8130c2a718

Change-Id: I7ed4a6bb90f3cf3ed5fd0e6ad20b033e588a4c90

6 years agoAdd a11y, hover support to rotate suggestion button
Mike Digman [Tue, 23 Jan 2018 00:05:51 +0000 (16:05 -0800)]
Add a11y, hover support to rotate suggestion button

Tweaks timeouts from volume dialog for a11y and hover. Repurposes
volume dialog code to detect when a11y feedback services are active.
New content description needs to be localized. Also includes some
related cleanup.

Test: a11y manual by toggling service, hover manual with usb mouse

Change-Id: Ife12c74910c1658e06e75a4baf393a56568e985b

6 years agoMerge "Add Settings support for Bluetooth Multi-A2DP and Multi-HFP"
TreeHugger Robot [Mon, 22 Jan 2018 23:59:32 +0000 (23:59 +0000)]
Merge "Add Settings support for Bluetooth Multi-A2DP and Multi-HFP"

6 years agoMerge "Address comments and final cleanup from refcounting integration"
Benedict Wong [Mon, 22 Jan 2018 23:57:28 +0000 (23:57 +0000)]
Merge "Address comments and final cleanup from refcounting integration"
am: 222529d95c

Change-Id: Ie0bc2b81e09ee874ef848905bb486967a857c6d1

6 years agoMerge "Add broadcast action for carrier setup"
Treehugger Robot [Mon, 22 Jan 2018 23:55:49 +0000 (23:55 +0000)]
Merge "Add broadcast action for carrier setup"

6 years agoMerge "Clicking QS DND tile triggers priority-only dnd"
TreeHugger Robot [Mon, 22 Jan 2018 23:53:12 +0000 (23:53 +0000)]
Merge "Clicking QS DND tile triggers priority-only dnd"

6 years agoMerge "Improve layer rendering quality"
TreeHugger Robot [Mon, 22 Jan 2018 23:52:31 +0000 (23:52 +0000)]
Merge "Improve layer rendering quality"

6 years agoMerge "Add string for number of hotspot connected devices"
TreeHugger Robot [Mon, 22 Jan 2018 23:49:34 +0000 (23:49 +0000)]
Merge "Add string for number of hotspot connected devices"

6 years agoAdd temporary logging around Activity Manager NPE.
Bryce Lee [Mon, 22 Jan 2018 23:47:09 +0000 (15:47 -0800)]
Add temporary logging around Activity Manager NPE.

This changelist will dump additional details to the log before the
system encounters a NPE due to not finding an ActivityStack. These
additions should be reverted once the root cause has been discovered.

Bug: 71548119
Test: manual
Change-Id: Ide20ff9e7b5eeed5b7200e011c1d0afca69eb0b4

6 years agoFix crash when PhoneStatusBarView has no cutout
Evan Laird [Mon, 22 Jan 2018 23:25:17 +0000 (18:25 -0500)]
Fix crash when PhoneStatusBarView has no cutout

Not all layouts will have cutouts after all, and PhoneStatusBarView
can't expect there to be one for no reason.

Test: manually verified that removing the cutout won't cause issues
Change-Id: Id02b467c7a650c12ab61f294eec576420dccd130
Fixes: 72325926

6 years agoMerge "[RTT] Add LCI and LCR structures"
Etan Cohen [Mon, 22 Jan 2018 23:36:25 +0000 (23:36 +0000)]
Merge "[RTT] Add LCI and LCR structures"

6 years agoMerge "Change selection strategy for ACTION_DISMISS_TIMER"
Christine Franks [Mon, 22 Jan 2018 23:23:25 +0000 (23:23 +0000)]
Merge "Change selection strategy for ACTION_DISMISS_TIMER"

6 years agoMerge "camera: Add OIS data keys"
TreeHugger Robot [Mon, 22 Jan 2018 23:22:30 +0000 (23:22 +0000)]
Merge "camera: Add OIS data keys"

6 years agoMerge "Avoid processing the log event when there is no config."
TreeHugger Robot [Mon, 22 Jan 2018 23:14:53 +0000 (23:14 +0000)]
Merge "Avoid processing the log event when there is no config."

6 years agoFix flaky crashes caused during LogEvent destroy
Chenjie Yu [Mon, 22 Jan 2018 23:10:54 +0000 (15:10 -0800)]
Fix flaky crashes caused during LogEvent destroy

Test: cts tested
Change-Id: I0329a64506b5838d2572cda0d1b86ad78bae4253

6 years agoMerge "Add NetworkTypeBitmask into public ApnSetting."
Treehugger Robot [Mon, 22 Jan 2018 22:53:38 +0000 (22:53 +0000)]
Merge "Add NetworkTypeBitmask into public ApnSetting."

6 years agoMerge "Changed onGetScores() to return null instead of throwing exception."
TreeHugger Robot [Mon, 22 Jan 2018 22:46:22 +0000 (22:46 +0000)]
Merge "Changed onGetScores() to return null instead of throwing exception."

6 years agoMerge "address carrier id api review feedback"
Chen Xu [Mon, 22 Jan 2018 22:44:02 +0000 (22:44 +0000)]
Merge "address carrier id api review feedback"

6 years agoMerge "Bring back the date!"
TreeHugger Robot [Mon, 22 Jan 2018 22:38:16 +0000 (22:38 +0000)]
Merge "Bring back the date!"

6 years agoMerge "WifiManager: mark WPS related API calls deprecated"
Oscar Shu [Mon, 22 Jan 2018 22:35:30 +0000 (22:35 +0000)]
Merge "WifiManager: mark WPS related API calls deprecated"

6 years agoMerge "Allow Recents in current user to access APIs in its child profile"
TreeHugger Robot [Mon, 22 Jan 2018 22:09:19 +0000 (22:09 +0000)]
Merge "Allow Recents in current user to access APIs in its child profile"

6 years agoAdd broadcast action for carrier setup
Qingxi Li [Fri, 19 Jan 2018 20:24:05 +0000 (12:24 -0800)]
Add broadcast action for carrier setup

This broadcast action is sent by eSIM Manager to let the carrier app
know that the carrier setup is not completed.

Bug: 62639823
Test: TreeHugger
Merged-In: I88ac90cf679d5ec98aa7c0cf7bd9c96010597a1c
Change-Id: I88ac90cf679d5ec98aa7c0cf7bd9c96010597a1c

6 years agoMerge "Add the assisted dialing carrier config."
TreeHugger Robot [Mon, 22 Jan 2018 21:56:25 +0000 (21:56 +0000)]
Merge "Add the assisted dialing carrier config."

6 years agoMerge "Use encoder id as insecure DP encoder random seed"
Ricky Wai [Mon, 22 Jan 2018 21:47:38 +0000 (21:47 +0000)]
Merge "Use encoder id as insecure DP encoder random seed"

6 years agoMerge "Disable tuner"
TreeHugger Robot [Mon, 22 Jan 2018 21:47:18 +0000 (21:47 +0000)]
Merge "Disable tuner"

6 years agoCellular/Wifi power profile
Siddharth Ray [Thu, 18 Jan 2018 01:40:26 +0000 (17:40 -0800)]
Cellular/Wifi power profile

- Added Cellular Energy Calculation
- Moved Wifi power profile to power_profile.xml

BUG:67213967

Test: Manual
Change-Id: I4b23b59fc6fa2461adc8ef6910d46b9f7ab02c83

6 years agoMerge "Turn on new time zone picker flag by default."
Joachim Sauer [Mon, 22 Jan 2018 21:34:59 +0000 (21:34 +0000)]
Merge "Turn on new time zone picker flag by default."

6 years agoMerge "Fix NPE when creating remote animations"
TreeHugger Robot [Mon, 22 Jan 2018 21:21:44 +0000 (21:21 +0000)]
Merge "Fix NPE when creating remote animations"

6 years agoMerge "Fix up slice service listener management"
TreeHugger Robot [Mon, 22 Jan 2018 21:20:30 +0000 (21:20 +0000)]
Merge "Fix up slice service listener management"

6 years agoMerge "Atom: ScheduledJobStateChanged"
TreeHugger Robot [Mon, 22 Jan 2018 21:19:23 +0000 (21:19 +0000)]
Merge "Atom: ScheduledJobStateChanged"

6 years agoMerge "Wifi: Add scanning, activity time and API"
Siddharth Ray [Mon, 22 Jan 2018 21:11:59 +0000 (21:11 +0000)]
Merge "Wifi: Add scanning, activity time and API"

6 years agoImprove layer rendering quality
Stan Iliev [Mon, 22 Jan 2018 15:36:33 +0000 (10:36 -0500)]
Improve layer rendering quality

Increase filter quality when rendering a layer into the frame
buffer from kNone_SkFilterQuality to kLow_SkFilterQuality.
This visibly improves the quality if the layer is scaled.
For example the circle shutter button in camera app looks
better in pressed state (there is no jagged edge).

Test: Ran camera app
Bug: 72144993
Change-Id: I138d930a25301a369876d76a2cd322df0324f0f2

6 years agoMerge "Make various members private in PerformBackupTask."
Oscar Key [Mon, 22 Jan 2018 21:07:49 +0000 (21:07 +0000)]
Merge "Make various members private in PerformBackupTask."

6 years agoaddress carrier id api review feedback
fionaxu [Fri, 5 Jan 2018 23:38:11 +0000 (15:38 -0800)]
address carrier id api review feedback

1. improve comments
2. change returned carrier name from String to CharSequence
3. change to AndroidCarrierId

Bug: 64131637
Bug: 71584605
Test: Manual
Change-Id: I412d53bb9d4955e1267300692e90ebfffd6818df
Merged-in: I412d53bb9d4955e1267300692e90ebfffd6818df

6 years agoRevert "Move instrumentation classes to SettingsLib to share between mobile/TV."
Leif Wilden [Mon, 22 Jan 2018 20:21:33 +0000 (20:21 +0000)]
Revert "Move instrumentation classes to SettingsLib to share between mobile/TV."

This reverts commit 58dccbe1e23c7ecb77c5716fe31d5c9d549124ff.

Reason for revert: Broke fingerprint setup flow. b/72267201

Change-Id: I9901d0ec077ff0a5b50f59a9f1b1c6156f6f09bd

6 years agoMerge "address carrier id api review feedback"
Chen Xu [Mon, 22 Jan 2018 20:52:16 +0000 (20:52 +0000)]
Merge "address carrier id api review feedback"

6 years agoMerge "Add PH flag for P power model"
TreeHugger Robot [Mon, 22 Jan 2018 20:34:44 +0000 (20:34 +0000)]
Merge "Add PH flag for P power model"

6 years agoMerge "Address comments and final cleanup from refcounting integration"
Benedict Wong [Mon, 22 Jan 2018 20:32:18 +0000 (20:32 +0000)]
Merge "Address comments and final cleanup from refcounting integration"

6 years agoMerge "camera2: Add support for logical camera"
Shuzhen Wang [Mon, 22 Jan 2018 20:30:15 +0000 (20:30 +0000)]
Merge "camera2: Add support for logical camera"

6 years agoMerge "Updating JavaDocs for more spans."
TreeHugger Robot [Mon, 22 Jan 2018 20:28:25 +0000 (20:28 +0000)]
Merge "Updating JavaDocs for more spans."

6 years agoRemove all the implementation for keep eSIM profile during FDR
Qingxi Li [Thu, 11 Jan 2018 19:24:29 +0000 (11:24 -0800)]
Remove all the implementation for keep eSIM profile during FDR

When we show the option to users to allow them decide whether they want
to keep eSIM profiles during FDR, we remove erasing eSIM profiles from
CompleteBootService. So there is no need to call
EuiccManager#retainSubscriptionsForFactoryReset again. And when we don't
show this option to users, we will always erase eSIM profiles with
isWipeEuicc equals to true.

Bug: 67500470
Test: E2E
Change-Id: Ide4ee5fbfd4b2aadc78071f8ecb8e0424a37db44

6 years agoMerge "Update comment for BATTERY_TIP_CONSTANTS"
Lei Yu [Mon, 22 Jan 2018 20:21:51 +0000 (20:21 +0000)]
Merge "Update comment for BATTERY_TIP_CONSTANTS"

6 years agoMerge "Add get-harmful-app-warning shell command"
Ben Gruver [Mon, 22 Jan 2018 20:17:50 +0000 (20:17 +0000)]
Merge "Add get-harmful-app-warning shell command"

6 years agoChanged onGetScores() to return null instead of throwing exception.
Felipe Leme [Mon, 22 Jan 2018 19:53:44 +0000 (11:53 -0800)]
Changed onGetScores() to return null instead of throwing exception.

Callers (Session and AFMShellCommand) already handle null (in fact, the
signature declares it as @Nullable), so there's no point on throwing a
runtime exception...

Bug: 70939974
Test: 'adb shell cmd autofill get fc_score half kale' when service APK was not
      implementing it.

Change-Id: I37da6cd13c40545626332c272759e797b5a25924

6 years agoMerge "Merge "Debug: Add attachJvmtiAgent with classloader" am: 940c0341f0 am: 878abd...
Android Build Merger (Role) [Mon, 22 Jan 2018 20:16:34 +0000 (20:16 +0000)]
Merge "Merge "Debug: Add attachJvmtiAgent with classloader" am: 940c0341f0 am: 878abd8e91 am: 03eb67c287"

6 years agoMerge "Debug: Add attachJvmtiAgent with classloader" am: 940c0341f0 am: 878abd8e91
Andreas Gampe [Mon, 22 Jan 2018 20:14:49 +0000 (20:14 +0000)]
Merge "Debug: Add attachJvmtiAgent with classloader" am: 940c0341f0 am: 878abd8e91
am: 03eb67c287

Change-Id: Ib3b8b14907253b3438588fda8b5059f61b5594cf

6 years agoMerge "Add pending system update info system APIs."
TreeHugger Robot [Mon, 22 Jan 2018 20:12:43 +0000 (20:12 +0000)]
Merge "Add pending system update info system APIs."

6 years agoCheck for surface validity to avoid native crash
Jorim Jaggi [Mon, 22 Jan 2018 16:03:59 +0000 (17:03 +0100)]
Check for surface validity to avoid native crash

If the surface gets destroyed, return -1 to indicate such that
the client can abort the animation, instead of crashing.

Test: With Launcher in multi-window
Change-Id: I4ab11557c40ed843a4c2e985a53cc2247b18b5fd

6 years agoMerge "Rename create/delete transform methods" am: 7ee26e72cf am: 5b71c4a0a5
Benedict Wong [Mon, 22 Jan 2018 20:03:48 +0000 (20:03 +0000)]
Merge "Rename create/delete transform methods" am: 7ee26e72cf am: 5b71c4a0a5
am: 5b3e788908

Change-Id: Ie07b0b608b3dfcbfc4228a15e26fe6f6559315f9

6 years agoMerge "Debug: Add attachJvmtiAgent with classloader" am: 940c0341f0
Andreas Gampe [Mon, 22 Jan 2018 20:01:18 +0000 (20:01 +0000)]
Merge "Debug: Add attachJvmtiAgent with classloader" am: 940c0341f0
am: 878abd8e91

Change-Id: I862a822ef7600030f7b435fe9b9368961cf4694b

6 years agoClicking QS DND tile triggers priority-only dnd
Beverly [Mon, 22 Jan 2018 15:49:43 +0000 (10:49 -0500)]
Clicking QS DND tile triggers priority-only dnd

Test: manual (tap QS dnd and see priority only triggered)
Bug: 63077372
Change-Id: I78df9a5ccd76af7a156ae71b6bb9b40c546e2e81

6 years agoMerge "Don't use user-tagged Uris in slice callbacks"
TreeHugger Robot [Mon, 22 Jan 2018 20:00:30 +0000 (20:00 +0000)]
Merge "Don't use user-tagged Uris in slice callbacks"

6 years agoMerge "Camera: codegen spec update"
Yin-Chia Yeh [Mon, 22 Jan 2018 19:55:20 +0000 (19:55 +0000)]
Merge "Camera: codegen spec update"

6 years agoMerge "Rename create/delete transform methods" am: 7ee26e72cf
Benedict Wong [Mon, 22 Jan 2018 19:53:15 +0000 (19:53 +0000)]
Merge "Rename create/delete transform methods" am: 7ee26e72cf
am: 5b71c4a0a5

Change-Id: I16bfb511ac2d6094e246f79d51fe4520d3e765cd

6 years agoMerge "Debug: Add attachJvmtiAgent with classloader"
Andreas Gampe [Mon, 22 Jan 2018 19:48:28 +0000 (19:48 +0000)]
Merge "Debug: Add attachJvmtiAgent with classloader"
am: 940c0341f0

Change-Id: I0c9179b373040e7d4f54a5ad9835d14624012999

6 years agoMerge "Rename create/delete transform methods"
Benedict Wong [Mon, 22 Jan 2018 19:44:43 +0000 (19:44 +0000)]
Merge "Rename create/delete transform methods"
am: 7ee26e72cf

Change-Id: I76576d1f3193fcbb3680fb29893cf696ea7a41fe

6 years agoAdd Settings support for Bluetooth Multi-A2DP and Multi-HFP
Pavlin Radoslavov [Sun, 21 Jan 2018 10:59:15 +0000 (02:59 -0800)]
Add Settings support for Bluetooth Multi-A2DP and Multi-HFP

When there are multiple connected A2DP/HFP devices, if a connected
device's name is clicked on, that device will be chosen as
Active - i.e., it will be the device chosen for audio out / phone call.

Also:
 * Listen to the BluetoothA2dp.ACTION_ACTIVE_DEVICE_CHANGED
   and BluetoothHeadset.ACTION_ACTIVE_DEVICE_CHANGED intents
   and update the the status of the current active device.
 * When connecting a new device, and Multi-A2DP is enabled, don't
   disconnect the currently connected device.
 * Update the implementation of isA2dpPlaying() so it correctly checks
   all connected devices, not only the first one.

Test: Manual: multiple connected A2DP devices, and selecting each as
      the Active Device.
Bug: 64767509

Change-Id: I69f3c85ebf5a7f07f6deed484c6dd65705460ae4

6 years agoFix screenshot global action item in dark mode.
Alison Cichowlas [Mon, 22 Jan 2018 19:38:15 +0000 (14:38 -0500)]
Fix screenshot global action item in dark mode.

Test: with dark background, verify icon is recolored.
Change-Id: I861760bf2840f7dcda021c12693b5c0b2c280a29

6 years agoMerge "Skip user restriction tests when synchronizing PDB"
TreeHugger Robot [Mon, 22 Jan 2018 19:37:50 +0000 (19:37 +0000)]
Merge "Skip user restriction tests when synchronizing PDB"

6 years ago[RTT] Public LCI and LCR API
Etan Cohen [Fri, 19 Jan 2018 02:28:48 +0000 (18:28 -0800)]
[RTT] Public LCI and LCR API

Expose the LCI and LCR APIs.

Bug: 65108607
Test: builds
Change-Id: If103dbff349a3f9e951d12dc4cec1d7dc48745ad

6 years ago[RTT] Add LCI and LCR structures
Etan Cohen [Fri, 5 Jan 2018 22:12:58 +0000 (14:12 -0800)]
[RTT] Add LCI and LCR structures

Baseline LCI & LCR classes and structure (and planned API).

Bug: 71643239
Test: unit tests
Change-Id: I1ebe4f46d219901761758de58d73815ccfe6e815

6 years agoAdd the assisted dialing carrier config.
Eric Erfanian [Wed, 17 Jan 2018 23:27:39 +0000 (15:27 -0800)]
Add the assisted dialing carrier config.

This is used to activate the feature and show the settings.

Remove @hide from the public APIS.

Design doc:
go/assisted-dialing-dd-v1

Test: manual
Bug: 63934304
Change-Id: I09ea52720bf2439537e2f4ad32afb14f5df25f71

6 years agoMerge "Unhide printing policy API."
Vladislav Kuzkokov [Mon, 22 Jan 2018 19:16:48 +0000 (19:16 +0000)]
Merge "Unhide printing policy API."

6 years agoMerge "Use generic native routing event handler in MediaRecorder."
TreeHugger Robot [Mon, 22 Jan 2018 19:12:42 +0000 (19:12 +0000)]
Merge "Use generic native routing event handler in MediaRecorder."

6 years agoFix NPE when creating remote animations
Jorim Jaggi [Mon, 22 Jan 2018 19:01:21 +0000 (20:01 +0100)]
Fix NPE when creating remote animations

Test: go/wm-smoke
Bug: 72302602
Change-Id: Ifbae370ea559a9fda5ca442ceef0f6db8229466b

6 years agoMerge "Add StaticLayoutPerfTest for drawing"
TreeHugger Robot [Mon, 22 Jan 2018 19:07:30 +0000 (19:07 +0000)]
Merge "Add StaticLayoutPerfTest for drawing"