Commit Graph

312557 Commits

Author SHA1 Message Date
Adrian Roos
67cca7442b AOD: Prolong AOD2 after interaction, turn off AOD when prox covered
Turns off AOD 1 and 2 when the proximity sensor is covered.
Also extends the AOD2 duration when the screen is touched or
the lift gesture is triggered.

Also fixes some issues with the fingerprint unlock transition
from AOD where the doze state for the NotificationPanelView
was cleared too early.

Also hides the wallpaper while we're dozing.

Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/doze/DozeMachineTest.java
Fixes: 36893539
Fixes: 36893538
Fixes: 36033906
Fixes: 37327153
Change-Id: I3fccae1515a0daf2ff99589ed78ec947687e6262
2017-04-14 22:59:26 +00:00
Todd Kennedy
1aade4e4a1 Merge "look for old intent values" into oc-dev 2017-04-05 19:32:27 +00:00
TreeHugger Robot
c85aa306c1 Merge "Add api to retrieve call creation time." into oc-dev 2017-04-05 18:29:22 +00:00
Bryce Lee
081d2ccd52 Merge "Do not try to restore a task id if it does not exist." into oc-dev 2017-04-05 18:01:57 +00:00
Bryce Lee
8592407581 Merge "Fix ActivityRecordTests." into oc-dev 2017-04-05 18:00:33 +00:00
Adrian Roos
bb790ca951 Merge changes I70f79400,I2f8cab37 into oc-dev
* changes:
  AOD: Adjust header to spec
  AOD: Only show actually pulsing entries
2017-04-05 17:47:33 +00:00
TreeHugger Robot
ff16d749dd Merge "support notification channel for defaultcarrier app" into oc-dev 2017-04-05 17:46:23 +00:00
Tony Wickham
8fdf051346 Merge "Add AppWidgetManager#getInstalledProvidersForPackage()" into oc-dev 2017-04-05 17:37:15 +00:00
TreeHugger Robot
c01dd791c3 Merge "Fix monkey crash" into oc-dev 2017-04-05 15:55:42 +00:00
Tyler Gunn
3251a5571d Add api to retrieve call creation time.
Test: CTS
Bug: 36124432
Merged-In: Ic8288dec73adda7870377f189f560acef0a575f6
Change-Id: Ic8288dec73adda7870377f189f560acef0a575f6
2017-04-05 08:47:45 -07:00
Bryce Lee
3115bdf15a Fix ActivityRecordTests.
Tests are not guaranteed to run on the same thread as setup methods.
Therefore, we must ensure any loopers used are already created by the
time the test runs. We do this now by creating a HandlerThread and
referencing its Looper later. Loopers are initialized per
HandlerThread, which will allow us to both isolate its usage and
guarantee the Looper initialization by test time.

Change-Id: If15494783959e5c399375033253cef69b921ff84
Fixes: 36916522
Test: bit FrameworksServicesTests:com.android.server.am.ActivityRecordTests
2017-04-05 08:39:40 -07:00
TreeHugger Robot
1e943b3ef0 Merge "Make sure to remove child views when recreating notification menu row" into oc-dev 2017-04-05 15:20:50 +00:00
TreeHugger Robot
18cbccbfb0 Merge "Inline Controls hide Settings button when no appropriate link." into oc-dev 2017-04-05 15:18:39 +00:00
TreeHugger Robot
2075b09c62 Merge "Corrected alert window text based on UX feedback." into oc-dev 2017-04-05 15:18:11 +00:00
Todd Kennedy
2952cbeb8e look for old intent values
the instant app installer/resolver/setting components haven't updated
to the new values yet. Need to continue looking for the previous intent
values.

Test: boot and see ephemeral enabled
Change-Id: Id88191a4878a138fa90bbd9816805ff76665ada9
2017-04-05 07:51:25 -07:00
Alan Viverette
7458ea3827 Merge "Automatic casts for more findViewById implementations" into oc-dev 2017-04-05 13:54:51 +00:00
Wale Ogunwale
f858dba31d Corrected alert window text based on UX feedback.
Fixes: 36813743
Test: Text change only.
Change-Id: I7431ca568474f8fed242a94d68e7a5ea6b289b8c
2017-04-05 06:10:07 -07:00
TreeHugger Robot
8d41ad08c0 Merge "Updating javadoc string for DevicePolicyManager.EXTRA_PROVISIONING_SUPPORT_URL to indicate that only HTTPS urls are supported." into oc-dev 2017-04-05 11:25:31 +00:00
Neil Fuller
0a49354820 Merge "Update to latest tzdata / switch back to zones.tab" into oc-dev 2017-04-05 10:33:50 +00:00
TreeHugger Robot
b4e3b344fa Merge "Pass weight/italic pair instead of style." into oc-dev 2017-04-05 10:04:52 +00:00
Felipe Leme
24bac61498 Merge "Temporarily hardcoded dimensions of autofill authentication UI." into oc-dev 2017-04-05 04:29:24 +00:00
Wale Ogunwale
ef3874ba91 Merge "Disable presubmit for ActivityRecordTests" into oc-dev 2017-04-05 03:34:07 +00:00
Wale Ogunwale
4cb9b96d59 Disable presubmit for ActivityRecordTests
Failing in CI

Test: ActivityRecordTests
Bug: 36916522
Change-Id: Id5571b722cc5c14f2897fcc65d52d35bf4a78105
2017-04-04 20:30:18 -07:00
TreeHugger Robot
0704a9e56a Merge "Track pending job latency" into oc-dev 2017-04-05 02:45:34 +00:00
TreeHugger Robot
044eeecc1d Merge "TIF: protect PARENTAL_CONTROLS_ENABLED_CHANGED broadcast" into oc-dev 2017-04-05 02:20:25 +00:00
TreeHugger Robot
045c71f1be Merge "Adds a config for default autofill service." into oc-dev 2017-04-05 01:52:55 +00:00
TreeHugger Robot
a6c7f413f8 Merge "Audio focus: duck new players during the ducked phase" into oc-dev 2017-04-05 01:40:17 +00:00
Sam Lin
9ff3ec4872 Merge "Add a feature flag for CTS." into oc-dev 2017-04-05 01:29:20 +00:00
Adrian Roos
7322c05097 AOD: Adjust header to spec
- factor out attributes to themes
- use themeing to change ambient header to larger text and icon size

Bug: 30876804
Test: receive notification on ambient screen, observe that header text is slightly larger
Change-Id: I70f79400e2ce47b862b3b501421aa71187866e61
2017-04-04 17:55:45 -07:00
Mathias Agopian
810e018e24 Merge "Remove useless GraphicBuffer() constructor" into oc-dev 2017-04-05 00:42:58 +00:00
TreeHugger Robot
df50b64860 Merge "Don't crash when passing null to requestChildFocus" into oc-dev 2017-04-05 00:42:38 +00:00
TreeHugger Robot
b28e1e68d2 Merge "Don't broadcast PACKAGE_REMOVED for InstantApps" into oc-dev 2017-04-05 00:37:52 +00:00
Christopher Tate
7234fc6fef Track pending job latency
Timestamp jobs being marked 'pending' and 'active,' so we can then report their
pending latency in dumpsys.

Bug 35385393
Test: N/A

Change-Id: I3d981fbc7fbe6abdf30da3f86d88d3733b797f51
2017-04-05 00:36:56 +00:00
TreeHugger Robot
0e59ab0408 Merge "show different timing log for shutdown animation" into oc-dev 2017-04-05 00:29:59 +00:00
Conrad Chen
9105beacb3 TIF: protect PARENTAL_CONTROLS_ENABLED_CHANGED broadcast
Test: build and test manually to see if warnings are eliminated
Bug: 36898338
Change-Id: Ifea0844926677fad24f7df2ade31cd299099b639
2017-04-04 17:21:38 -07:00
fionaxu
009848b03e support notification channel for defaultcarrier app
Apps posting notifications for O must supply a notification channel for
all notifications

Bug: 36895752
Change-Id: I7ec3b4cd8a6ea05c3ca9316d1f79b56e3531f5d0
2017-04-04 17:05:47 -07:00
Chen Xu
5effb5f645 Merge "move ACTION_SERVICE_STATE to system api" into oc-dev 2017-04-04 23:43:56 +00:00
Adrian Roos
146293b35c Merge "AOD: update AOD2 views to spec" into oc-dev 2017-04-04 23:38:42 +00:00
TreeHugger Robot
edcbf28b7c Merge "Just round up the data partition size." into oc-dev 2017-04-04 23:23:34 +00:00
Jean-Michel Trivi
cafed63e3a Audio focus: duck new players during the ducked phase
Keep a list of all UIDs whose players should be ducked.
  Whenever a new player is created or started, and their
  UID matches one in the list, add them to the ducked
  players.
The bug observed was when Play Music transitioned from one
  song to another while music should have been ducked: the
  new song wasn't unducked because it wasn't in the list
  of players to unduck, as it wasn't active when the ducking
  occured.

Test: request focus while Play Music transitions from one song to another
Bug: 36232742
Bug: 30258418
Change-Id: If8bd47128e6177731406f39e77d049b0d6f34f5d
2017-04-04 15:48:58 -07:00
Adam Powell
9b24e5c53a Don't crash when passing null to requestChildFocus
Add null checks to ScrollView and HorizontalScrollView for checking
the revealOnFocusHint. This should never happen in code called by
the framework, but some apps were hitting it.

Bug: 36379645
Test: none
Change-Id: I220eb88d82126ff08f47a7c2a7fbdddebf07de81
2017-04-04 22:44:41 +00:00
TreeHugger Robot
cd77661682 Merge "Add legacy DownloadManager actions to SystemApi." into oc-dev 2017-04-04 22:42:10 +00:00
TreeHugger Robot
6a9f4a997c Merge "Catching additional case where menu would disappear in accessibility." into oc-dev 2017-04-04 22:39:44 +00:00
TreeHugger Robot
5379b05256 Merge "Change name of the intent fields" into oc-dev 2017-04-04 22:39:01 +00:00
TreeHugger Robot
a5c6ba3473 Merge "Fix pop-up shadow drawn in the wrong place with Skia pipeline" into oc-dev 2017-04-04 22:23:02 +00:00
Keun-young Park
d1794cdbb4 show different timing log for shutdown animation
bug: 36873098
Test: reboot and check log
Change-Id: Ic3adaba383cc29dba039a7fb5adcb01d4c0c963b
2017-04-04 22:21:32 +00:00
Todd Kennedy
3daefb4b10 Don't broadcast PACKAGE_REMOVED for InstantApps
Change-Id: I7f054bbf844ad6c1b9a8aa20c5ba91cbf9a5db04
Fixes: 36444594
Test: Manual; uninstall AIA and see that the broadcast isn't sent
2017-04-04 15:21:12 -07:00
TreeHugger Robot
46f847fb76 Merge "Need to return false if addSkTypeface fails." into oc-dev 2017-04-04 22:11:32 +00:00
Bryce Lee
92b7b65939 Do not try to restore a task id if it does not exist.
Previously, we were trying to restore the recent task regardless of
if it was found in recents or a stack. This would lead to
referencing a null object later.

Change-Id: I014a751d3254ad267c32ac0b54783b31b8d17e93
Test: bit FrameworksServicesTests:com.android.server.am.ActivityStackSupervisorTests
Fixes: 36688598
2017-04-04 14:45:26 -07:00
TreeHugger Robot
ba2e284a62 Merge "Initial implementation of autofill partitioning." into oc-dev 2017-04-04 21:42:52 +00:00