OSDN Git Service
Selim Cinek [Wed, 10 May 2017 23:33:25 +0000 (16:33 -0700)]
Fixing the colorization of legacy media notifications
Previously the colorization wouldn't work if the notification
was not targeting N and above, since for those the
remoteviews would be built into the notification and we couldn't
colorize it.
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/MediaNotificationProcessorTest.java
Fixes:
38147364
Fixes:
37743600
Change-Id: Iabad02a4515c42676c0660293e58cf62d5d8ff88
Julia Reynolds [Thu, 11 May 2017 20:55:23 +0000 (20:55 +0000)]
Merge "Lock relevant fields on channel update" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 20:38:23 +0000 (20:38 +0000)]
Merge "Detect isVisibleToUser post layout" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 20:30:55 +0000 (20:30 +0000)]
Merge "Ensure remote calls to a fill service timeout." into oc-dev
TreeHugger Robot [Thu, 11 May 2017 20:25:48 +0000 (20:25 +0000)]
Merge "Relax the sharedpreference check to look at StorageManager.isUserKeyUnlocked" into oc-dev
Bryce Lee [Thu, 11 May 2017 20:06:20 +0000 (20:06 +0000)]
Merge "Allow for SDK 26 Activities to specify orientation when not fullscreen." into oc-dev
Amith Yamasani [Thu, 11 May 2017 19:17:07 +0000 (19:17 +0000)]
Merge "Fix a security exception when unbinding services" into oc-dev
Andrii Kulian [Thu, 11 May 2017 19:11:53 +0000 (19:11 +0000)]
Merge "Organize multi-window enabling" into oc-dev
Adam Lesinski [Thu, 11 May 2017 18:39:00 +0000 (18:39 +0000)]
Merge "AAPT2: Add option to disable PNG crunching" into oc-dev
Adam Lesinski [Thu, 11 May 2017 18:36:38 +0000 (18:36 +0000)]
Merge "AAPT: Allow including dependencies in dump command" into oc-dev
Dianne Hackborn [Thu, 11 May 2017 18:28:31 +0000 (18:28 +0000)]
Merge "Fix issue #
37360626: Apps can schedule alarms (and other things) with temp whitelist" into oc-dev
Amith Yamasani [Thu, 11 May 2017 18:13:52 +0000 (11:13 -0700)]
Fix a security exception when unbinding services
Clear calling identity before calling oom adjust.
Bug:
38183641
Test: manual
Change-Id: Ia3cc7bb83a94d1bb280a43912a250bddc9ef2c11
TreeHugger Robot [Thu, 11 May 2017 17:49:46 +0000 (17:49 +0000)]
Merge "Fixes divider position after minimizing and unminimizing with ime open" into oc-dev
Julia Reynolds [Mon, 8 May 2017 16:55:24 +0000 (12:55 -0400)]
Lock relevant fields on channel update
This is safe for O as all updates come from a trusted
source.
Change-Id: Iab8ec1e68f8f9f9e345ebf4d5e44718191cc49e6
Fixes:
37986254
Test: runtest systemui-notification
Steven Thomas [Thu, 11 May 2017 17:16:45 +0000 (17:16 +0000)]
Merge "Add vr platform lib" 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
TreeHugger Robot [Thu, 11 May 2017 15:54:12 +0000 (15:54 +0000)]
Merge "Avoid NPE when getting last shutdown reason." into oc-dev
Bryce Lee [Thu, 11 May 2017 14:59:41 +0000 (07:59 -0700)]
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
Albert Chaulk [Thu, 11 May 2017 15:19:21 +0000 (15:19 +0000)]
Merge "Propagate UIDs for all SurfaceControl instances" into oc-dev
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
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
Julia Reynolds [Thu, 11 May 2017 13:03:42 +0000 (13:03 +0000)]
Merge "Fix notification_alert logging" into oc-dev
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)
Nicolas Geoffray [Thu, 11 May 2017 09:43:44 +0000 (09:43 +0000)]
Merge "Handle safe mode in PackageManager." 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
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
TreeHugger Robot [Thu, 11 May 2017 08:01:49 +0000 (08:01 +0000)]
Merge "Import translations. DO NOT MERGE" 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
TreeHugger Robot [Thu, 11 May 2017 06:02:40 +0000 (06:02 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
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
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
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
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
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
TreeHugger Robot [Thu, 11 May 2017 03:22:17 +0000 (03:22 +0000)]
Merge "Speed up structure update before OnFillRequest" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 03:19:49 +0000 (03:19 +0000)]
Merge "Added isUserNameSet" into oc-dev
Svet Ganov [Thu, 11 May 2017 03:06:04 +0000 (20:06 -0700)]
Detect isVisibleToUser post layout
Test: MiltipleFragmentsLogin test no longer fails.
All auto fill CTS tests pass.
bug:
38173625
Change-Id: I6e36229bc9517c7339c77cbc5f236e8399ef4283
TreeHugger Robot [Thu, 11 May 2017 02:27:16 +0000 (02:27 +0000)]
Merge "Remove outdated security note from A11yEvent" 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
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
TreeHugger Robot [Thu, 11 May 2017 02:19:00 +0000 (02:19 +0000)]
Merge "Change Wifi Picker icons to colorControlNormal." 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
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
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
TreeHugger Robot [Thu, 11 May 2017 01:59:25 +0000 (01:59 +0000)]
Merge "Add a check to investigate b/
37893215." 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
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
TreeHugger Robot [Thu, 11 May 2017 01:48:46 +0000 (01:48 +0000)]
Merge "Lock out ResolverDrawerLayout dismissals during animations" 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
TreeHugger Robot [Thu, 11 May 2017 01:33:21 +0000 (01:33 +0000)]
Merge "AOD: Update wakeup animation" 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
TreeHugger Robot [Thu, 11 May 2017 01:13:44 +0000 (01:13 +0000)]
Merge "Remove PIP tuner items" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 00:46:31 +0000 (00:46 +0000)]
Merge "AuthenticationCallback should not be cleared onAuthenticationFailed" 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
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
Dianne Hackborn [Sat, 6 May 2017 00:53:53 +0000 (17:53 -0700)]
Fix issue #
37360626: Apps can schedule alarms (and other things) with temp whitelist
There is now an IBinder "token" that must be specified when setting
the whitelist duration for an Intent. To have the whitelist supplied,
the caller to send a PendingIntent must pass in the same token. The
PendingIntent and IntentSender classes now internally maintain this token
to pass in when their send() is called.
The big complexity for making this work is we now need to associate this
whitelist token correctly with the actual PendingIntent objects that
applications and other code is getting. To do this, we propagate the
token in the Notification object, and have a new API on Parcel that allows
us to make it available to PendingIntent when it is unmarshalled. And
this allows to deal with PendingIntents appearing in nested bundles, as
we can propagate that information from the original Parcel to the new
Parcel that Bundle keeps to delay unmarshalling.
Test: manual
Change-Id: Idda00490ccfe2be37e4ab21354b9ab7528a52750
TreeHugger Robot [Thu, 11 May 2017 00:18:32 +0000 (00:18 +0000)]
Merge "Fixed autofill dumpsys and improved logging." into oc-dev
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
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
TreeHugger Robot [Thu, 11 May 2017 00:08:10 +0000 (00:08 +0000)]
Merge "Fixed a concurrent modification crash" 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
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
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
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
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
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
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
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
Makoto Onuki [Wed, 10 May 2017 23:20:35 +0000 (23:20 +0000)]
Merge "Reconnect to DAService after binding is dead" into oc-dev
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
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
Adam Lesinski [Wed, 10 May 2017 22:42:22 +0000 (15:42 -0700)]
AAPT: Allow including dependencies in dump command
Feature splits depend on their base. The dump badging command
does resource resolution, and needs to be able to find resources
located in the base APK of a feature split.
Bug:
38038608
Test: manual
Change-Id: I8c22f0083c46a853a3a56a4049715409ac2723fe
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>
TreeHugger Robot [Wed, 10 May 2017 22:24:09 +0000 (22:24 +0000)]
Merge "Offload saving bitmaps from binder threads" into oc-dev
Makoto Onuki [Wed, 10 May 2017 22:20:29 +0000 (22:20 +0000)]
Merge "Tweak for b/
37809561." into oc-dev
Adam Lesinski [Wed, 10 May 2017 21:56:36 +0000 (14:56 -0700)]
AAPT2: Add option to disable PNG crunching
When compiling, a developer may want to disable PNG crunching
for a specific set of PNGs.
Bug:
37729284
Test: manual
Change-Id: I134f208f8bb212df07a4eef65b467985a6443375
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
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
Julia Reynolds [Mon, 8 May 2017 19:41:45 +0000 (15:41 -0400)]
Fix notification_alert logging
Bug:
38119611
Test: manual
Change-Id: Idb354eb9311e2190f9a910b68ff390a0f2512e2d
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
Brad Ebinger [Wed, 10 May 2017 20:42:34 +0000 (20:42 +0000)]
Merge "Notify ImsService Status Correctly" into oc-dev
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
Chen Xu [Wed, 10 May 2017 20:31:50 +0000 (20:31 +0000)]
Merge "support horizontal scroll and zoon for webview" 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
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).
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
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
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
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.
TreeHugger Robot [Wed, 10 May 2017 18:39:10 +0000 (18:39 +0000)]
Merge "Fix QS footer on small screens" 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
Adrian Roos [Wed, 10 May 2017 18:17:36 +0000 (18:17 +0000)]
Merge "AOD: Notification groups on Ambient Display" 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
TreeHugger Robot [Wed, 10 May 2017 17:41:12 +0000 (17:41 +0000)]
Merge "Fix Toast exception in NotificationManagerService" 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
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
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
TreeHugger Robot [Wed, 10 May 2017 17:10:31 +0000 (17:10 +0000)]
Merge "Label the close image button" 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
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