Commit Graph

15491 Commits

Author SHA1 Message Date
Adrian Roos
079911cb6c DirectReply: Fix bugs when replying from HUNs
am: 9550f2e75c

Change-Id: I0edbb334926eb1147e271e31229279218561332d
2016-08-24 23:14:18 +00:00
Adrian Roos
9550f2e75c DirectReply: Fix bugs when replying from HUNs
Fixes a bug that would re-open the remote input when
it was sent while HUN'd. Also fixes a bug that would
not properly clear a notification if swiped away and
at the same time HUN'd and having a reply active.

Change-Id: I3e8b5f81eaffd8e4b8602f3dbdd025229ba201fa
Fixes: 30454772
2016-08-24 13:35:15 -07:00
Winson
fcf8f8382b Fixing issue with toasts not showing for guest users.
am: 675c5d8e5a

Change-Id: Icd495e4f6dd9f8c7e10d6e88c8839ee358b1e41a
2016-08-24 01:53:12 +00:00
Jorim Jaggi
b0ba9599c8 Don't use fullscreen theme for forced resizable info activity
am: 3f09052eb9

Change-Id: I3a965a0037fe1c22559567d74ee3a4a8c41bafea
2016-08-24 01:36:35 +00:00
Jorim Jaggi
55f4b0e9be Remove swipe-up gesture from Tuner
am: 3793aff806

Change-Id: I601fdce7b6e88e30b2ccfdf55d84ed41ff1d5e36
2016-08-24 01:26:40 +00:00
Winson
675c5d8e5a Fixing issue with toasts not showing for guest users.
Bug: 30001278
Change-Id: I43269da8a6c41f4fec5923aafe5a624ec75ba651
2016-08-23 17:22:32 -07:00
Winson
3174f2931b Bump up preloading recents on boot up to user unlocked.
am: c3eedd972d

Change-Id: Id7a6f3a04d98672219d7f9995665258a138de8e0
2016-08-23 23:58:33 +00:00
Winson
c3eedd972d Bump up preloading recents on boot up to user unlocked.
- To fix b/29320695, we moved the initial recents preloading to boot 
  completed.  However, that event happens fairly late in the boot 
  sequence, and preloading can instead be done in response to user 
  unlocked.

Bug: 29879478
Change-Id: I881bd9c4c3b91d73df4947bfd2cc55eb6e615d15
2016-08-23 23:53:41 +00:00
Jorim Jaggi
c9be359ad4 Update light mode when battery saver changes
am: 244a43ee6f

Change-Id: Ifb0238a6690d06ec4abd7aa600763cfb6f607dc5
2016-08-23 22:29:14 +00:00
Jorim Jaggi
3793aff806 Remove swipe-up gesture from Tuner
We can't do it anymore with the slippery flag, so remove the entry
in the tuner.

We'll clean up the code in master.

Change-Id: Ib3dee0c947e7925b5847f2edc4801495c659dfa5
Fixes: 30891575
2016-08-23 20:49:18 +00:00
Jorim Jaggi
3f09052eb9 Don't use fullscreen theme for forced resizable info activity
Change-Id: I74b5443645dd532ff597d4a1773bbd5a38d71192
Fixes: 29278265
2016-08-23 20:40:10 +00:00
Jorim Jaggi
244a43ee6f Update light mode when battery saver changes
Change-Id: I56b309222782d823d80a66c87d30eefed2ce5dc7
Fixes: 30150232
2016-08-23 13:28:04 -07:00
Selim Cinek
37b0ccf303 Made background updater more robust to state changes
am: 9bfba9c157

Change-Id: I32e762641b7efd9ce10f0b7d6b21b986c58c617e
2016-08-23 19:09:35 +00:00
Selim Cinek
b438c11564 Avoid weird expand animation when a notification is updated
am: bb42b7dd48

Change-Id: I68f50687c08ff6f9100d4bfcc2ac35ec52b98e09
2016-08-23 19:09:28 +00:00
TreeHugger Robot
c6c45d225c Merge "Made background updater more robust to state changes" into nyc-mr1-dev 2016-08-23 18:55:48 +00:00
TreeHugger Robot
c55457b146 Merge "Avoid weird expand animation when a notification is updated" into nyc-mr1-dev 2016-08-23 18:53:21 +00:00
Adrian Roos
e43dd10cbe Ambient: Pulse for every noisy notification exactly once
am: d13602f1e7

Change-Id: I45cf1a129ae53d251bd033a8f15618b3868cd351
2016-08-23 16:52:15 +00:00
TreeHugger Robot
bd43552975 Merge "Ambient: Pulse for every noisy notification exactly once" into nyc-mr1-dev 2016-08-23 16:38:19 +00:00
Rubin Xu
e815c696c0 Not longer need MANAGE_DEVICE_ADMINS permission.
am: 1573d8be78

Change-Id: I4eb9ccc440f2c84b5528a28632a9d2c9bbec2617
2016-08-23 16:06:51 +00:00
Rubin Xu
a96e906e80 Merge "Not longer need MANAGE_DEVICE_ADMINS permission." into nyc-mr1-dev 2016-08-23 12:59:19 +00:00
Adrian Roos
d13602f1e7 Ambient: Pulse for every noisy notification exactly once
Also increases the pulse duration and switches timing to
elapsed realtime instead of wall time for robustness. Also
remove triggering for notification light for simplifying code.
Only noisy notifications are able to trigger the light anyway and
noisy notifications already trigger ambient on their own.

Change-Id: I4efbe530bb1a60cabaa46c2b04bcd5e12cdef680
Fixes: 31004875
2016-08-23 13:58:31 +02:00
Bill Yi
f2e311f117 Import translations. DO NOT MERGE
Change-Id: I5785b293e1062ba5b04d60237569c77be7517603
Auto-generated-cl: translation import
2016-08-22 20:47:43 -07:00
Bill Yi
8213e7afca Import translations. DO NOT MERGE
Change-Id: I18cf83300428bd340ee2a13f908343dc05ab9f76
Auto-generated-cl: translation import
2016-08-22 15:29:51 -07:00
TreeHugger Robot
c341e0b571 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-08-22 15:55:48 +00:00
Bill Yi
8ac0dbea72 Import translations. DO NOT MERGE
Change-Id: I70e3e40079070238efae9b6b7aa8625395d5b9da
Auto-generated-cl: translation import
2016-08-19 18:33:08 -07:00
Adrian Roos
127dcbcf07 HIC: Improve AccelerationClassifier
am: 6b312a09fc

Change-Id: Ic0e0db4d8c0cdd507352b18904fb5fb0747168e9
2016-08-19 22:28:08 +00:00
TreeHugger Robot
f438720b17 Merge "HIC: Improve AccelerationClassifier" into nyc-mr1-dev 2016-08-19 22:03:39 +00:00
Adrian Roos
6b312a09fc HIC: Improve AccelerationClassifier
Apply a bunch of improvements to the acceleration classifier:

- When dragging from the edges, we get some delay without
  movement between the DOWN and MOVE, which confounds the
  classifier. Now discounts data segments where the delay
  does not match the expected 16ms.
- The distance ratio did not compensate for differences
  in sampling. If it does it's equivalent to the speed
  ratio however. The distance ratio was removed and the
  impact of the speed ratio score doubled.
- If we cannot calculate the ratio, no longer penalize
  the traces for this.

Bug: 27405075
Change-Id: I067eb4d478593afbb20354e5c85a05353e2b4184
2016-08-19 13:38:02 -07:00
Jorim Jaggi
afaf4ac7a9 Fix a flicker when returning to the lockscreen
am: d11d1a9486

Change-Id: Ia0b617be2bb00db24115f04f362cd072d59ebe71
2016-08-17 18:28:59 +00:00
TreeHugger Robot
edddb17a67 Merge "Fix a flicker when returning to the lockscreen" into nyc-mr1-dev 2016-08-17 18:11:49 +00:00
Jorim Jaggi
d11d1a9486 Fix a flicker when returning to the lockscreen
If we return to the lockscreen from a FLAG_SHOW_WHEN_LOCKED activity,
there was an additional black flicker as the wallpaper wasn't shown
for a couple of frames. The issue is that we didn't set the wallpaper
flag again, to fix another flicker with lockscreen wallpapers. Now,
we pass the state whether we currently have a lockscreen wallpaper
and if we don't have one, we immediately set the wallpaper flag
again.

Bug: 30829255
Bug: 30883413
Change-Id: I9faeaa77b98eb02058171ce19cf90b43826ebe9e
2016-08-17 18:10:54 +00:00
Selim Cinek
a9d3efd194 Fixed the animation of the no notifications view
The view was also animating when the shade wasn't expanded.

Change-Id: If235db60230525dda17c5df0681beec2ab01a79e
Fixes: 30880548
2016-08-16 21:46:47 +00:00
TreeHugger Robot
e68228fbd9 Merge "Fixed a bug where the summary could become visible even if it was suppressed" into nyc-mr1-dev 2016-08-16 18:36:25 +00:00
Adrian Roos
27c3c34fe1 Merge "NavBar: Use rotation watcher" into nyc-mr1-dev 2016-08-16 18:32:29 +00:00
Sriram Viswanathan
91ef993e2d Merge "Replace android auto assets with the latest" into nyc-mr1-dev 2016-08-16 18:20:11 +00:00
Selim Cinek
80c44dd800 Fixed a bug where the summary could become visible even if it was suppressed
Because the updating of the suppression was prohibited, some groups could loose
their suppression state when they were heads upped. This would lead to duplicate
notifications. We're now still allowing the state to be properly modified instead
but don't notify listeners anymore since that was only an internal update.

Change-Id: I6ae96ea8cfab00ef6bdb1ef047f8b77ea88e8206
Fixes: 30608517
2016-08-16 17:19:14 +00:00
TreeHugger Robot
60ab8d072a Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-08-16 15:32:05 +00:00
Bill Yi
ad0dfea172 Import translations. DO NOT MERGE
Change-Id: I7c27b0c03c815ecccf209cd70ab764b836c7932b
Auto-generated-cl: translation import
2016-08-16 00:29:56 -07:00
TreeHugger Robot
b14543d9d8 Merge "Introduce new constant for double tap gesture rotation hint." into nyc-mr1-dev 2016-08-16 01:21:57 +00:00
Adrian Roos
a98b32cea2 NavBar: Use rotation watcher
Replaces the display changed listener with a
rotation watcher. The display listener fired
too late and did not produce a rotated frame
in time. Also cleans up logging tags.

Change-Id: I3336275ae123f868ed9ee8cc28a6285a06f2e1a6
Fixes: 30312602
2016-08-15 17:46:16 -07:00
TreeHugger Robot
094b8b3321 Merge "Fix bug where RemoteInputView didn't reopen the IME" into nyc-mr1-dev 2016-08-15 23:45:05 +00:00
Adrian Roos
0356865dad Fix bug where RemoteInputView didn't reopen the IME
Editable TextViews are implicitly selectable. Setting the selectable
property to true however causes a bug where the onTouch logic thinks
the view is not editable and thus doesn't show the IME when clicking
that view.

Change-Id: I9dd6139195bd98b26293e330290650d4e5549a6d
Fixes: 30595718
2016-08-15 15:02:57 -07:00
Selim Cinek
d381bc3133 Fixed an issue where the background could show in a wrong way
Change-Id: Icefeb2275d6cbabc576c35990ce4441b3a41ebd9
Fixes: 30855224
2016-08-15 21:42:09 +00:00
TreeHugger Robot
aedfa81517 Merge "QS Footer: Don't update icon from wrong thread." into nyc-mr1-dev 2016-08-15 19:25:46 +00:00
Robert Carr
57d9fbd17f Introduce new constant for double tap gesture rotation hint.
As discussed in ag/1192965/ we have a special case for rotation
animation selection in launch from double tap. This was set to
ROTATION_ANIMATION_CROSSFADE as the goal was just to avoid
ROTATION_ANIMATION_ROTATE on the viewfinder surface and
seamless rotation in launch scenarios was initially descoped. Now we
are aiming at fixing this though, and ROTATION_ANIMATION_CROSSFADE
does not quality for seamless rotation. ROTATION_ANIMATION_JUMPCUT
also would not be a good choice because in the situation that the
rotation occurs before the app starting window appears, then we would
jump cut from unrotated wallpaper to rotated app, I think we want
a crossfade in this scenario. To this end introduce and use a new @hide constant
ROTATION_ANIMATION_SEAMLESS which qualifies for seamless but falls back
to CROSSFADE if seamless can't occur.

Bug: 30171992
Change-Id: If1945b17b5159be4cd5ba0b139d6bea9f7fcca33
2016-08-15 12:25:37 -07:00
Selim Cinek
45d2ff9b6a Merge "Fixed that HUNs wouldn't show when the keyguard is occluded" into nyc-mr1-dev 2016-08-15 18:35:59 +00:00
Jason Monk
f9c6026a7d QS Footer: Don't update icon from wrong thread.
Change-Id: I25191818579fac57236b67d7291b6ee00dd838b5
Fixes: 30748384
2016-08-15 13:57:43 -04:00
TreeHugger Robot
6912cf9b30 Merge "Fix LockscreenWallpaper jank" into nyc-mr1-dev 2016-08-13 00:13:00 +00:00
Adrian Roos
d866b02d54 Fix LockscreenWallpaper jank
Change-Id: I3f11d26eaa51eb509284fb1bb25eab03a4f243a0
Fixes: 30493315
2016-08-12 15:31:24 -07:00
Sriram Viswanathan
e45311adc9 Replace android auto assets with the latest
The latest assets which matches up with that in the App.
Also the matches up with sizes with icons the nexus launcher.

BUG:30388078

Change-Id: Iffac75b86c3d736392fa7a1809ffdf921d610b3d
2016-08-12 13:51:31 -07:00