Commit Graph

315547 Commits

Author SHA1 Message Date
Steven Thomas
a22a5d83c2 Merge "Add vr platform lib" into oc-dev 2017-05-11 17:16:52 +00:00
Phil Weaver
f970743e15 Merge "Removed obsolete a11y support for ClickableSpan" into oc-dev 2017-05-11 17:12:46 +00:00
TreeHugger Robot
0cf6b908a8 Merge "Avoid NPE when getting last shutdown reason." into oc-dev 2017-05-11 15:54:17 +00:00
Albert Chaulk
6c34dd58f6 Merge "Propagate UIDs for all SurfaceControl instances" into oc-dev 2017-05-11 15:19:28 +00:00
Derek Sollenberger
d70695ee34 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
2017-05-11 09:28:02 -04:00
Jason Monk
6d4db456ea Merge "Don't show wifi in status bar in QS DO NOT MERGE" into oc-dev 2017-05-11 13:21:37 +00:00
Julia Reynolds
d82a04664c Merge "Fix notification_alert logging" into oc-dev 2017-05-11 13:03:47 +00:00
Nicolas Geoffray
972b2c236e Remove obsolete DEXOPT_SAFEMODE.
PackageManager side of the change.

bug:37929796
Test: build
Change-Id: Iae830bb4060b448b4b4e54d3e0fe03ebee39d3fa
(cherry picked from commit 56123bacff)
2017-05-11 09:48:04 +00:00
Nicolas Geoffray
a6a73ff55a Merge "Handle safe mode in PackageManager." into oc-dev 2017-05-11 09:43:49 +00:00
TreeHugger Robot
0996c7a70b Merge "Import translations. DO NOT MERGE" into oc-dev 2017-05-11 08:15:14 +00:00
TreeHugger Robot
c3440d30c1 Merge "Remove system properties that gates virtual displays in VR." into oc-dev 2017-05-11 08:07:43 +00:00
TreeHugger Robot
d5e72b250f Merge "Import translations. DO NOT MERGE" into oc-dev 2017-05-11 08:01:54 +00:00
Jaewan Kim
60b48570e2 Merge "Don't ignore remote media sessions when sending media key events" into oc-dev 2017-05-11 07:15:06 +00:00
TreeHugger Robot
899ca73297 Merge "Import translations. DO NOT MERGE" into oc-dev 2017-05-11 06:02:45 +00:00
Bill Yi
5da323c57a Import translations. DO NOT MERGE
Change-Id: If1143ee1e19bd5c141d5d776cd86e936ced2a1a2
Auto-generated-cl: translation import
2017-05-10 22:59:58 -07:00
Santos Cordon
5dc6019bb4 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
2017-05-10 22:58:19 -07:00
Bill Yi
816dcfc5a1 Import translations. DO NOT MERGE
Change-Id: I45ac4cb992313e5eecd6c1af90b8c4181738e4c7
Auto-generated-cl: translation import
2017-05-10 21:38:49 -07:00
TreeHugger Robot
424e328bba Merge "Add uniqueId to Virtual Display and pass through to inputflinger (1/2)" into oc-dev 2017-05-11 03:55:40 +00:00
Bill Yi
eb951434d5 Import translations. DO NOT MERGE
Change-Id: Ia752d5c70fe95b9228ec77d69a8c9b5dd1a0e71f
Auto-generated-cl: translation import
2017-05-10 20:29:50 -07:00
TreeHugger Robot
6ab00addb1 Merge "Speed up structure update before OnFillRequest" into oc-dev 2017-05-11 03:22:22 +00:00
TreeHugger Robot
a9154ab391 Merge "Added isUserNameSet" into oc-dev 2017-05-11 03:19:52 +00:00
TreeHugger Robot
ea60efa8ef Merge "Remove outdated security note from A11yEvent" into oc-dev 2017-05-11 02:27:19 +00:00
TreeHugger Robot
b4a032fd02 Merge "Use buffered DataInputStream vs RandomAccessFile" into oc-dev 2017-05-11 02:24:47 +00:00
Jean-Michel Trivi
8d4f9d8e0a Merge "Audio focus: fix focus loss notification for older SDKs" into oc-dev 2017-05-11 02:19:57 +00:00
TreeHugger Robot
8680e8fc78 Merge "Change Wifi Picker icons to colorControlNormal." into oc-dev 2017-05-11 02:19:05 +00:00
TreeHugger Robot
bcc6cc84bf Merge "Hiding text from obscured text fields." into oc-dev 2017-05-11 02:15:17 +00:00
TreeHugger Robot
214f4cff15 Merge "Fixed that the shelf was animating the icons" into oc-dev 2017-05-11 02:14:56 +00:00
TreeHugger Robot
7ffdc86b95 Merge "Move Phags-pa and Yi fonts to the end of fallback chain" into oc-dev 2017-05-11 02:08:47 +00:00
TreeHugger Robot
bf3423a939 Merge "Add a check to investigate b/37893215." into oc-dev 2017-05-11 01:59:30 +00:00
TreeHugger Robot
69a0f3f020 Merge "Clarify documentation for notification a11y events" into oc-dev 2017-05-11 01:57:08 +00:00
Santos Cordon
b0608636a2 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
2017-05-11 01:52:53 +00:00
TreeHugger Robot
33a030fa03 Merge "Lock out ResolverDrawerLayout dismissals during animations" into oc-dev 2017-05-11 01:48:55 +00:00
TreeHugger Robot
d915aecfaa Merge "Properly position dataset picker UI" into oc-dev 2017-05-11 01:38:15 +00:00
TreeHugger Robot
40b34460ef Merge "AOD: Update wakeup animation" into oc-dev 2017-05-11 01:33:25 +00:00
Michael Wachenschwanz
9254322192 Merge "WTF Logging for catching memory issue in Parcel" into oc-dev 2017-05-11 01:26:11 +00:00
TreeHugger Robot
86339dc8ee Merge "Remove PIP tuner items" into oc-dev 2017-05-11 01:13:48 +00:00
TreeHugger Robot
6fddc2472e Merge "AuthenticationCallback should not be cleared onAuthenticationFailed" into oc-dev 2017-05-11 00:46:36 +00:00
TreeHugger Robot
1eeeba6af6 Merge "Slight adjustments to gradient shown when dragging to dismiss" into oc-dev 2017-05-11 00:39:08 +00:00
Philip P. Moltmann
22567d3415 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
2017-05-10 17:29:04 -07:00
TreeHugger Robot
08d8e034f4 Merge "Fixed autofill dumpsys and improved logging." into oc-dev 2017-05-11 00:18:40 +00:00
Albert Chaulk
e4338f843b 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
2017-05-10 20:13:09 -04:00
Adrian Roos
2af0676b2d Merge "AOD: Anchor clock at a third of the height" into oc-dev 2017-05-11 00:08:39 +00:00
TreeHugger Robot
33bd2c6333 Merge "Fixed a concurrent modification crash" into oc-dev 2017-05-11 00:08:14 +00:00
TreeHugger Robot
b569eedf37 Merge "Adding a new config and Setting for WiFi Wakeup." into oc-dev 2017-05-11 00:05:52 +00:00
Makoto Onuki
7a622784ef Add a check to investigate b/37893215.
Test: Manual
Bug 37893215

Change-Id: I3a06af3828a5f51ecf4a539ef91b9a60575f68ba
2017-05-10 16:57:24 -07:00
Steven Thomas
054f235c61 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
2017-05-10 16:54:20 -07:00
Fyodor Kupolov
98b8d31add 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
2017-05-10 16:46:22 -07:00
Jean-Michel Trivi
087b672797 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
2017-05-10 16:39:12 -07:00
Svet Ganov
374cae1e61 Properly position dataset picker UI
Test: all autofill CTS tests pass

bug:37958210
bug:37986800

Change-Id: Ic2cb3b8c6762a922bdb7c632e451772b7a006739
2017-05-10 23:38:51 +00:00
Adrian Roos
28f90c78b2 AOD: Update wakeup animation
Fixes several issues with the wakeup transition.

Bug: 34716110
Test: Trigger ambient display, press power button
Change-Id: I1fa6e0be13c80a84356a8826ed18e9477bf2aba2
2017-05-10 23:33:33 +00:00