OSDN Git Service

android-x86/frameworks-base.git
7 years agoNot specify return val of View#onSaveInstanceState
Philip P. Moltmann [Thu, 11 May 2017 22:32:15 +0000 (15:32 -0700)]
Not specify return val of View#onSaveInstanceState

.. as the comment was incorrect since a long time.

Bug: 37802299
Test: compiled
Change-Id: I10fe0b1c0f7f4ccaade38c87136a3785f2685798

7 years agoMerge "Add vr platform lib" into oc-dev
Steven Thomas [Thu, 11 May 2017 17:16:45 +0000 (17:16 +0000)]
Merge "Add vr platform lib" into oc-dev

7 years agoMerge "Removed obsolete a11y support for ClickableSpan" into oc-dev
Phil Weaver [Thu, 11 May 2017 17:12:40 +0000 (17:12 +0000)]
Merge "Removed obsolete a11y support for ClickableSpan" into oc-dev

7 years agoMerge "Avoid NPE when getting last shutdown reason." into oc-dev
TreeHugger Robot [Thu, 11 May 2017 15:54:12 +0000 (15:54 +0000)]
Merge "Avoid NPE when getting last shutdown reason." into oc-dev

7 years agoMerge "Propagate UIDs for all SurfaceControl instances" into oc-dev
Albert Chaulk [Thu, 11 May 2017 15:19:21 +0000 (15:19 +0000)]
Merge "Propagate UIDs for all SurfaceControl instances" into oc-dev

7 years agoAdd an O-release targetAPI check for Canvas.setBitmap.
Derek Sollenberger [Fri, 5 May 2017 19:44:04 +0000 (15:44 -0400)]
Add an O-release targetAPI check for Canvas.setBitmap.

For apps targeting releases earlier than O setBitmap will attempt
to preserve the matrix from the previous bitmap.  It does not however
attempt to reconstruct the save/restore stack or the clip.

Test: manual test of messenger app referenced in the bug
Bug: 37589964
Change-Id: I67f0928a3f84a8be41da38ef1868e79bdeb03e46

7 years agoMerge "Don't show wifi in status bar in QS DO NOT MERGE" into oc-dev
Jason Monk [Thu, 11 May 2017 13:21:32 +0000 (13:21 +0000)]
Merge "Don't show wifi in status bar in QS DO NOT MERGE" into oc-dev

7 years agoMerge "Fix notification_alert logging" into oc-dev
Julia Reynolds [Thu, 11 May 2017 13:03:42 +0000 (13:03 +0000)]
Merge "Fix notification_alert logging" into oc-dev

7 years agoRemove obsolete DEXOPT_SAFEMODE.
Nicolas Geoffray [Fri, 5 May 2017 13:30:02 +0000 (14:30 +0100)]
Remove obsolete DEXOPT_SAFEMODE.

PackageManager side of the change.

bug:37929796
Test: build
Change-Id: Iae830bb4060b448b4b4e54d3e0fe03ebee39d3fa
(cherry picked from commit 56123bacff220e6ac77a1179197578d3a62ecdd2)

7 years agoMerge "Handle safe mode in PackageManager." into oc-dev
Nicolas Geoffray [Thu, 11 May 2017 09:43:44 +0000 (09:43 +0000)]
Merge "Handle safe mode in PackageManager." into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 08:15:10 +0000 (08:15 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Remove system properties that gates virtual displays in VR." into oc-dev
TreeHugger Robot [Thu, 11 May 2017 08:07:40 +0000 (08:07 +0000)]
Merge "Remove system properties that gates virtual displays in VR." into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 08:01:49 +0000 (08:01 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Don't ignore remote media sessions when sending media key events" into oc-dev
Jaewan Kim [Thu, 11 May 2017 07:15:00 +0000 (07:15 +0000)]
Merge "Don't ignore remote media sessions when sending media key events" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 06:02:40 +0000 (06:02 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 11 May 2017 05:59:58 +0000 (22:59 -0700)]
Import translations. DO NOT MERGE

Change-Id: If1143ee1e19bd5c141d5d776cd86e936ced2a1a2
Auto-generated-cl: translation import

7 years agoRemove system properties that gates virtual displays in VR.
Santos Cordon [Tue, 9 May 2017 18:36:53 +0000 (11:36 -0700)]
Remove system properties that gates virtual displays in VR.

Bug: 38165337
Test: Manual - Run VR and ensure that secondary display is
listed in 'adb shell dumpsys displays'.

Change-Id: Icf19b7da87bbc89a68f1d77e42c02a93674f7990

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 11 May 2017 04:38:49 +0000 (21:38 -0700)]
Import translations. DO NOT MERGE

Change-Id: I45ac4cb992313e5eecd6c1af90b8c4181738e4c7
Auto-generated-cl: translation import

7 years agoMerge "Add uniqueId to Virtual Display and pass through to inputflinger (1/2)" into...
TreeHugger Robot [Thu, 11 May 2017 03:55:34 +0000 (03:55 +0000)]
Merge "Add uniqueId to Virtual Display and pass through to inputflinger (1/2)" into oc-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 11 May 2017 03:29:50 +0000 (20:29 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ia752d5c70fe95b9228ec77d69a8c9b5dd1a0e71f
Auto-generated-cl: translation import

7 years agoMerge "Speed up structure update before OnFillRequest" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 03:22:17 +0000 (03:22 +0000)]
Merge "Speed up structure update before OnFillRequest" into oc-dev

7 years agoMerge "Added isUserNameSet" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 03:19:49 +0000 (03:19 +0000)]
Merge "Added isUserNameSet" into oc-dev

7 years agoMerge "Remove outdated security note from A11yEvent" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 02:27:16 +0000 (02:27 +0000)]
Merge "Remove outdated security note from A11yEvent" into oc-dev

7 years agoMerge "Use buffered DataInputStream vs RandomAccessFile" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 02:24:44 +0000 (02:24 +0000)]
Merge "Use buffered DataInputStream vs RandomAccessFile" into oc-dev

7 years agoMerge "Audio focus: fix focus loss notification for older SDKs" into oc-dev
Jean-Michel Trivi [Thu, 11 May 2017 02:19:52 +0000 (02:19 +0000)]
Merge "Audio focus: fix focus loss notification for older SDKs" into oc-dev

7 years agoMerge "Change Wifi Picker icons to colorControlNormal." into oc-dev
TreeHugger Robot [Thu, 11 May 2017 02:19:00 +0000 (02:19 +0000)]
Merge "Change Wifi Picker icons to colorControlNormal." into oc-dev

7 years agoMerge "Hiding text from obscured text fields." into oc-dev
TreeHugger Robot [Thu, 11 May 2017 02:15:12 +0000 (02:15 +0000)]
Merge "Hiding text from obscured text fields." into oc-dev

7 years agoMerge "Fixed that the shelf was animating the icons" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 02:14:52 +0000 (02:14 +0000)]
Merge "Fixed that the shelf was animating the icons" into oc-dev

7 years agoMerge "Move Phags-pa and Yi fonts to the end of fallback chain" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 02:08:42 +0000 (02:08 +0000)]
Merge "Move Phags-pa and Yi fonts to the end of fallback chain" into oc-dev

7 years agoMerge "Add a check to investigate b/37893215." into oc-dev
TreeHugger Robot [Thu, 11 May 2017 01:59:25 +0000 (01:59 +0000)]
Merge "Add a check to investigate b/37893215." into oc-dev

7 years agoMerge "Clarify documentation for notification a11y events" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 01:57:04 +0000 (01:57 +0000)]
Merge "Clarify documentation for notification a11y events" into oc-dev

7 years agoAdd uniqueId to Virtual Display and pass through to inputflinger (1/2)
Santos Cordon [Wed, 5 Apr 2017 17:31:15 +0000 (10:31 -0700)]
Add uniqueId to Virtual Display and pass through to inputflinger (1/2)

This CL adds:
1) Adds uniqueId (protected via system/sig permission) to virtual
displays.
2) Add support for N virtual display viewports into inputflinger.
3) Set the virtual display's viewports in inputflinger if it has the
uniqueId value set to non-null. (a) Moving the new viewport from java to
native inputflinger and (b) adding "uniqueId" value to viewports makes
up the great majority of this change.
4) From the inputflinger side, we also read in a new value from the
input device configuration files called 'touch.displayId'.
5) When touch.displayId and the virtual display's uniqueId match,
inputflinger links the two.

Test: Start VR and ensure that the virtual viewport shows up when running
'adb shell dump input".  Run a VR app, and ensure that the virtual input
device is associated with the new virtual viewport.
Test: com.android.server.display.DisplayManagerServiceTest

Bug: 36051620
Change-Id: Ic2117eb8e19f7f3c59687160591f8bc6692c1f12
Merged-In: Ic2117eb8e19f7f3c59687160591f8bc6692c1f12

7 years agoMerge "Lock out ResolverDrawerLayout dismissals during animations" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 01:48:46 +0000 (01:48 +0000)]
Merge "Lock out ResolverDrawerLayout dismissals during animations" into oc-dev

7 years agoMerge "Properly position dataset picker UI" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 01:38:11 +0000 (01:38 +0000)]
Merge "Properly position dataset picker UI" into oc-dev

7 years agoMerge "AOD: Update wakeup animation" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 01:33:21 +0000 (01:33 +0000)]
Merge "AOD: Update wakeup animation" into oc-dev

7 years agoMerge "WTF Logging for catching memory issue in Parcel" into oc-dev
Michael Wachenschwanz [Thu, 11 May 2017 01:26:05 +0000 (01:26 +0000)]
Merge "WTF Logging for catching memory issue in Parcel" into oc-dev

7 years agoMerge "Remove PIP tuner items" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 01:13:44 +0000 (01:13 +0000)]
Merge "Remove PIP tuner items" into oc-dev

7 years agoMerge "AuthenticationCallback should not be cleared onAuthenticationFailed" into...
TreeHugger Robot [Thu, 11 May 2017 00:46:31 +0000 (00:46 +0000)]
Merge "AuthenticationCallback should not be cleared onAuthenticationFailed" into oc-dev

7 years agoMerge "Slight adjustments to gradient shown when dragging to dismiss" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 00:39:06 +0000 (00:39 +0000)]
Merge "Slight adjustments to gradient shown when dragging to dismiss" into oc-dev

7 years agoSpeed up structure update before OnFillRequest
Philip P. Moltmann [Tue, 9 May 2017 19:56:50 +0000 (12:56 -0700)]
Speed up structure update before OnFillRequest

We now
- cache AutofillId -> ViewNode
- look for all AutofillIds at the same time (instead of one by one)

Bug: 37997043
Test: CtsAutoFillServiceTestCases
Change-Id: I094468ad885eed0cc506b4b62ff09c4af48570ff

7 years agoMerge "Fixed autofill dumpsys and improved logging." into oc-dev
TreeHugger Robot [Thu, 11 May 2017 00:18:32 +0000 (00:18 +0000)]
Merge "Fixed autofill dumpsys and improved logging." into oc-dev

7 years agoPropagate UIDs for all SurfaceControl instances
Albert Chaulk [Wed, 19 Apr 2017 19:54:08 +0000 (15:54 -0400)]
Propagate UIDs for all SurfaceControl instances

Previously, a default value was being propagated for surfaces constructed
though paths other than WindowManagerService.createSurfaceControl. This
allows us to handle all surfaces in VR in a better way

Bug: 36589137
Test: Launch chrome (uses SurfaceView)
Change-Id: I8434c356ebe51173cae161ec1405e3d5f9a17723

7 years agoMerge "AOD: Anchor clock at a third of the height" into oc-dev
Adrian Roos [Thu, 11 May 2017 00:08:33 +0000 (00:08 +0000)]
Merge "AOD: Anchor clock at a third of the height" into oc-dev

7 years agoMerge "Fixed a concurrent modification crash" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 00:08:10 +0000 (00:08 +0000)]
Merge "Fixed a concurrent modification crash" into oc-dev

7 years agoMerge "Adding a new config and Setting for WiFi Wakeup." into oc-dev
TreeHugger Robot [Thu, 11 May 2017 00:05:48 +0000 (00:05 +0000)]
Merge "Adding a new config and Setting for WiFi Wakeup." into oc-dev

7 years agoAdd a check to investigate b/37893215.
Makoto Onuki [Wed, 10 May 2017 23:32:39 +0000 (16:32 -0700)]
Add a check to investigate b/37893215.

Test: Manual
Bug 37893215

Change-Id: I3a06af3828a5f51ecf4a539ef91b9a60575f68ba

7 years agoAdd vr platform lib
Steven Thomas [Tue, 9 May 2017 21:48:37 +0000 (14:48 -0700)]
Add vr platform lib

Add the vr platform library, which allows client code to load the dvr
api and access the getVrBoot() method.

Bug: 38134403
Test: Booted a Marlin.

Change-Id: I884a623ec9a297a2973f1c42c3da094c6c155630

7 years agoUse buffered DataInputStream vs RandomAccessFile
Fyodor Kupolov [Wed, 10 May 2017 23:31:21 +0000 (16:31 -0700)]
Use buffered DataInputStream vs RandomAccessFile

Switching to buffered streams saved up to 50% of
BackupManagerService.onUnlockUser time:

Before:
SystemServiceManager: Service com.android.server.backup.BackupManagerService$Lifecycle took 389 ms in onUnlockUser
SystemServiceManager: Service com.android.server.backup.BackupManagerService$Lifecycle took 380 ms in onUnlockUser
After:
SystemServiceManager: Service com.android.server.backup.BackupManagerService$Lifecycle took 178 ms in onUnlockUser
SystemServiceManager: Service com.android.server.backup.BackupManagerService$Lifecycle took 155 ms in onUnlockUser

Test: manual
Bug: 37686433
Change-Id: I41185a88e8377b434fab6a3bf1fd7086758127cd

7 years agoAudio focus: fix focus loss notification for older SDKs
Jean-Michel Trivi [Wed, 10 May 2017 20:05:06 +0000 (13:05 -0700)]
Audio focus: fix focus loss notification for older SDKs

The feature of ducking enforced by the framework is gated by the
  SDK version of the focus owner. The check was performed by
  asking the SDK target level of the players to duck.
  But if there were no players in the STARTED state at
  the time, the check didn't report that the ducking
  shouldn't be performed by the framework, and thus the
  focus loss wasn't reported to the application.
The fix consists in moving the SDK check at the focus owner
  level, so the check can happen regardless of whether there
  are active players or not.
Add more informative logs where piids are logged (uid+pid).
In the FocusRequester class, initialize mFocusLossWasNotified
  to true for the focus gain path, and don't set it to false
  after gaining focus, it is properly updated instead in
  the focus loss code path.

Test: launch Audible, play then pause, play a notification, verify in the logs Audible is notified of the focus loss
Bug: 37987086

Change-Id: I7c44d824b2563e71cf288ae1f256d001662a6a59

7 years agoProperly position dataset picker UI
Svet Ganov [Wed, 10 May 2017 20:42:33 +0000 (13:42 -0700)]
Properly position dataset picker UI

Test: all autofill CTS tests pass

bug:37958210
bug:37986800

Change-Id: Ic2cb3b8c6762a922bdb7c632e451772b7a006739

7 years agoAOD: Update wakeup animation
Adrian Roos [Tue, 9 May 2017 00:24:26 +0000 (17:24 -0700)]
AOD: Update wakeup animation

Fixes several issues with the wakeup transition.

Bug: 34716110
Test: Trigger ambient display, press power button
Change-Id: I1fa6e0be13c80a84356a8826ed18e9477bf2aba2

7 years agoMove Phags-pa and Yi fonts to the end of fallback chain
Roozbeh Pournader [Wed, 10 May 2017 21:52:08 +0000 (14:52 -0700)]
Move Phags-pa and Yi fonts to the end of fallback chain

There are shared East Asian punctuation defined in the Phags-pa and
Yi fonts, which would override the default Chinese form which we
prefer. This CL moves them to the end of the fallback chain, similar
to Ic2cbc79cecf9539ace8a432f373685eeff81e106.

Test: manual
Change-Id: Ieeb4c04ca785e07a5db94006a6da31ad040b7e7a
Bug: 38182099

7 years agoMerge "Reconnect to DAService after binding is dead" into oc-dev
Makoto Onuki [Wed, 10 May 2017 23:20:35 +0000 (23:20 +0000)]
Merge "Reconnect to DAService after binding is dead" into oc-dev

7 years agoRemoved obsolete a11y support for ClickableSpan
Phil Weaver [Wed, 10 May 2017 20:56:30 +0000 (13:56 -0700)]
Removed obsolete a11y support for ClickableSpan

Since we now support ClickableSpan accessibility natively,
we no longer need elaborate workaround for them. The helper
had its own issues, since it meant that some TextViews were
presented completely differently to accessibility than
others (thus the bug that led me here.)

Bug: 37363351
Test: Verified that Select to Speak can now highlight the
footer text in Settings properly. There is already a CTS
test for the ClickableSpan support.

Change-Id: I5dd4fb745c2c994099ca6c3332beff9a58227359

7 years agoAdded isUserNameSet
Fyodor Kupolov [Wed, 10 May 2017 22:58:09 +0000 (15:58 -0700)]
Added isUserNameSet

It can be used to check that the value returned by getUserName() was set
by the user and is not a default value returned by the system.

Test: UserManagerServiceUserInfoTest pass
Bug: 38138381
Change-Id: I0ca37970fda548508190bffd1fa7be95d4a15076

7 years agoWTF Logging for catching memory issue in Parcel
Michael Wachenschwanz [Wed, 10 May 2017 18:43:44 +0000 (11:43 -0700)]
WTF Logging for catching memory issue in Parcel

Catch an exception sent from native code looking for a specific known
bug and report via wtf which code path is hitting the bug. Revert this
change once bug has been resolved.

Bug: 37298089
Test: manual

Change-Id: Ieb98a8a82a9a2cffe4d0cfbbc8333f453b3e36d5
Signed-off-by: Michael Wachenschwanz <mwachens@google.com>
7 years agoMerge "Offload saving bitmaps from binder threads" into oc-dev
TreeHugger Robot [Wed, 10 May 2017 22:24:09 +0000 (22:24 +0000)]
Merge "Offload saving bitmaps from binder threads" into oc-dev

7 years agoMerge "Tweak for b/37809561." into oc-dev
Makoto Onuki [Wed, 10 May 2017 22:20:29 +0000 (22:20 +0000)]
Merge "Tweak for b/37809561." into oc-dev

7 years agoAuthenticationCallback should not be cleared onAuthenticationFailed
Kevin Chyn [Wed, 10 May 2017 21:39:55 +0000 (14:39 -0700)]
AuthenticationCallback should not be cleared onAuthenticationFailed

Fixes: 38197608

Test: 1) enroll a finger
2) enter keyguard, touch sensor with an unenrolled finger
3) touch sensor with enrolled finger
4) phone should enter keyguard
5) do this test from screen off as well

Change-Id: I1c7b060888128b4a6b492fd6a7a8ebc85d2b3353

7 years agoSlight adjustments to gradient shown when dragging to dismiss
Mady Mellor [Tue, 9 May 2017 20:20:56 +0000 (13:20 -0700)]
Slight adjustments to gradient shown when dragging to dismiss

- Adjusted the height
- Gave the asset a 90% alpha and set it as the background programmatically

Test: manual, have a PIP drag it around, note the gradient appearance
Change-Id: I7bc3262f6813f737da62201cdce6a14046f3e754

7 years agoFix notification_alert logging
Julia Reynolds [Mon, 8 May 2017 19:41:45 +0000 (15:41 -0400)]
Fix notification_alert logging

Bug: 38119611
Test: manual
Change-Id: Idb354eb9311e2190f9a910b68ff390a0f2512e2d

7 years agoFixed a concurrent modification crash
Selim Cinek [Fri, 5 May 2017 21:45:11 +0000 (14:45 -0700)]
Fixed a concurrent modification crash

Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/settings/CurrentUserTrackerTest.java
Change-Id: I23261843b7366d3a66a795a41c61b7661f7ca3a6
Fixes: 38006784

7 years agoMerge "Notify ImsService Status Correctly" into oc-dev
Brad Ebinger [Wed, 10 May 2017 20:42:34 +0000 (20:42 +0000)]
Merge "Notify ImsService Status Correctly" into oc-dev

7 years agoAvoid NPE when getting last shutdown reason.
Michael Wright [Wed, 10 May 2017 20:35:13 +0000 (21:35 +0100)]
Avoid NPE when getting last shutdown reason.

This can be null if there is a file but it's totally empty, and the
switch statement will throw an NPE when switching on a null string
(thanks Java!)

Bug: 38195795
Test: none
Change-Id: I86901e001b088a4a9b14f15c82b763e12d11875f

7 years agoMerge "support horizontal scroll and zoon for webview" into oc-dev
Chen Xu [Wed, 10 May 2017 20:31:50 +0000 (20:31 +0000)]
Merge "support horizontal scroll and zoon for webview" into oc-dev

7 years agoMerge "Fix npe due to strict mode in Bitmap.sameAs" into oc-dev
Sergey Vasilinets [Wed, 10 May 2017 20:28:21 +0000 (20:28 +0000)]
Merge "Fix npe due to strict mode in Bitmap.sameAs" into oc-dev

7 years agoChange Wifi Picker icons to colorControlNormal.
Sundeep Ghuman [Mon, 8 May 2017 21:27:06 +0000 (14:27 -0700)]
Change Wifi Picker icons to colorControlNormal.

Change-Id: I63e7e3399931790f85b62857983932b32f2e1831
Bugs: b/38001656
Test: Visual inspection of color change (open wifi settings).

7 years agoRemove PIP tuner items
Mady Mellor [Wed, 10 May 2017 19:55:06 +0000 (12:55 -0700)]
Remove PIP tuner items

Test: Check tuner for items, also try moving PIP around note it doesn't
      minimize, also try long drag to dismiss, note it doesn't dismiss
Bug: 37476193

Change-Id: I1ac1abd9c75d40bd84f59dab8aba5cdb98cd59bb

7 years agoFixed autofill dumpsys and improved logging.
Felipe Leme [Tue, 9 May 2017 00:23:52 +0000 (17:23 -0700)]
Fixed autofill dumpsys and improved logging.

Fixes: 38196286
Bug: 37997043

Test: adb shell dumpsys autofill -a
Test: CtsAutoFillServiceTestCases pass

Change-Id: Ifaae7b5c0894ecf0d16fff8a3c96e4746fe2361b

7 years agoReconnect to DAService after binding is dead
Makoto Onuki [Mon, 1 May 2017 17:05:28 +0000 (10:05 -0700)]
Reconnect to DAService after binding is dead

- When the DO/PO process crashes twice with a short interval, AM gives up
and the binding will be "died".  Once binding is in this state it'll never
be re-connected.

(Still, DO/PO can disable and re-enable their DAS to force DPMS to bind again
though.)

- Detect this and re-connect after one hour.

- Back-off time will be exponentially increased and never reset until DPMS
explicitly re-connects, which happens when:
-- the device rebooted,
-- the user stopped and re-started, or
-- the DAS is disabled and re-enabled.

Test: adb shell am instrument -e class com.android.server.am.PersistentConnectionTest -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.devicepolicy.DevicePolicyConstantsTest -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.devicepolicy.DevicePolicyManagerTest -w com.android.frameworks.servicestests
Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l VERBOSE -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.DeviceAdminServiceDeviceOwnerTest
Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l VERBOSE -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.DeviceAdminServiceProfileOwnerTest

Bug 37711907

Change-Id: Ie0b227a94e6ce85d72a969a4dea1020baf734e2f

7 years agoAOD: Anchor clock at a third of the height
Adrian Roos [Fri, 28 Apr 2017 16:23:19 +0000 (09:23 -0700)]
AOD: Anchor clock at a third of the height

Change-Id: Ie9074be76f23f9c353e38b515fd5a3cd9702696d
Fixes: 37646086
Test: Trigger AOD, observe that clock does not shift in response to notifications.

7 years agoMerge "Fix QS footer on small screens" into oc-dev
TreeHugger Robot [Wed, 10 May 2017 18:39:10 +0000 (18:39 +0000)]
Merge "Fix QS footer on small screens" into oc-dev

7 years agoMerge "Fix VR component enforcement for "2D in 3D" apps." into oc-dev
Ruben Brunk [Wed, 10 May 2017 18:19:00 +0000 (18:19 +0000)]
Merge "Fix VR component enforcement for "2D in 3D" apps." into oc-dev

7 years agoMerge "AOD: Notification groups on Ambient Display" into oc-dev
Adrian Roos [Wed, 10 May 2017 18:17:36 +0000 (18:17 +0000)]
Merge "AOD: Notification groups on Ambient Display" into oc-dev

7 years agoMerge "Fix battery icon tint in QS during battery saver" into oc-dev
Jason Monk [Wed, 10 May 2017 18:03:13 +0000 (18:03 +0000)]
Merge "Fix battery icon tint in QS during battery saver" into oc-dev

7 years agoMerge "Fix Toast exception in NotificationManagerService" into oc-dev
TreeHugger Robot [Wed, 10 May 2017 17:41:12 +0000 (17:41 +0000)]
Merge "Fix Toast exception in NotificationManagerService" into oc-dev

7 years agoMerge "Update input method menu to use proper context." into oc-dev
Andrew Sapperstein [Wed, 10 May 2017 17:35:44 +0000 (17:35 +0000)]
Merge "Update input method menu to use proper context." into oc-dev

7 years agoDon't show wifi in status bar in QS DO NOT MERGE
Jason Monk [Wed, 10 May 2017 14:57:27 +0000 (10:57 -0400)]
Don't show wifi in status bar in QS DO NOT MERGE

This is a partial revert of the revert of
d1ba5fbb54a02fad0c68f71183078527bfa9bd49

Test: manual
Change-Id: If5675620026c9e90855525a20a8fd92987acbf80
Fixes: 16544554

7 years agoMerge "Revert "Fixed placemente of Autofill UI for virtual views."" into oc-dev
TreeHugger Robot [Wed, 10 May 2017 17:21:29 +0000 (17:21 +0000)]
Merge "Revert "Fixed placemente of Autofill UI for virtual views."" into oc-dev

7 years agoMerge "Label the close image button" into oc-dev
TreeHugger Robot [Wed, 10 May 2017 17:10:31 +0000 (17:10 +0000)]
Merge "Label the close image button" into oc-dev

7 years agoMerge "If ENSURE_VERIFY_APPS is enforced, reject installation by default." into oc-dev
TreeHugger Robot [Wed, 10 May 2017 16:44:36 +0000 (16:44 +0000)]
Merge "If ENSURE_VERIFY_APPS is enforced, reject installation by default." into oc-dev

7 years agoNotify ImsService Status Correctly
Brad Ebinger [Sat, 6 May 2017 00:43:41 +0000 (17:43 -0700)]
Notify ImsService Status Correctly

Modifies ImsService to allow multiple status callbacks in
for one ImsFeature. This better handles one ImsFeature
for normal/emergency calling.

Bug: 38001858
Test: Unit Testing
Merged-In: I70ae6f5349aef75aa86d54fe37a3c32459ea3afa
Change-Id: I70ae6f5349aef75aa86d54fe37a3c32459ea3afa

7 years agoMerge "Use application context getting secondary displays." into oc-dev
Bryce Lee [Wed, 10 May 2017 16:27:04 +0000 (16:27 +0000)]
Merge "Use application context getting secondary displays." into oc-dev

7 years agoMerge "Disable parts of tuner from user builds" into oc-dev
TreeHugger Robot [Wed, 10 May 2017 16:19:23 +0000 (16:19 +0000)]
Merge "Disable parts of tuner from user builds" into oc-dev

7 years agoMerge "Update QS mobile data unavailable asset" into oc-dev
TreeHugger Robot [Wed, 10 May 2017 16:16:17 +0000 (16:16 +0000)]
Merge "Update QS mobile data unavailable asset" into oc-dev

7 years agoMerge "Fix brightness dialog background to be light" into oc-dev
TreeHugger Robot [Wed, 10 May 2017 16:09:00 +0000 (16:09 +0000)]
Merge "Fix brightness dialog background to be light" into oc-dev

7 years agoMerge "Create a new NETWORK_SETTINGS permission" into oc-dev
Rebecca Silberstein [Wed, 10 May 2017 15:43:39 +0000 (15:43 +0000)]
Merge "Create a new NETWORK_SETTINGS permission" into oc-dev

7 years agoMerge changes from topic 'mediaplayer_gc' into oc-dev
Jean-Michel Trivi [Wed, 10 May 2017 15:30:58 +0000 (15:30 +0000)]
Merge changes from topic 'mediaplayer_gc' into oc-dev

* changes:
  IAppOpsCallback has weak reference to PlayerBase
  IPlayer has weak reference to PlayerBase

7 years agoFix battery icon tint in QS during battery saver
Jason Monk [Wed, 10 May 2017 14:39:16 +0000 (10:39 -0400)]
Fix battery icon tint in QS during battery saver

Test: visual
Change-Id: Id844604bfe0de141563781678980da774cc87ebc
Fixes: 37433416

7 years agoMerge "OtaDexoptService: Add missing return" into oc-dev
TreeHugger Robot [Wed, 10 May 2017 15:18:11 +0000 (15:18 +0000)]
Merge "OtaDexoptService: Add missing return" into oc-dev

7 years agoRevert "Fixed placemente of Autofill UI for virtual views."
Svet Ganov [Wed, 10 May 2017 15:11:33 +0000 (08:11 -0700)]
Revert "Fixed placemente of Autofill UI for virtual views."

This reverts commit 4745fb6b29322819fdcd21647253bfed8e508137.

Change-Id: I07c108dc53d13ff6fdd16f8f486b35d8ca9a7c58

7 years agoLabel the close image button
Svet Ganov [Wed, 10 May 2017 02:10:10 +0000 (19:10 -0700)]
Label the close image button

Test: manual

bug:38182393

Change-Id: I3a1e2e18c651b02b16c8e370b6be9ec2ed5e41e5

7 years agoMerge "Start building SystemApi docs again; exact output." into oc-dev
Jeff Sharkey [Wed, 10 May 2017 15:05:51 +0000 (15:05 +0000)]
Merge "Start building SystemApi docs again; exact output." into oc-dev

7 years agoMerge "Allow ogg files to be selected as ringtones" into oc-dev
Christine Franks [Wed, 10 May 2017 15:03:23 +0000 (15:03 +0000)]
Merge "Allow ogg files to be selected as ringtones" into oc-dev

7 years agoMerge "Rename the legacy notification channel" into oc-dev
Julia Reynolds [Wed, 10 May 2017 14:56:21 +0000 (14:56 +0000)]
Merge "Rename the legacy notification channel" into oc-dev

7 years agoLock out ResolverDrawerLayout dismissals during animations
Adam Powell [Wed, 10 May 2017 14:48:30 +0000 (07:48 -0700)]
Lock out ResolverDrawerLayout dismissals during animations

Due to views being offset during the ChooserActivity animating in
direct share targets, it was possible to touch down on the sheet
attempting to tap, but have it be interpreted as a fling downward as
the relative touch position within the parent was moving. Lock the
dismiss gesture during animations to prevent this.

Bug: 36032762
Test: manual
Change-Id: I18b6f03148cbf402efc23e873262927e412ea7b7

7 years agoMerge "Implement CACert queries in SecurityController" into oc-dev
Philipp Weiß [Wed, 10 May 2017 14:46:43 +0000 (14:46 +0000)]
Merge "Implement CACert queries in SecurityController" into oc-dev

7 years agoMerge "Prevent non-fullscreen activities from influencing orientation" into oc-dev
Bryce Lee [Wed, 10 May 2017 14:45:34 +0000 (14:45 +0000)]
Merge "Prevent non-fullscreen activities from influencing orientation" into oc-dev

7 years agoMerge "Enable notifications during an ongoing call" into oc-dev
Daniel Sandler [Wed, 10 May 2017 14:43:00 +0000 (14:43 +0000)]
Merge "Enable notifications during an ongoing call" into oc-dev

7 years agoDisable parts of tuner from user builds
Jason Monk [Tue, 9 May 2017 18:19:57 +0000 (14:19 -0400)]
Disable parts of tuner from user builds

They aren't quite there yet.

Test: manual
Change-Id: I5532fe4121ab85d3baed7569c66906b5219e33e9
Fixes: 37513325