Commit Graph

25315 Commits

Author SHA1 Message Date
Jason Monk
ba055f8f9d Import some plugin documentation into the tree
In the spirit of writing things down

Test: none
Change-Id: I93371eab99721ace1fd32d07739b861d492e4be6
2018-02-23 14:52:37 -05:00
Christine Franks
5649922b7c Merge "Support forced Night Display auto mode" 2018-02-23 17:39:21 +00:00
Lucas Dupin
bfb36c3f20 Merge "Ensure keyguard slice use correct colors" 2018-02-23 17:21:27 +00:00
TreeHugger Robot
52b38b13b7 Merge "In the spirit of writing stuff down" 2018-02-23 17:00:52 +00:00
Jeff Sharkey
725024bb2a Merge "Name specific app for rapid data usage." 2018-02-23 16:28:58 +00:00
Jeff Sharkey
e0c2995d0f Name specific app for rapid data usage.
When a single app is responsible for more than half of the data usage
that caused us to trigger a "rapid usage" alert, name that app in the
notification.  Tests to verify.

Move NPMS->NSS direct calls to "Internal" pattern, following
best-practices to avoid unnecessary AIDL exposure.

Remove 3G/4G split mobile plan support, which has been deprecated for
years and was never supported in a shipping product.

Move MultipathPolicyTracker in tree to reflect its package name.

Test: bit FrameworksNetTests:*
Test: bit FrameworksServicesTests:com.android.server.NetworkPolicyManagerServiceTest
Bug: 69263587, 64221505, 73431080, 72746951
Exempt-From-Owner-Approval: approved in previous PS
Change-Id: I3e4ec1ae2222d51b232f76f32faca93d4f8cd272
2018-02-23 16:27:39 +00:00
Jason Monk
50b0788faa In the spirit of writing stuff down
Write some stuff down

Test: none
Change-Id: I9997db5f9c4d75b0c066f002f234dbeaec6932a4
2018-02-23 10:25:30 -05:00
TreeHugger Robot
2ca8fcec2d Merge changes from topic "update_mapping"
* changes:
  Rework how pinning works
  Follow prebuilt/API update
2018-02-23 06:51:31 +00:00
TreeHugger Robot
3864a68d75 Merge "Implement brightness slider spec." 2018-02-23 03:57:05 +00:00
Tracy Zhou
25cb15dcd9 Merge "Dismiss PIP window when PIP is disabled from settings." 2018-02-23 03:51:02 +00:00
Selim Cinek
6fb936f814 Merge "Fixed an issue with a test that didn't work properly" 2018-02-23 03:35:40 +00:00
Selim Cinek
9a236f780d Fixed an issue with a test that didn't work properly
This was causing tool failures.

Change-Id: Ia29b2b22dc1e0bf53dfd664280fd69dc110e020b
Fixes: 73791701
Test: runtest systemui
2018-02-22 19:26:53 -08:00
TreeHugger Robot
acb42c36f5 Merge "Bringing back assistant on long press home button (1/2)" 2018-02-23 02:43:24 +00:00
Tracy Zhou
0f6525db84 Dismiss PIP window when PIP is disabled from settings.
The app ops call comes in on a binder thread so we need to post dismissPip() to the main thread.

Bug: 73625696
Test: atest
CtsActivityManagerDeviceTestCases:ActivityManagerPinnedStackTests

Change-Id: I365947934155d0d29ac67ebedc0b35b6d377cb84
2018-02-22 17:21:23 -08:00
Lucas Dupin
f8e274c422 Ensure keyguard slice use correct colors
Change-Id: I0406f8092583174e60ee5c89a71047288cbe480a
Fixes: 73538050
Test: atest packages/SystemUI/tests/src/com/android/keyguard/KeyguardSliceViewTest.java
2018-02-22 17:03:20 -08:00
Phil Weaver
cfd17093cd Merge "Use accessibility pane API in keyguard" 2018-02-23 00:31:48 +00:00
Selim Cinek
5bdfb4c1bd Disabled presubmit for flakey test
Test: runtest systemui
Change-Id: If772052b2c172e62a22958f9996436914d8e8e1b
2018-02-22 16:13:22 -08:00
TreeHugger Robot
af53b2e455 Merge "Fixes home button from moving off its origin position after rotation" 2018-02-22 23:25:27 +00:00
Jason Monk
8aca4f0063 Follow prebuilt/API update
Test: make
Change-Id: Ie93a29118d1a767174c0364764de61558b274ef5
2018-02-22 16:32:16 -05:00
TreeHugger Robot
abe3d233a5 Merge "Import translations. DO NOT MERGE" 2018-02-22 21:10:28 +00:00
Amin Shaikh
6adcacc5d2 Implement brightness slider spec.
Bug: 72991368
Test: visual
Change-Id: I5168f0a30d8a325c3c8d84ff26419240db18a634
2018-02-22 16:03:17 -05:00
Matthew Ng
fee0b5b26a Bringing back assistant on long press home button (1/2)
Triggering assistant should have the home button animations run.
Prevent long press to start quickscrub.

Bug: 70180755
Test: long press home with quick step enabled
Change-Id: I8bb75210b1bd15eeb97a8b2bf9bbe022f1822dfe
2018-02-22 12:36:30 -08:00
Selim Cinek
bdbf458844 Fixed a NP when replying to a message
The visbilityChanged listener is only set up later,
so we'll have to add a nullcheck for it.

Change-Id: I1f5843f02fd9c8fc20e26f1de47911e5eb533471
Fixes: 73758799
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/RemoteInputViewTest.java
2018-02-22 09:50:24 -08:00
Phil Weaver
7d847b0375 Use accessibility pane API in keyguard
Using the new accessibility pane title API
to identify the pattern, pin, and password unlock
screens.

Bug: 73131182
Test: Verified that accessibility events are properly
sent when unlocking the phone with each of the lock
methods.
Change-Id: I32594f4736b503e7f9e3be96e9f77a84ffcadc54
2018-02-22 09:44:54 -08:00
Julia Reynolds
ee57193bb6 New small volume dialog
- Remove labels
- Remove output chooser dialog
- Reorder icons
- Add settings affordance
- Add instructive toast

Test: manual
Change-Id: I6640fb8147707936fe22e3c756ab29116973fbe3
Fixes: 73719758
Fixes: 73333233
Fixes: 71663761
2018-02-22 10:10:42 -05:00
Bill Yi
d6b67c621e Import translations. DO NOT MERGE
Change-Id: If3e5e54985e6199dc0b59f6f02f1f6bdae0d1ce7
Auto-generated-cl: translation import
2018-02-22 04:24:53 -08:00
Mike Digman
abb9e15f24 Merge "Update rotate suggestion button icon+motion" 2018-02-22 03:55:10 +00:00
TreeHugger Robot
f45f121a76 Merge "Fix opacity of expanded shade during transitions" 2018-02-21 21:54:33 +00:00
TreeHugger Robot
72e94b6556 Merge changes I30c76f2a,I83d3f0d2
* changes:
  Fixed the launch animation for groups
  Removed the notification action background
2018-02-21 20:19:54 +00:00
TreeHugger Robot
b71324a131 Merge changes from topic "forceUpdate"
* changes:
  Convert forceUpdate to 'onStart' lifecycle event.
  Change WifiListenerWrapper to WifiListenExecutor.
  Delete the WorkHandler class.
  Cleanup updateAccessPoints for readability.
2018-02-21 20:16:00 +00:00
TreeHugger Robot
12626103b6 Merge "Hide bouncer before launching camera" 2018-02-21 20:12:05 +00:00
TreeHugger Robot
7b8905c4af Merge "[QS] Add header tooltip for long press" 2018-02-21 19:59:48 +00:00
Lucas Dupin
80a3fcc3f5 Fix opacity of expanded shade during transitions
Change-Id: I480e558113cd9f31b7548002265e9b4b78b0ddad
Fixes: 70351996
Fixes: 71443237
Fixes: 73311721
Fixes: 72757727
Test: packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Test: unlock with fp. pattern
Test: pull down shade adjust brightness on bouncer and launcher
Test: unlock with fingerprint from pulsing notification
2018-02-21 19:43:38 +00:00
Christine Franks
8ad6f6d671 Support forced Night Display auto mode
Bug: 69973773
Test: make -j100

Change-Id: Ifc1cb5d35f5d5b4ad988b8add04008332cf37dbe
2018-02-21 10:51:57 -08:00
TreeHugger Robot
27a266b3b2 Merge "Optionally supress status bar notifications in dnd" 2018-02-21 18:43:55 +00:00
TreeHugger Robot
9131b2f1c8 Merge "update intent to be toggle instead of show for hvac button" 2018-02-21 18:13:48 +00:00
Rohan Shah
db2cfa3609 [QS] Add header tooltip for long press
Added some hooks in animator to pass along expanded/animating/collapsed
state in a more clear manner. Added tooltip view with the teaser text to
animate in at the top of the view (and fade out either when we start
animating or automatically after 5 seconds).

Added prefs for tracking how often tooltip is shown/hiding it based on
that number.

Updated dimensions for correct spacing (based on redlines).

Test: Visually
Bug: 72528203

Change-Id: I70e4654ed95057fac6d8dbb890d575c2a5d9f215
2018-02-21 10:12:33 -08:00
Mike Digman
1e28a5ae50 Update rotate suggestion button icon+motion
Motion is dynamically set to match pending screen rotation through
styling. AVD bugs make consistently looping motion hard, looped instead
within AVD. Refactor some logic into NavBarFragment for simplicity.

Test: custom Gingerbread app with menu and IME, a11y manual toggling
Change-Id: I5a975785203aeaf46c36962be05cab6abdc628a1
2018-02-21 09:57:52 -08:00
Narayan Kamath
81945916f1 Merge "Remove uses of libcore.util.Objects.hashCode / equals." 2018-02-21 09:34:42 +00:00
Lucas Dupin
657ef95a5e Hide bouncer before launching camera
Fixes: 71377043
Test: Launch camera after triggering bouncer on FLAG_SHOW_WHEN_LOCKED
      activity.

Change-Id: I68ec9814e7fb46772c9724002254873f2beaef96
2018-02-20 22:37:53 -08:00
TreeHugger Robot
f1bbb83386 Merge "Tweak FingerprintDialog layout" 2018-02-21 03:34:20 +00:00
TreeHugger Robot
92c943325c Merge "Disable recents onboarding for test automation" 2018-02-21 02:58:28 +00:00
TreeHugger Robot
cb77b79fd0 Merge "Prevent quickscrub when swipe up has already started" 2018-02-21 01:10:33 +00:00
Matthew Ng
ed166f9859 Fixes home button from moving off its origin position after rotation
It is possible to quick scrub from a portrait app to a forced landscape
app to resultantly move the home button off its original position or
even off the screen. Force animation end to reset the position of the
home button and prevent null exceptions of the home button when running
animation end.

Fixes: 73507167
Bug: 70180755
Test: manual - quick switch/scrub between portrait and landscape forced
apps

Change-Id: Iea247b1f75701a171d1ddfd117e2056c2321c835
2018-02-20 16:22:09 -08:00
Robb Glasser
e8f1d36a41 Disable recents onboarding for test automation
The recents onboarding blocks UI automated tests. It should be disabled
if we're running in a test harness.

Bug: 73549472

Test: Tried permutations of setting persist.quickstep.onboarding.enabled
and ro.test_harness to true/false and verified the recents onboarding
pop up was present/absent when expected.

Change-Id: I7502c1873619db19294658b2b7a4ddc64f8d3b4e
2018-02-20 15:34:21 -08:00
Brad Stenning
6f95221083 update intent to be toggle instead of show for hvac button
Test: Manual (emulator build)
Change-Id: Ia246fcba6778202ae04700d06d1c4a5cef88260c
2018-02-20 15:15:23 -08:00
Selim Cinek
c25989eb75 Fixed the launch animation for groups
Also fixed various bugs when the notification
was clipped in the beginning.

Bug: 72997506
Test: add group, click on group child
Change-Id: I30c76f2a86838fbeee1c6e6adb88dc9f4f4be0c4
2018-02-20 22:49:05 +00:00
Selim Cinek
ed64a14cf7 Removed the notification action background
Also added conditional paddings when inline
replying, such that the layout looks good.
This refactors the overall layout design and ensures
that smart replies and other content that is on
the bottom are always visible.

Bug: 69168591
Test: add notification, reply, no action background
Change-Id: I83d3f0d2512f0cf8c8b9db0edc7b27cbb109aeb9
2018-02-20 22:48:42 +00:00
Bruno Martins
8f784ab44c Merge "WifiTile: Avoid NPE during boot phase" am: b23150ffa9 am: 0d90a0690b
am: a0f75f5963

Change-Id: I2d4ffcaf46a860e474be2d167e5a3d845b34f41a
2018-02-20 20:47:22 +00:00
Bruno Martins
a0f75f5963 Merge "WifiTile: Avoid NPE during boot phase" am: b23150ffa9
am: 0d90a0690b

Change-Id: I65e814b392cc0891f970223c2ded27c7420205dc
2018-02-20 20:34:09 +00:00