Commit Graph

17823 Commits

Author SHA1 Message Date
TreeHugger Robot
315c230cbb Merge "Longer wake lock timeout" into pi-dev 2018-04-03 21:23:35 +00:00
Steve Pfetsch
7f3e5bb053 Merge "Relax angle-related false touch classification." into pi-dev 2018-04-03 20:31:31 +00:00
TreeHugger Robot
61b93505ba Merge "Dejank QS edit screen." into pi-dev 2018-04-03 19:50:20 +00:00
TreeHugger Robot
02327e4080 Merge "Add DISABLE_CLOCK flags to status bar, fix transitions" into pi-dev 2018-04-03 19:46:29 +00:00
TreeHugger Robot
cbea0a76c6 Merge "null check on qspanel before called method on it." into pi-dev 2018-04-03 19:37:28 +00:00
TreeHugger Robot
47721fa59d Merge "Avoids vibration over deadzone in navigationbar" into pi-dev 2018-04-03 19:09:22 +00:00
TreeHugger Robot
6ae58e0d16 Merge "Nav icons and quick step states are determined by service enabled" into pi-dev 2018-04-03 18:47:22 +00:00
Lucas Dupin
e03081f4b7 Longer wake lock timeout
This isn't a definitive fix but should
make the symptoms less visible.

Bug: 71913808
Test: cover prox sensor, uncover it
Change-Id: I49976d5ba09d416e96cc5e623e49d55ecacf5567
2018-04-03 11:31:27 -07:00
Amin Shaikh
5df1a75ec8 Dejank QS edit screen.
Do not show any tile animations on the QS edit screen.

Change-Id: I7cd409c859da0b4606a54d1308f85c01d92baff9
Fixes: 72086633
Test: visual
2018-04-03 14:00:39 -04:00
Evan Laird
4b68e2f785 Add DISABLE_CLOCK flags to status bar, fix transitions
- CollapsedStatusBarFragment now listens to DISABLE_CLOCK so that it can
be requested to hide with disable flags (fixes SUW)
- PhoneStatusBarTransitions cares about the entire left side as a unit
instead of just notifications.

Test: atest frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/CollapsedStatusBarFragmentTest.java
Test: go through SUW, also change users from guest -> owner from lock
screen.

Change-Id: Ia693386b9ef0438a4fe341d056731e2ba6e973a0
Fixes: 71512617
Fixes: 71360226
2018-04-03 14:00:23 -04:00
Lujiang Xue
d9839562ee null check on qspanel before called method on it.
Bug: 77324282

Test: manually launched on head unit
Change-Id: Ia484d527cd07f6998d6e9907250ae9eb0c031674
2018-04-03 10:52:22 -07:00
Lucas Dupin
3e57c9f525 Merge "Do not run peek animation when keyguard is fading" into pi-dev 2018-04-03 17:07:03 +00:00
TreeHugger Robot
600fe676f7 Merge "QS tile transition fixes." into pi-dev 2018-04-03 14:30:10 +00:00
TreeHugger Robot
bb5b42eee7 Merge "Fix strings for QS header status." into pi-dev 2018-04-03 14:27:32 +00:00
TreeHugger Robot
18603cdf81 Merge "Fix PIP window going offset in landscape mode." into pi-dev 2018-04-03 03:35:40 +00:00
Tracy Zhou
4b696821d5 Fix PIP window going offset in landscape mode.
In landscape mode, PIP window can go offset while launching IME. We want to align the top of the PIP window with the top of the movement bounds in that case.

Change-Id: I7e89538c9a51d78294037b474caedcdf31edf7c4
Fixes: 77337070
Test: Manual test
2018-04-02 18:30:23 -07:00
TreeHugger Robot
1e617f5c20 Merge "Signal view is no loner apart of this fragment Removing custom battery display functionality until a complete fix is implemented." into pi-dev 2018-04-03 00:30:34 +00:00
Matthew Ng
8a7c97a16d Nav icons and quick step states are determined by service enabled
When the device quickly changes states (such as language or font size),
it would disconnect and then reconnect the service and as a result a
flash of the nav buttons will occur. Since the nav bar is connected to
launcher service unless 3rd party launchers are used, that should
determine if the icons should change or quick step should be
enabled/disabled instead of if there is a connection. Also hold the last
interaction flags and apply on startup until service is disabled (using
3rd party launcher).

Test: go to settings and change the font size under display
Change-Id: Ibebc8c3f8493574dd21774bd292c2096cfdad469
Fixes: 74199057
Fixes: 73483047
Fixes: 72225004
2018-04-02 16:45:34 -07:00
Brad Stenning
cc0439b5de Signal view is no loner apart of this fragment
Removing custom battery display functionality until a complete fix
is implemented.

Bug:77473401

Test: deploy a car build
Change-Id: I3a18ee45d23caa8d2c798cede3e9cb3e7334372f
2018-04-02 15:39:16 -07:00
Lucas Dupin
ec46f3845a Do not run peek animation when keyguard is fading
Test: answer challenge, tap repeatedly: animation doesn't run
Test: tap on navbar when unlocked: animation runs
Change-Id: Ibea423fca69a77e61f4b178c58e9839cd8979d7c
Fixes: 75313101
2018-04-02 15:21:29 -07:00
Matthew Ng
603b3298ff Avoids vibration over deadzone in navigationbar
Removed the deadzone as a view and converted to a class that is attached
to NavigationBarView to determine if the incoming touch events should be
consumed by the deadzone.

Change-Id: I5bf6a9e48ba9fa2305ec98acfc537d14cb8cf725
Fixes: 77235132
Test: tap just above the home button in portrait
2018-04-02 11:48:21 -07:00
Lucas Dupin
ca46ae970b Remove old alarm IPC
Not necessary anymore because the alarm moved to
KeyguardSliceProvider.

Test: switch from 12 to 24h format
Change-Id: I5796edfe7251e599d76ffecc35eeab27ddcc1e0d
Fixes: 77154815
2018-04-02 11:05:09 -07:00
TreeHugger Robot
78e805684b Merge "Fix right-most navbar icon tinting mismatch" into pi-dev 2018-04-02 15:32:01 +00:00
Lucas Dupin
9009654c1d Merge "Slice row redlines and animations" into pi-dev 2018-04-01 16:13:49 +00:00
Ryan Lin
a29957d518 Merge "Add callback onProfileAudioStateChanged()" into pi-dev 2018-03-31 06:23:26 +00:00
Lucas Dupin
c68ec4839b Slice row redlines and animations
Test: visual
Bug: 77278905
Change-Id: I40c0f8d65fe8a4c652f42e494b1fe7cc05f0ad32
2018-03-30 16:24:02 -07:00
Mike Digman
e3909de258 Fix right-most navbar icon tinting mismatch
Rotate, a11y navbar buttons didn't match the color of the home,
back and recents buttons.

Change-Id: I7337b0a7091d7d42b0ae45cb0c29b96c5d5b126c
Fixes: 77286278
Test: manual comparison of color in screenshots
2018-03-30 16:12:09 -07:00
TreeHugger Robot
b17c2388a5 Merge "Control the QS label marquees." into pi-dev 2018-03-30 21:13:04 +00:00
Rohan Shah
13c78d15d8 Merge "Revert "[Notif] Disable "Customize" for blocking helper"" into pi-dev 2018-03-30 21:05:07 +00:00
Rohan Shah
35fe985a95 Revert "[Notif] Disable "Customize" for blocking helper"
This reverts commit 3cfc950708.

Reason for revert:
Apparently a breakage got through treehugger - I hadn't synced my changes and one of the params was incorrect. Reverting for now and rebasing before resubmit...

Bug: 77321231
Change-Id: Ib306759d6344a69f17331a6c3c9cc78d1345508b
2018-03-30 21:04:36 +00:00
TreeHugger Robot
6a8ea4fe24 Merge "Update QS edit layout." into pi-dev 2018-03-30 21:00:06 +00:00
TreeHugger Robot
eff51d566a Merge "Remove SignalClusterView in favor of IconManager" into pi-dev 2018-03-30 20:22:16 +00:00
TreeHugger Robot
21ba6eff91 Merge "[Notif] Disable "Customize" for blocking helper" into pi-dev 2018-03-30 20:03:11 +00:00
Amin Shaikh
e4d25a955f Fix strings for QS header status.
Rearrange alarm/mute text to maintain the same ordering as the status
bar. Update mute/vibrate strings to make it clear that the status
corresponds to the phone volume.

Change-Id: I66f35f681e15a91e6238aeaaa086856872d3876a
Fixes: 76208830
Test: visual
2018-03-30 15:56:50 -04:00
Amin Shaikh
9a6fa0868d Update QS edit layout.
- Update TileLayout to lay out tiles rows in a similar fashion to
LinearLayout.
- Update edit screen layout to show rounded corners, margins, and
ensure that QS tiles line up with the tiles in QS.
- Show QS status bar header above the edit screen.

Change-Id: I6c8d644787bf1875ad0d7ad056e9909dc4919ce4
Fixes: 36076720
Test: visual
2018-03-30 15:08:02 -04:00
Evan Laird
e1d13c9884 Remove SignalClusterView in favor of IconManager
Refactors SignalClusterView into StatusBarSignalPolicy so that it can be
used in a StatusBarIconContainer and solve all of our status bar
problems.

- Remove all uses of SignalClusterView and references to
  R.id.signal_cluster. The class still exists it's just unused now

- Add StatusBarIconHolder, which can point to StatusBarIcon,
  WifiIconState, or PhoneIconState

- StatusBarIconList.Slot. Allows for easier indexing of icons now that
  there can be multiple icons per slot

- Add StatusBarWifiView to be inflated inside of the
  StatusBarIconController when needed

- StatusBarMobile view. similar to above

- Upgrade StatusBarIconControllerImpl and StatusBarIconList to
  understand the holders and added 2 new methods to specifically handle
  wifi / phone state changes

- Create IStatusBarIconView (todo: rename). Abstracts the properties we
  want away from StatusBarIconView so that we can use an arbitrary view
  type

- NeutralGoodDrawable. Draws a light and a dark icon when needed.

- Fixes a few demo mode bugs: multi sim was broken and also turning off
  demo mode was a little broken

TODO: More tests are needed for StatusBarSignalPolicy and maybe the
IconManagers

Test: runtest systemui; visual
Bug: 63772836
Bug: 73778753
Bug: 74985733
Fixes: 74427768
Fixes: 74338687
Fixes: 74388467

Change-Id: I5621b3013cdc9638b61552bd4d7211f211eddf1b
2018-03-30 14:49:08 -04:00
Rohan Shah
3cfc950708 [Notif] Disable "Customize" for blocking helper
Update UI to hide customize when blocking helper is showing. Fixed a
small problem with context.getString too where it was unnecessarily
passing in a format string argument.

Test: Visually
Test: Ran atest NotifInfoTest with new test case
Fixes: 77321231
Change-Id: Ia03ea7badc7aa7ccd7b3a0e235cce2363ace9953
2018-03-30 10:48:17 -07:00
TreeHugger Robot
160261a553 Merge "[Notif] Dont show blocking helper for non-blockable notifs" into pi-dev 2018-03-30 17:43:33 +00:00
Salvador Martinez
6abf6254d2 Merge "Update triggering logic for hybrid notification" into pi-dev 2018-03-30 17:25:00 +00:00
Winson Chung
cb903343f0 Merge "Skip waiting for draw when triggering split screen from global action." into pi-dev 2018-03-30 17:16:59 +00:00
Julia Reynolds
9ba5dfc750 Merge "Show media stream always when a11y is active stream" into pi-dev 2018-03-30 16:28:04 +00:00
Rohan Shah
2d2f598d69 Merge "[QS] Override/add long click accessibility action" into pi-dev 2018-03-30 15:45:53 +00:00
TreeHugger Robot
e3ba496485 Merge "System notif channels updated on locale change" into pi-dev 2018-03-30 15:39:27 +00:00
Rohan Shah
63411fc9f3 [Notif] Dont show blocking helper for non-blockable notifs
If the notification is considered non-blockable, we don't want to show
it. Moved necessary logic around into the appropriate classes (minor
refactor).

Cached system info (IPC) in ExpandableNotifRow instead of calling so
late in the game.

Updated tests & added nonblocking checks.

Change-Id: Ic010a0b32cf6df42e9d0d2c600cbbe95a68ffde2
Bug: 74115090
Test: atest {notif tests}
Test: Visually via debug flag on sys notif
2018-03-30 08:38:32 -07:00
TreeHugger Robot
1fe1ef0d6e Merge "Allow for the different nav bars before the device is provisioned Split window creation from content creation so I could remove and add new content once the provisioned state changed." into pi-dev 2018-03-30 14:38:34 +00:00
Julia Reynolds
24f2213505 Show media stream always when a11y is active stream
Test: manual
Bug: 76438403
Change-Id: I9da010b9bb03dfdcb48fc15e3c6d538d540f8f11
2018-03-30 10:16:09 -04:00
hughchen
714b1c1d2c Add callback onProfileAudioStateChanged()
Bug: 74134939
Test: Build
Change-Id: Ibbe65c65b76ecfcb8980b931c37a300d01cbef3c
2018-03-30 06:34:21 +00:00
Julia Reynolds
2876e83a49 Merge "Volume UI updates" into pi-dev 2018-03-30 01:55:42 +00:00
Winson Chung
68f5430b22 Skip waiting for draw when triggering split screen from global action.
- Currently a workaround for accessibility use case for split screen,
  this logic is not used for quickstep so just skip waiting for draw
  to animate the divider.

Bug: 74531468
Test: atest CtsAccessibilityServiceTestCases:AccessibilityWindowQueryTest#testWindowDockAndUndock_dividerWindowAppearsAndDisappears
Change-Id: I4b584443d4bf6acfbda92e5a2bfcd4470636d6c5
2018-03-29 18:48:37 -07:00
Rohan Shah
185f661663 [QS] Override/add long click accessibility action
Overrides the long click action for QS tiles. Tiles are always
long-clickable so this can always be present as an action for that node.

Test: Via talkback selection + node printing/debug
Bug: 72408442
Change-Id: Idacf79cd4a91e6091c6f9f0a8fa24a286cd3a262
2018-03-29 17:54:01 -07:00