Commit Graph

33452 Commits

Author SHA1 Message Date
Doris Ling
8edab274e0 Merge "Update battery settings summary text." 2017-03-18 00:39:09 +00:00
TreeHugger Robot
aa5be5d156 Merge changes Ic359aaee,Id7aba066
* changes:
  AOD: Use color filter to invert icons for AOD
  NotificationWrappers: Factor out doze treatment
2017-03-18 00:05:18 +00:00
TreeHugger Robot
a70288eea3 Merge changes Iab3f9914,I5d5da5e7
* changes:
  Average scan results for AccessPoints.
  Fix broken AccessPointTests.
2017-03-17 23:57:11 +00:00
TreeHugger Robot
8c97bcc9fe Merge "Show friction icons in Saved Networks list." 2017-03-17 23:06:15 +00:00
Adrian Roos
cc95775297 AOD: Use color filter to invert icons for AOD
Fixes an issue where the AOD icons where of different
brightness because they were converted to grayscale and
then inverted. Now we just set the appropriate color filter
instead.

Change-Id: Ic359aaee2e19274670f44c5b7380c636ee26e559
Test: Open AOD, observe that the icons are colored solid white (like the clock) instead of gray.
Fixes: 35850204
2017-03-17 15:28:01 -07:00
Adrian Roos
edfb65bbc4 NotificationWrappers: Factor out doze treatment
Bug: 35850204
Test: receive a notification group, observe that the group icon is correctly inverted on ambient display.
Change-Id: Id7aba066eb1683705fdc2c008e657bd819ddd31d
2017-03-17 15:28:01 -07:00
Doris Ling
92b2b3be10 Update battery settings summary text.
Bug: 36375846
Test: builds
Change-Id: I9d0cf831327960d69296de5b025e18c6f1f6a2ae
2017-03-17 14:37:24 -07:00
TreeHugger Robot
6c3489bc29 Merge "Code clean up: remove some dead code." 2017-03-17 21:35:02 +00:00
Sundeep Ghuman
ce78a5f2d3 Average scan results for AccessPoints.
This reduces jitter in the WifiTracker and is modeled after a prior
broken implementation which attempted to half-life the rssi each time
AccessPoint.update(ScanResult) is called.

Bug: 34774783
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/AccessPointTest.java

Change-Id: Iab3f9914af40f2fd56e8ae7b45dcbd62176c8a67
2017-03-17 13:29:59 -07:00
TreeHugger Robot
57efc93f08 Merge "QS: Revert change to when user switcher is shown" 2017-03-17 20:22:40 +00:00
Makoto Onuki
f87e234488 Merge "Fix deadlock between activity manager and settings provider" 2017-03-17 19:59:06 +00:00
Fan Zhang
51fac1237d Code clean up: remove some dead code.
Test: existing tests pass
Change-Id: I1e0e6f8218b3a6550476fe1aa092f685d7433d53
2017-03-17 12:55:21 -07:00
Sundeep Ghuman
4d8781e6be Show friction icons in Saved Networks list.
Bug: b/34802842
Test: $ make SettingsFunctionalTests -j40
$ adb install -r
$ {OUT}/data/app/SettingsFunctionalTests/SettingsFunctionalTests.apk
$ adb shell am instrument -w \
    'android.settings.functional/android.support.test.runner.AndroidJUnitRunner'

Change-Id: I0d6aedad2aabb40ef532283a755cb5c954e8139d
2017-03-17 12:44:54 -07:00
Sundeep Ghuman
b9647ebba0 Fix broken AccessPointTests.
Bug: None
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/AccessPointTest.java

Change-Id: I5d5da5e7e0faf1c124816f0dd8ab5f0249e54637
2017-03-17 12:44:54 -07:00
Makoto Onuki
73360ab2d1 Fix deadlock between activity manager and settings provider
Test: manual
Bug 36028906

Change-Id: I20344608d79d174b468506056789c04d3bde510f
2017-03-17 11:59:45 -07:00
Jason Monk
84caab7bdb QS: Revert change to when user switcher is shown
Its making it inconsistently show up on the lock screen. Until
final behavior is decided, revert to old behavior.

Change-Id: Ifc69f2d5b527cc9ce5a174b16b8b605db26fc35b
Fixes: 36141544
Test: visual
2017-03-17 14:49:47 -04:00
TreeHugger Robot
6e4075bde6 Merge "Adding enabled state for remote actions." 2017-03-17 17:51:45 +00:00
TreeHugger Robot
837c927213 Merge "Fix up QS edit UI" 2017-03-17 16:11:36 +00:00
TreeHugger Robot
edd694e4bf Merge "Change dependency to standard mockito-target-minus-junit4" 2017-03-17 15:32:07 +00:00
Jason Monk
6f77056666 Fix up QS edit UI
Turns out QS Edit mode didn't like the changes to dual target tiles.
Clean this up a bit.

Test: visual
Change-Id: I158fe8dba6729de102cfc592314ec483a969417d
2017-03-17 10:15:15 -04:00
Paul Duffin
a7773c2fb1 Change dependency to standard mockito-target-minus-junit4
The mockito-updated-target-minus-junit4 target was added because
some tests needed a later version of mockito than was available
through mockito-target-minus-junit4. Since the latter has now
been upgraded to 2.7.13 that is no longer true and so users of
mockito-updated-target-minus-junit4 can be switched to use
mockito-target-minus-junit4 instead.

Bug: 32912773
Test: make checkbuild && runtest systemui
Change-Id: If7e4dd26d7d0e93731856e9739a048c89a835333
2017-03-17 13:52:15 +00:00
Jason Monk
581084123f Protect against hiding while not attached
Change-Id: I44b16d2644c80c737ffc16bf11cc1259e3c3984b
Fixes: 36137783
Test: Edit QS
2017-03-17 09:47:30 -04:00
Winson Chung
6b88baf1e8 Adding enabled state for remote actions.
- Actions can specify whether they are enabled (default) or disabled, and
  SystemUI will reflect the state in the PiP actions.

Bug: 36363677
Test: Expand pip with dismissed action
Change-Id: I36994868f82d8ba0fc87947a722d9f20b39425a1
2017-03-16 18:05:30 -07:00
Hyunyoung Song
5d0a358b62 Merge "Add LauncherIcons.AdaptiveIconDrawableWithShadow class to support shadow b/36088922" 2017-03-16 22:51:43 +00:00
TreeHugger Robot
e74f59aef9 Merge "Don't announce state changes in QS" 2017-03-16 22:16:16 +00:00
TreeHugger Robot
321c5a19c7 Merge "Clean up some QS user switcher colors" 2017-03-16 21:48:34 +00:00
TreeHugger Robot
43c43f2d4a Merge "UI updates to dual target tiles" 2017-03-16 21:38:20 +00:00
Hyunyoung Song
547010ff86 Add LauncherIcons.AdaptiveIconDrawableWithShadow class to support shadow
b/36088922

Test: Settings app
This utility class can be used to bake shadow in drawable level in
system ui surfaces such as Settings, Overview and ShareSheet.

Change-Id: Iaec867d9ce5b949380c1e5004b68269d1bbeacd4
2017-03-16 13:51:28 -07:00
TreeHugger Robot
8a03952d86 Merge "Fixing issue with IME not showing after PiP menu is shown." 2017-03-16 20:27:38 +00:00
Selim Cinek
35cb746e1d Merge changes I414b9a5f,I0a08b06b
* changes:
  Fixed a bug where the notifications could get stuck animating
  Better messaging style wrapping
2017-03-16 20:25:02 +00:00
TreeHugger Robot
c8913dac2e Merge "Ensuring that we remove the input consumer after moving expanded PiP" 2017-03-16 18:22:32 +00:00
Winson Chung
d703c63c5f Fixing issue with IME not showing after PiP menu is shown.
- Because the PiP menu activity needs to be always-focusable, it would
  always be found as the input focus target even after the menu is
  animated away.  This CL ensures that main activity window is hidden
  when the menu is also hidden so that we don't prevent the new focused
  app windows from getting focus
- This also allows us to not finish the activity when accessibility is
  enabled as the hidden window will not be reported to accessibility
  services

Bug: 36225602
Test: Expand pip, tap on qsb
Change-Id: Ifa4f47ef25afc0ff73a9206e3c8bc45277d274f6
2017-03-16 11:14:22 -07:00
TreeHugger Robot
6b2cde6bfc Merge "Fix QS editing from lock screen" 2017-03-16 18:08:10 +00:00
TreeHugger Robot
587b60282e Merge "frameworks/base: Add APCT tests to the device-tests suite." 2017-03-16 17:35:12 +00:00
Jason Monk
f12710a545 UI updates to dual target tiles
Have an underline + an arrow to indicate them instead of a divider.

Test: visual
Change-Id: I8fdff53825f9668edd5c527b42410c301f943785
2017-03-16 13:26:13 -04:00
Jason Monk
867428615d Don't announce state changes in QS
These are covered by the accessibility services now that we have
proper accessibility classes attached to everything.

Change-Id: I7a27387cf22503bb460ded72b91889263c01306a
Fixes: 36160031
Test: Toggle flashlight
2017-03-16 12:53:10 -04:00
Jason Monk
44ad61f06e Clean up some QS user switcher colors
Change-Id: Ie6699f3cede075ee22997440c716138402840587
Fixes: 34775035
Test: visual
2017-03-16 12:45:48 -04:00
Jason Monk
78a3d60a5e Fix QS editing from lock screen
QS was getting a callback making it think the lock screen was
being shown and it caused it to hide, make sure we don't hide
when the doing the open animation as we expect that we may be
coming from the lock screen.

Change-Id: I5c35e3f7d02f068ea53c71742945290c137b4551
Fixes: 36048979
Test: Click QS edit on lock screen
2017-03-16 12:12:57 -04:00
TreeHugger Robot
e7f265119d Merge "Fix light status bar transition" 2017-03-16 14:22:56 +00:00
Julia Reynolds
1d97e6a0c1 Remove resource id channel/group name fields
Apps can listen for the LOCALE_CHANGED broadcast to
change names if needed.

Fixes: 35336590
Test: runtest systemui-notification, cts, manual
Change-Id: I62d2778f61e99200692755a6f268828a374837e6
2017-03-16 14:20:28 +00:00
Winson Chung
2824d7c1b3 Ensuring that we remove the input consumer after moving expanded PiP
- We re-enable the input consumer once the user starts dragging the
  expanded PiP to allow the touch handler to take over, but once we
  reset the timer (after showing the menu again), we need to disable
  the input consumer so that the menu can get touches again.

Bug: 36266913
Test: Expand PiP, move, click action
Change-Id: I30ebccd165fd764a9a8de8313659c24ecd12aec0
2017-03-16 02:44:08 +00:00
TreeHugger Robot
46cda5971e Merge "Update strings" 2017-03-16 02:22:28 +00:00
Fan Zhang
5545d42398 Update strings
Change-Id: I38fcd900cdadea40f96fa2f78587943662a6771f
Fix: 36291553
Test: builds
2017-03-15 17:40:49 -07:00
Casey Burkhardt
98d1dba2ab Merge "Display magnification via the nav bar Accessibility Button" 2017-03-16 00:26:53 +00:00
TreeHugger Robot
57240e8415 Merge "integrate portal webview to the default app" 2017-03-15 23:24:57 +00:00
Selim Cinek
2f6272ec7d Fixed a bug where the notifications could get stuck animating
Notifications could get stuck in the middle of an animation
when the occlusion changed.

Test: launch camera, turn screen off, observe no animation when waking up
Change-Id: I414b9a5f7b01db2f4e2a3198647084f5e2582e8b
Fixes: 34734460
2017-03-15 16:19:10 -07:00
Mady Mellor
da42f4aaa9 Merge "Enables drag to dismiss for PiP and adds a dark scrim when dismissing" 2017-03-15 21:59:04 +00:00
Simran Basi
473a16e492 frameworks/base: Add APCT tests to the device-tests suite.
This CL adds the APCT tests within this project to
a similar suite as CTS known as device-tests.

The current method of running APCT tests in the infrastructure
is unaffected.

Bug: 35882476
Test: `make dist device-tests -j` and local builds of
      continuous_instrumentation_tests & continuous_native_tests

Change-Id: Ifa382fe691842c1cd76897775b9e2a1653449eb5
2017-03-15 14:46:27 -07:00
fionaxu
da578042ae integrate portal webview to the default app
Based on the UX review feedback, we plan to implement portal webview
function inside the carrier default app instead of reusing the existing
portal app. This will give us more flexibility and control, also will
improve UX flow by getting rid of the some unwanted dialogues.

Test: Manual
Bug: 36002256
Change-Id: I2627d5a43039ce433006c058bb4f2c1a39113e59
2017-03-15 14:42:55 -07:00
Casey Burkhardt
74922c63e1 Display magnification via the nav bar Accessibility Button
Adds support for invoking display magnification by first selecting
the Accessibility Button, then touching an area of the screen to
magnify.

Bug: 30960346
Test: Manual
Change-Id: Ifd8a355562f204182e34bd37f71a3637d85cf0e1
2017-03-15 14:12:51 -07:00