OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "STOPSHIP: Roll forward: Add UidCpuPower global setting"
TreeHugger Robot [Fri, 23 Feb 2018 17:49:17 +0000 (17:49 +0000)]
Merge "STOPSHIP: Roll forward: Add UidCpuPower global setting"

6 years agoMerge "Fixed service state CTS test failing" am: ab5bc3be50 am: f535f8108d
Jack Yu [Fri, 23 Feb 2018 17:46:03 +0000 (17:46 +0000)]
Merge "Fixed service state CTS test failing" am: ab5bc3be50 am: f535f8108d
am: 09da9870d0

Change-Id: Iac059a0df9bf6c3920327101d4423ef9acc60ebb

6 years agoMerge "Revert "Add "Unlocked device required" parameter to keys""
TreeHugger Robot [Fri, 23 Feb 2018 17:42:45 +0000 (17:42 +0000)]
Merge "Revert "Add "Unlocked device required" parameter to keys""

6 years agoMerge "Support forced Night Display auto mode"
Christine Franks [Fri, 23 Feb 2018 17:39:21 +0000 (17:39 +0000)]
Merge "Support forced Night Display auto mode"

6 years agoMerge "Fixed service state CTS test failing" am: ab5bc3be50
Jack Yu [Fri, 23 Feb 2018 17:27:20 +0000 (17:27 +0000)]
Merge "Fixed service state CTS test failing" am: ab5bc3be50
am: f535f8108d

Change-Id: Ia3e1e58acda7aa3099c93f1f6c2bef9f53828e4d

6 years agoMerge "Make the dump of the window hierarchy more readable"
Jorim Jaggi [Fri, 23 Feb 2018 17:27:15 +0000 (17:27 +0000)]
Merge "Make the dump of the window hierarchy more readable"

6 years agoMerge "Ensure keyguard slice use correct colors"
Lucas Dupin [Fri, 23 Feb 2018 17:21:27 +0000 (17:21 +0000)]
Merge "Ensure keyguard slice use correct colors"

6 years agoMerge "Fixed service state CTS test failing"
Jack Yu [Fri, 23 Feb 2018 17:18:49 +0000 (17:18 +0000)]
Merge "Fixed service state CTS test failing"
am: ab5bc3be50

Change-Id: I38fc94d366a16acee810fd9336750044508cf766

6 years agoMerge "In the spirit of writing stuff down"
TreeHugger Robot [Fri, 23 Feb 2018 17:00:52 +0000 (17:00 +0000)]
Merge "In the spirit of writing stuff down"

6 years agoMerge "Removed executable flag for Java source files" am: 9a7c651196 am: 9304dc9f36
Pavlin Radoslavov [Fri, 23 Feb 2018 16:48:47 +0000 (16:48 +0000)]
Merge "Removed executable flag for Java source files" am: 9a7c651196 am: 9304dc9f36
am: 38c41a938f

Change-Id: I6b85de3cb0d55bf3dc88ecd39b31228c43e9ab01

6 years agoMerge "Make it possible to construct a RecoverySession"
Robert Berry [Fri, 23 Feb 2018 16:40:36 +0000 (16:40 +0000)]
Merge "Make it possible to construct a RecoverySession"

6 years agoMerge "Removed executable flag for Java source files" am: 9a7c651196
Pavlin Radoslavov [Fri, 23 Feb 2018 16:35:36 +0000 (16:35 +0000)]
Merge "Removed executable flag for Java source files" am: 9a7c651196
am: 9304dc9f36

Change-Id: I3123d49a045b91be0b1a22531110b069dfcf8890

6 years agoMerge "Name specific app for rapid data usage."
Jeff Sharkey [Fri, 23 Feb 2018 16:28:58 +0000 (16:28 +0000)]
Merge "Name specific app for rapid data usage."

6 years agoName specific app for rapid data usage.
Jeff Sharkey [Wed, 21 Feb 2018 00:24:55 +0000 (17:24 -0700)]
Name specific app for rapid data usage.

When a single app is responsible for more than half of the data usage
that caused us to trigger a "rapid usage" alert, name that app in the
notification.  Tests to verify.

Move NPMS->NSS direct calls to "Internal" pattern, following
best-practices to avoid unnecessary AIDL exposure.

Remove 3G/4G split mobile plan support, which has been deprecated for
years and was never supported in a shipping product.

Move MultipathPolicyTracker in tree to reflect its package name.

Test: bit FrameworksNetTests:*
Test: bit FrameworksServicesTests:com.android.server.NetworkPolicyManagerServiceTest
Bug: 69263587642215057343108072746951
Exempt-From-Owner-Approval: approved in previous PS
Change-Id: I3e4ec1ae2222d51b232f76f32faca93d4f8cd272

6 years agoMerge changes Icdb40ee3,I4c239844
Jeff Sharkey [Fri, 23 Feb 2018 16:26:29 +0000 (16:26 +0000)]
Merge changes Icdb40ee3,I4c239844

* changes:
  Knobs for connectivity experiments.
  Mechanical refactoring to improve job dumping.

6 years agoMerge "Create print job when print activity starts"
Philip P. Moltmann [Fri, 23 Feb 2018 16:24:41 +0000 (16:24 +0000)]
Merge "Create print job when print activity starts"

6 years agoMerge "Removed executable flag for Java source files"
Pavlin Radoslavov [Fri, 23 Feb 2018 16:23:45 +0000 (16:23 +0000)]
Merge "Removed executable flag for Java source files"
am: 9a7c651196

Change-Id: Ia14ec1352400d603e51a3eaadd6d3910a10b6dc2

6 years agoMerge "Fixed service state CTS test failing"
Treehugger Robot [Fri, 23 Feb 2018 15:41:32 +0000 (15:41 +0000)]
Merge "Fixed service state CTS test failing"

6 years agoIn the spirit of writing stuff down
Jason Monk [Thu, 22 Feb 2018 19:11:58 +0000 (14:11 -0500)]
In the spirit of writing stuff down

Write some stuff down

Test: none
Change-Id: I9997db5f9c4d75b0c066f002f234dbeaec6932a4

6 years agoMerge "Fixes for inflating AnimatedImageDrawable"
Leon Scroggins [Fri, 23 Feb 2018 14:45:54 +0000 (14:45 +0000)]
Merge "Fixes for inflating AnimatedImageDrawable"

6 years agoMerge "updateNonSystemOverlayWindowsVisibilityIfNeeded on relayoutWindow"
Wale Ogunwale [Fri, 23 Feb 2018 14:25:25 +0000 (14:25 +0000)]
Merge "updateNonSystemOverlayWindowsVisibilityIfNeeded on relayoutWindow"

6 years agoMerge "Removed executable flag for Java source files"
Treehugger Robot [Fri, 23 Feb 2018 13:38:29 +0000 (13:38 +0000)]
Merge "Removed executable flag for Java source files"

6 years agoMerge "[Magnifier-25] Fix race condition after #dismiss"
TreeHugger Robot [Fri, 23 Feb 2018 12:50:37 +0000 (12:50 +0000)]
Merge "[Magnifier-25] Fix race condition after #dismiss"

6 years agoMake the dump of the window hierarchy more readable
Jorim Jaggi [Fri, 23 Feb 2018 12:28:15 +0000 (13:28 +0100)]
Make the dump of the window hierarchy more readable

Activities weren't indented, making it hard to read.

Test: dumpsys window -a
Change-Id: Ibd39bd34ac128caf67eb07c932913a9078de9439

6 years agoMake it possible to construct a RecoverySession
Robert Berry [Thu, 22 Feb 2018 15:24:05 +0000 (15:24 +0000)]
Make it possible to construct a RecoverySession

These methods are currently inaccessible.

Bug: 73763265
Test: it builds

Change-Id: I8358a8084e1c4fa96b1fe599ef6b17d6196d6a12

6 years agoRemoved executable flag for Java source files
Pavlin Radoslavov [Mon, 18 Dec 2017 20:56:18 +0000 (12:56 -0800)]
Removed executable flag for Java source files

Test: Code compilation
Change-Id: Ibfb57c6af54ace94eb9f9915471738f2f09ca70a

6 years agoMerge "Add unit tests for AppOpsService."
Peter Visontay [Fri, 23 Feb 2018 10:25:44 +0000 (10:25 +0000)]
Merge "Add unit tests for AppOpsService."

6 years agoMerge "Extend XML parser to allow optional requiredFlags attribute for <include ...
Bernardo Rufino [Fri, 23 Feb 2018 09:29:21 +0000 (09:29 +0000)]
Merge "Extend XML parser to allow optional requiredFlags attribute for <include /> rules in <full-backup-content> specification"

6 years agoMerge "Using ParceledListSlice for {get|set}AppStandbyBuckets"
TreeHugger Robot [Fri, 23 Feb 2018 09:28:33 +0000 (09:28 +0000)]
Merge "Using ParceledListSlice for {get|set}AppStandbyBuckets"

6 years agoMerge "MediaControlView2: Add Support for Ad"
TreeHugger Robot [Fri, 23 Feb 2018 07:53:51 +0000 (07:53 +0000)]
Merge "MediaControlView2: Add Support for Ad"

6 years agoMerge "Add comments according to the API review process." am: e9a215b238 am: b3b458b9ad
Cassie [Fri, 23 Feb 2018 07:07:18 +0000 (07:07 +0000)]
Merge "Add comments according to the API review process." am: e9a215b238 am: b3b458b9ad
am: b1b06cbaf5

Change-Id: Ic90fe7f73ae2442e5bd3c8e7f69e70c1b5332ff6

6 years agoMerge "Add comments according to the API review process." am: e9a215b238
Cassie [Fri, 23 Feb 2018 06:56:56 +0000 (06:56 +0000)]
Merge "Add comments according to the API review process." am: e9a215b238
am: b3b458b9ad

Change-Id: Ie9c3ce9bc67c08d99ea1c1ebfce5fbc78575baea

6 years agoMerge changes from topic "update_mapping"
TreeHugger Robot [Fri, 23 Feb 2018 06:51:31 +0000 (06:51 +0000)]
Merge changes from topic "update_mapping"

* changes:
  Rework how pinning works
  Follow prebuilt/API update

6 years agoMerge "Add comments according to the API review process."
Cassie [Fri, 23 Feb 2018 06:45:24 +0000 (06:45 +0000)]
Merge "Add comments according to the API review process."
am: e9a215b238

Change-Id: I3c079d96e4f8469b3e40eb7e5a9230544c752d57

6 years agoMerge "Revert "Comment out CustomEditTextPreferenceTest which is failing...""
TreeHugger Robot [Fri, 23 Feb 2018 06:29:26 +0000 (06:29 +0000)]
Merge "Revert "Comment out CustomEditTextPreferenceTest which is failing...""

6 years agoMerge "Explicitly restart the killed wallpaper service"
TreeHugger Robot [Fri, 23 Feb 2018 06:17:20 +0000 (06:17 +0000)]
Merge "Explicitly restart the killed wallpaper service"

6 years agoMerge "Reset compat mode settings on settings change."
TreeHugger Robot [Fri, 23 Feb 2018 06:10:21 +0000 (06:10 +0000)]
Merge "Reset compat mode settings on settings change."

6 years agoMerge "DisplayCutout: Fix positioning of NO_LIMITS windows"
TreeHugger Robot [Fri, 23 Feb 2018 06:06:47 +0000 (06:06 +0000)]
Merge "DisplayCutout: Fix positioning of NO_LIMITS windows"

6 years agoMerge "OMS: Make updates to category not reset the overlay's state"
TreeHugger Robot [Fri, 23 Feb 2018 05:48:18 +0000 (05:48 +0000)]
Merge "OMS: Make updates to category not reset the overlay's state"

6 years agoMediaControlView2: Add Support for Ad
Jin Seok Park [Fri, 9 Feb 2018 07:25:46 +0000 (16:25 +0900)]
MediaControlView2: Add Support for Ad

Add APIs for getting/setting MediaMetadata2 in oder to add support
for Advertising media type.

Bug: 73136129
Test: run VideoViewTest.apk
Change-Id: Iab8e23c1f02f4e2df62a6732112b233541f8f35c

6 years agoMerge "Add comments according to the API review process."
Treehugger Robot [Fri, 23 Feb 2018 05:32:35 +0000 (05:32 +0000)]
Merge "Add comments according to the API review process."

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 23 Feb 2018 05:27:01 +0000 (05:27 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Dump last 24 hours of UsageStats events"
TreeHugger Robot [Fri, 23 Feb 2018 04:11:13 +0000 (04:11 +0000)]
Merge "Dump last 24 hours of UsageStats events"

6 years agoMerge "Implement brightness slider spec."
TreeHugger Robot [Fri, 23 Feb 2018 03:57:05 +0000 (03:57 +0000)]
Merge "Implement brightness slider spec."

6 years agoMerge "Dismiss PIP window when PIP is disabled from settings."
Tracy Zhou [Fri, 23 Feb 2018 03:51:02 +0000 (03:51 +0000)]
Merge "Dismiss PIP window when PIP is disabled from settings."

6 years agoMerge "Fixed an issue with a test that didn't work properly"
Selim Cinek [Fri, 23 Feb 2018 03:35:40 +0000 (03:35 +0000)]
Merge "Fixed an issue with a test that didn't work properly"

6 years agoFixed an issue with a test that didn't work properly
Selim Cinek [Fri, 23 Feb 2018 02:35:53 +0000 (18:35 -0800)]
Fixed an issue with a test that didn't work properly

This was causing tool failures.

Change-Id: Ia29b2b22dc1e0bf53dfd664280fd69dc110e020b
Fixes: 73791701
Test: runtest systemui

6 years agoMerge "MediaPlayer2: use long type for media time."
TreeHugger Robot [Fri, 23 Feb 2018 03:21:27 +0000 (03:21 +0000)]
Merge "MediaPlayer2: use long type for media time."

6 years agoMerge "Allow callers to synchronously block for shutdown" am: 9121322ce7 am: a49db4d080
Erik Kline [Fri, 23 Feb 2018 03:08:02 +0000 (03:08 +0000)]
Merge "Allow callers to synchronously block for shutdown" am: 9121322ce7 am: a49db4d080
am: d389a22391

Change-Id: Idf60c16ac8003503f33130ddc6276a17fed75108

6 years agoMerge "Allow callers to synchronously block for shutdown" am: 9121322ce7
Erik Kline [Fri, 23 Feb 2018 02:57:42 +0000 (02:57 +0000)]
Merge "Allow callers to synchronously block for shutdown" am: 9121322ce7
am: a49db4d080

Change-Id: Icd7df06784a0ecf14c8b9b35d579179ffce65ffc

6 years agoMerge "Allow callers to synchronously block for shutdown"
Erik Kline [Fri, 23 Feb 2018 02:46:11 +0000 (02:46 +0000)]
Merge "Allow callers to synchronously block for shutdown"
am: 9121322ce7

Change-Id: Ic0293bf12688e785f4942f0985a8470155fe062b

6 years agoMerge "Bringing back assistant on long press home button (1/2)"
TreeHugger Robot [Fri, 23 Feb 2018 02:43:24 +0000 (02:43 +0000)]
Merge "Bringing back assistant on long press home button (1/2)"

6 years agoupdateNonSystemOverlayWindowsVisibilityIfNeeded on relayoutWindow
Wale Ogunwale [Fri, 23 Feb 2018 02:06:16 +0000 (18:06 -0800)]
updateNonSystemOverlayWindowsVisibilityIfNeeded on relayoutWindow

If PRIVATE_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS changed on
relayoutWindow() then updateNonSystemOverlayWindowsVisibilityIfNeeded

Change-Id: Ifc8b77d70e3c25acf28eab86786ce5929e2ba3f8
Fixes: 73727992
Test: manual steps from bug

6 years agoMerge "autofill: pass keyevent from fillui to app"
Dake Gu [Fri, 23 Feb 2018 01:35:55 +0000 (01:35 +0000)]
Merge "autofill: pass keyevent from fillui to app"

6 years agoRevert "Add "Unlocked device required" parameter to keys"
Brian Young [Thu, 22 Feb 2018 23:36:34 +0000 (23:36 +0000)]
Revert "Add "Unlocked device required" parameter to keys"

This reverts commit efc3f16be7870c84227b79f73f0ad7cab72a260f.

Reason for revert: Regression in creating auth-bound keys

Bug: 73773914

Bug: 67752510

Change-Id: Ic3886ceb3c3c0c4274682ed9f5f2bfbf8fdd71b9

6 years agoDismiss PIP window when PIP is disabled from settings.
Tracy Zhou [Fri, 23 Feb 2018 01:08:53 +0000 (17:08 -0800)]
Dismiss PIP window when PIP is disabled from settings.

The app ops call comes in on a binder thread so we need to post dismissPip() to the main thread.

Bug: 73625696
Test: atest
CtsActivityManagerDeviceTestCases:ActivityManagerPinnedStackTests

Change-Id: I365947934155d0d29ac67ebedc0b35b6d377cb84

6 years agoMerge "Move metadata key from Slice to SliceManager"
Jason Monk [Fri, 23 Feb 2018 01:03:33 +0000 (01:03 +0000)]
Merge "Move metadata key from Slice to SliceManager"

6 years agoEnsure keyguard slice use correct colors
Lucas Dupin [Fri, 23 Feb 2018 01:01:55 +0000 (17:01 -0800)]
Ensure keyguard slice use correct colors

Change-Id: I0406f8092583174e60ee5c89a71047288cbe480a
Fixes: 73538050
Test: atest packages/SystemUI/tests/src/com/android/keyguard/KeyguardSliceViewTest.java

6 years agoRevert "Comment out CustomEditTextPreferenceTest which is failing..."
Justin Klaassen [Fri, 23 Feb 2018 00:36:59 +0000 (00:36 +0000)]
Revert "Comment out CustomEditTextPreferenceTest which is failing..."

This reverts commit 4dce2510f3fe76c2b883de5cca80f9d421cf9370.

Reason for revert: Breakage fixed by ag/3647277.

Change-Id: I827ea4a66b6b083040ae88f57e79bf6de728ad5e

6 years agoRework how pinning works
Jason Monk [Fri, 23 Feb 2018 00:28:12 +0000 (19:28 -0500)]
Rework how pinning works

pin/unpin don't require special permissions, just permissions to the
slice, and they stop when the app dies.

Test: uiservicestests
Change-Id: I1d1b6afc7e5577091e55c9cbb58f56337b470acf

6 years agoMerge "Use accessibility pane API in keyguard"
Phil Weaver [Fri, 23 Feb 2018 00:31:48 +0000 (00:31 +0000)]
Merge "Use accessibility pane API in keyguard"

6 years agoMerge "Disabled presubmit for flakey test"
Selim Cinek [Fri, 23 Feb 2018 00:18:38 +0000 (00:18 +0000)]
Merge "Disabled presubmit for flakey test"

6 years agoMerge "Give shell CONTROL_KEYGUARD permission."
Wale Ogunwale [Fri, 23 Feb 2018 00:15:30 +0000 (00:15 +0000)]
Merge "Give shell CONTROL_KEYGUARD permission."

6 years agoDisabled presubmit for flakey test
Selim Cinek [Fri, 23 Feb 2018 00:13:11 +0000 (16:13 -0800)]
Disabled presubmit for flakey test

Test: runtest systemui
Change-Id: If772052b2c172e62a22958f9996436914d8e8e1b

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 23 Feb 2018 00:13:01 +0000 (00:13 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoReset compat mode settings on settings change.
Felipe Leme [Fri, 23 Feb 2018 00:03:43 +0000 (16:03 -0800)]
Reset compat mode settings on settings change.

Test: manual verification
Test: atest CtsAutoFillServiceTestCases:VirtualContainerActivityCompatModeTest

Bug: 73786629

Change-Id: Id77084fe38e75eaedba828d8737e6e465c015400

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 23:41:24 +0000 (23:41 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoKnobs for connectivity experiments.
Jeff Sharkey [Thu, 22 Feb 2018 23:06:44 +0000 (16:06 -0700)]
Knobs for connectivity experiments.

We keep the sane default values of 50% through a job window for
delaying on congested networks and promoting prefetch jobs, but now
allow experiments to override these values.

There's only ever one of each controller, so just create it tied to
the JobSchedulerService that owns it.  (People that need hooks for
testing can provide a mock JSS, instead of doing extra constructor
overloads.)

Use IndentingPrintWriter for dumping constants.

Test: bit FrameworksServicesTests:com.android.server.job.
Bug: 7235344073019091
Change-Id: Icdb40ee3b0bb22a20ed821888b42b87f33eb49ec

6 years agoMerge "Fixes home button from moving off its origin position after rotation"
TreeHugger Robot [Thu, 22 Feb 2018 23:25:27 +0000 (23:25 +0000)]
Merge "Fixes home button from moving off its origin position after rotation"

6 years agoMerge "Add AudioManager.setHearingAidDeviceConnectionState" am: c3e842fde8 am: 670ecc2279
Andre Eisenbach [Thu, 22 Feb 2018 23:18:27 +0000 (23:18 +0000)]
Merge "Add AudioManager.setHearingAidDeviceConnectionState" am: c3e842fde8 am: 670ecc2279
am: 54f104e84c

Change-Id: I145b732008e979b7c9762e366620f9fd6c15a97f

6 years agoOMS: Make updates to category not reset the overlay's state
Adam Lesinski [Thu, 22 Feb 2018 21:32:53 +0000 (13:32 -0800)]
OMS: Make updates to category not reset the overlay's state

- Also change how default overlays are applied. Apply them if no other
overlay is enabled for the same category as the default overlay.

Bug: 73740686
Test: manual
Test: adb shell rm /data/system/overlays.xml && adb reboot #verify that colors are blue
Test: adb pull /data/system/overlays.xml \
          && <edit overlay to remove categories> \
          && adb push overlays.xml /data/system/overlays.xml \
          && adb reboot # verify that colors are blue

Change-Id: If42afd287703e2e159d0087e477c19409f724124

6 years agoMerge "Add more hidden APIs seen in use to light greylist"
TreeHugger Robot [Thu, 22 Feb 2018 23:12:34 +0000 (23:12 +0000)]
Merge "Add more hidden APIs seen in use to light greylist"

6 years agoMechanical refactoring to improve job dumping.
Jeff Sharkey [Thu, 22 Feb 2018 05:18:45 +0000 (22:18 -0700)]
Mechanical refactoring to improve job dumping.

First, JobStatusFunctor was really Consumer<JobStatus> before we
had the java.util.function APIs, so switch everyone over.  Replace
most usages with lambdas; no additional runtime cost, since existing
code was already creating classes.

Move dump() to accept Predicate<JobStatus> for their filtering
behavior, enabling more future advanced filtering using any
attributes of JobStatus.  Also move dump() to IndentingPrintWriter
to avoid passing around tedious prefix information.  Makes it much
easier to print sane-looking output.

Add IndentingPrintWriter support for initial prefix values.

Test: manual dumpsys output looks sane
Bug: 73019091
Change-Id: I4c2398443b42dfb48135ab900d4331ff6d2bb5c4

6 years agoMerge "Add AudioManager.setHearingAidDeviceConnectionState" am: c3e842fde8
Andre Eisenbach [Thu, 22 Feb 2018 23:02:15 +0000 (23:02 +0000)]
Merge "Add AudioManager.setHearingAidDeviceConnectionState" am: c3e842fde8
am: 670ecc2279

Change-Id: I9a7a7712d750581cec4131489bca7071ad64ceee

6 years agoMerge "Comment out CustomEditTextPreferenceTest which is failing..."
Makoto Onuki [Thu, 22 Feb 2018 22:55:09 +0000 (22:55 +0000)]
Merge "Comment out CustomEditTextPreferenceTest which is failing..."

6 years agoMerge "Improve AM lifecycle event logs"
Andrii Kulian [Thu, 22 Feb 2018 22:54:53 +0000 (22:54 +0000)]
Merge "Improve AM lifecycle event logs"

6 years agoComment out CustomEditTextPreferenceTest which is failing...
Makoto Onuki [Thu, 22 Feb 2018 16:32:05 +0000 (08:32 -0800)]
Comment out CustomEditTextPreferenceTest which is failing...

... due to robo.

Until robo gets fixed.

Bug: 73744580
Test: treehuggger
Change-Id: If182ce10a8f24188443d6ed6e3e3ff8228d101d0

6 years agoMerge "Add AudioManager.setHearingAidDeviceConnectionState"
Andre Eisenbach [Thu, 22 Feb 2018 22:44:11 +0000 (22:44 +0000)]
Merge "Add AudioManager.setHearingAidDeviceConnectionState"
am: c3e842fde8

Change-Id: I22a01bb4170b126c59593f938f95bf382beb3dd6

6 years agoFixed service state CTS test failing
Jack Yu [Thu, 22 Feb 2018 22:24:16 +0000 (14:24 -0800)]
Fixed service state CTS test failing

Added missing member variables in copyFrom().

Bug: 73298491
Test: atest CtsTelephonyTestCases:ServiceStateTest#testServiceState CtsTelephonyTestCases:TelephonyManagerTest#testGetServiceState
Change-Id: I750816a13801a911d68e0a774fd59602c81c5687

6 years agoMerge "Resume when keyguard start going away"
Andrii Kulian [Thu, 22 Feb 2018 22:15:36 +0000 (22:15 +0000)]
Merge "Resume when keyguard start going away"

6 years agoMerge "RTT bugfixes, part 5" am: de3eeac84d am: 69b0d8bc97
Hall Liu [Thu, 22 Feb 2018 22:11:31 +0000 (22:11 +0000)]
Merge "RTT bugfixes, part 5" am: de3eeac84d am: 69b0d8bc97
am: 786012b229  -s ours

Change-Id: Ifb2e1384a935046b3272d05b2707a63b5e75b734

6 years agoMerge "Allow callers to synchronously block for shutdown"
Erik Kline [Thu, 22 Feb 2018 22:05:31 +0000 (22:05 +0000)]
Merge "Allow callers to synchronously block for shutdown"

6 years agoMerge "RTT bugfixes, part 5" am: de3eeac84d
Hall Liu [Thu, 22 Feb 2018 21:58:59 +0000 (21:58 +0000)]
Merge "RTT bugfixes, part 5" am: de3eeac84d
am: 69b0d8bc97

Change-Id: I766c0dab4e6b234f14d46193a84b1b970bb8473a

6 years agoMediaPlayer2: use long type for media time.
Wei Jia [Tue, 20 Feb 2018 23:01:52 +0000 (15:01 -0800)]
MediaPlayer2: use long type for media time.

add getAudioAttributes
add srcId for DRM callbacks
remove setNextMediaPlayer
Test: MediaPlayer2 plays
Bug: 63934228
Change-Id: Ibc890a9cb2a29ab58ae7eed25f41e96e04ccafcc

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 21:45:45 +0000 (21:45 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "RTT bugfixes, part 5"
Hall Liu [Thu, 22 Feb 2018 21:37:09 +0000 (21:37 +0000)]
Merge "RTT bugfixes, part 5"
am: de3eeac84d

Change-Id: I2e8db964b551f7ab1cc7c286b8fedc553f1e1b8f

6 years agoFollow prebuilt/API update
Jason Monk [Thu, 22 Feb 2018 21:32:16 +0000 (16:32 -0500)]
Follow prebuilt/API update

Test: make
Change-Id: Ie93a29118d1a767174c0364764de61558b274ef5

6 years agoMerge "Better javadoc for DevicePolicyManager#getTransferOwnershipBundle."
TreeHugger Robot [Thu, 22 Feb 2018 21:17:02 +0000 (21:17 +0000)]
Merge "Better javadoc for DevicePolicyManager#getTransferOwnershipBundle."

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 21:14:48 +0000 (21:14 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 21:10:28 +0000 (21:10 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 21:06:53 +0000 (21:06 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoImplement brightness slider spec.
Amin Shaikh [Wed, 21 Feb 2018 20:52:36 +0000 (15:52 -0500)]
Implement brightness slider spec.

Bug: 72991368
Test: visual
Change-Id: I5168f0a30d8a325c3c8d84ff26419240db18a634

6 years agoMerge "Add AudioManager.setHearingAidDeviceConnectionState"
Andre Eisenbach [Thu, 22 Feb 2018 20:49:03 +0000 (20:49 +0000)]
Merge "Add AudioManager.setHearingAidDeviceConnectionState"

6 years agoGive shell CONTROL_KEYGUARD permission.
Wale Ogunwale [Thu, 22 Feb 2018 20:36:55 +0000 (12:36 -0800)]
Give shell CONTROL_KEYGUARD permission.

Follow-up to ag/3614843 where we started to enforce the permission in
window manager.

Bug: 67109817
Test: builds
Change-Id: Id5712d2ed4c537da3a443f9c51aa15e3c84d670b

6 years agoBringing back assistant on long press home button (1/2)
Matthew Ng [Wed, 21 Feb 2018 23:38:21 +0000 (15:38 -0800)]
Bringing back assistant on long press home button (1/2)

Triggering assistant should have the home button animations run.
Prevent long press to start quickscrub.

Bug: 70180755
Test: long press home with quick step enabled
Change-Id: I8bb75210b1bd15eeb97a8b2bf9bbe022f1822dfe

6 years agoAdd AudioManager.setHearingAidDeviceConnectionState
Jakub Pawlowski [Wed, 21 Feb 2018 21:28:46 +0000 (13:28 -0800)]
Add AudioManager.setHearingAidDeviceConnectionState

This will be used by Bluetooth to notify audio framework when Hearing
Aid is connected or disconnected.

Bug: 69623109
Test: mm
Change-Id: I5664d8bd20e36601eea815c0d6e55c3b1d49e4ea

6 years agoMerge "Bugreport SAF provider isn't "advanced.""
Jeff Sharkey [Thu, 22 Feb 2018 20:19:25 +0000 (20:19 +0000)]
Merge "Bugreport SAF provider isn't "advanced.""

6 years agoMerge "Add device capabilities."
Jiuyu Sun [Thu, 22 Feb 2018 20:16:39 +0000 (20:16 +0000)]
Merge "Add device capabilities."

6 years agoMerge "Split query permission from update permission"
TreeHugger Robot [Thu, 22 Feb 2018 19:58:38 +0000 (19:58 +0000)]
Merge "Split query permission from update permission"

6 years ago[Magnifier-25] Fix race condition after #dismiss
Mihai Popa [Thu, 22 Feb 2018 19:30:24 +0000 (19:30 +0000)]
[Magnifier-25] Fix race condition after #dismiss

The CL adds synchronization around the InternalPopupWindow instance
used, between the main thread and the thread that handles pixel copy
results. This comes to fix a potential null pointer exception that
might occur after a #dismiss().

Bug: 73765118
Test: atest CtsWidgetTestCases:android.widget.cts.MagnifierTest
Change-Id: I8a8feb02f3ee418597ce3eee50db77b4b67e462e