Jerry Zhang
daa9c19dae
Revert "Upgrade logging for UsbDeviceManager to narrow down bugs."
...
This reverts commit c889b4f4eb .
Merged-In: I74306bacad2a61471a9b8c9fd881229b22b6975e
Change-Id: I74306bacad2a61471a9b8c9fd881229b22b6975e
2017-05-22 10:57:08 -07:00
Jerry Zhang
ad962a923c
Only force reset when adb is not enabled (i.e. mtp is)
...
Some users depended on adbd continuing to run after disconnect
in order to use scripts with nohup. This change allows this
use case to keep working since only mtp has to be force
set.
Bug: 38227228
Test: adb shell "nohup sh /sdcard/script" where script contains
"sleep 5; touch /sdcard/done" and verified file still appears even if
disconnected during sleep.
Test: am force-stop com.android.providers.media, still connects
Change-Id: I25ae2b922fa4d06109ac8cf5e43e1c47a33c46a6
2017-05-11 13:50:28 -07:00
TreeHugger Robot
a7af385208
Merge "Detect isVisibleToUser post layout" into oc-dev
2017-05-11 20:38:28 +00:00
TreeHugger Robot
208711a1e4
Merge "Ensure remote calls to a fill service timeout." into oc-dev
2017-05-11 20:31:00 +00:00
TreeHugger Robot
e35e223a81
Merge "Relax the sharedpreference check to look at StorageManager.isUserKeyUnlocked" into oc-dev
2017-05-11 20:25:52 +00:00
Bryce Lee
e53243cb92
Merge "Allow for SDK 26 Activities to specify orientation when not fullscreen." into oc-dev
2017-05-11 20:06:24 +00:00
Amith Yamasani
33532e0208
Merge "Fix a security exception when unbinding services" into oc-dev
2017-05-11 19:17:13 +00:00
Andrii Kulian
cad3c3251c
Merge "Organize multi-window enabling" into oc-dev
2017-05-11 19:12:00 +00:00
Adam Lesinski
fb194bb81c
Merge "AAPT2: Add option to disable PNG crunching" into oc-dev
2017-05-11 18:39:05 +00:00
Adam Lesinski
33644ff3f9
Merge "AAPT: Allow including dependencies in dump command" into oc-dev
2017-05-11 18:36:42 +00:00
Dianne Hackborn
c3b938ca5e
Merge "Fix issue #37360626 : Apps can schedule alarms (and other things) with temp whitelist" into oc-dev
2017-05-11 18:28:46 +00:00
Amith Yamasani
b2926b1ddb
Fix a security exception when unbinding services
...
Clear calling identity before calling oom adjust.
Bug: 38183641
Test: manual
Change-Id: Ia3cc7bb83a94d1bb280a43912a250bddc9ef2c11
2017-05-11 11:13:52 -07:00
TreeHugger Robot
81a57133e8
Merge "Fixes divider position after minimizing and unminimizing with ime open" into oc-dev
2017-05-11 17:49:51 +00:00
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
Bryce Lee
d1ac18c7c9
Allow for SDK 26 Activities to specify orientation when not fullscreen.
...
Change-Id: I9137a7ba7593dcd6031e1fcbcd6dcc0a287d707b
Fixes: 38221413
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsServicesHostTestCases android.server.cts.ActivityManagerAppConfigurationTests#testNonfullscreenAppOrientationRequests
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsServicesHostTestCases android.server.cts.ActivityManagerAppConfigurationTests#testLegacyNonFullscreenActivityPermitted
2017-05-11 08:23:54 -07: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
Svet Ganov
68f583879f
Detect isVisibleToUser post layout
...
Test: MiltipleFragmentsLogin test no longer fails.
All auto fill CTS tests pass.
bug:38173625
Change-Id: I6e36229bc9517c7339c77cbc5f236e8399ef4283
2017-05-10 20:11:45 -07: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