Commit Graph

14421 Commits

Author SHA1 Message Date
TreeHugger Robot
3c37f6ed06 Merge "Fix DirectReply taking too long in HUNs" into nyc-dev 2016-04-29 21:32:50 +00:00
TreeHugger Robot
47d849da9f Merge "DirectReply: Send button was wrongly actionable on empty field" into nyc-dev 2016-04-29 21:31:30 +00:00
TreeHugger Robot
f8ab95d13a Merge "Adding null check on VolumeInfo" into nyc-dev 2016-04-29 20:11:20 +00:00
Julia Reynolds
e0c73c3fce Merge "Less clipping." into nyc-dev 2016-04-29 19:12:14 +00:00
Jason Monk
0f11729d3d Merge "Fix QS Edit flashing on exit" into nyc-dev 2016-04-29 19:04:19 +00:00
Jason Monk
63554eda8d Fix QS Edit flashing on exit
Always save tile specs after move and don't trigger an entire data
set changed because we are aware of all changes.

Change-Id: Ic75b9ea8ed9b7d1a11d02f9af7858f3d040ec074
Fixes: 28334197
2016-04-29 14:58:29 -04:00
Julia Reynolds
e377b956a8 Less clipping.
Bug: 28385494
Change-Id: Ic28041621e5574e003b46aa84e8b69dc3472506d
2016-04-29 14:54:09 -04:00
Adrian Roos
c721fcc526 Fix DirectReply taking too long in HUNs
The HUN logic delays removing notifications for a second or
two, but this makes Direct Reply stick around too long after
sending. To prevent this, cancel notifications in the sending
state immediately.

Change-Id: I9e655bb17674265761e1f6cc25acb2fb9f0c72a6
Fixes: 28421972
2016-04-29 11:28:40 -07:00
Jason Monk
ede4fcea6b Merge "Don't show data disabled icon when user isn't setup" into nyc-dev 2016-04-29 17:55:59 +00:00
Adrian Roos
6db43cb1d8 DirectReply: Send button was wrongly actionable on empty field
Change-Id: I672d897d42ef340e84d9dc938e6edf26e2b8d9c3
Fixes: 28420826
2016-04-29 10:50:25 -07:00
Jason Monk
fd57ea730e Don't show data disabled icon when user isn't setup
Change-Id: I2d540b8c0cb613cbf120ffadc404ee03d0447a8b
Fixes: 28246388
2016-04-29 13:37:58 -04:00
Adrian Roos
bc243b5f49 Merge "A11y: Show title if ticker is not available" into nyc-dev 2016-04-29 15:59:44 +00:00
Jaewan Kim
cbb128a5d8 Merge "PIP: Prevent PIP icons in Recents from blinking when PIP is closed" into nyc-dev 2016-04-29 05:57:42 +00:00
Suprabh Shukla
af6c419574 Adding null check on VolumeInfo
Storage manager returns null volumeInfo for a volume that is ejected.
Adding a null check to prevent crashing system ui.

Bug: b/28211502
Change-Id: Icd18dda8cad4e6020df3e4c5b3be6daaa3b22fbe
2016-04-28 17:56:37 -07:00
Amith Yamasani
ec6faca007 Merge "Stop user faster and clear stale broadcasts" into nyc-dev 2016-04-29 00:51:32 +00:00
TreeHugger Robot
05be517fb7 Merge "ImageWallpaper: Only draw on valid surfaces" into nyc-dev 2016-04-29 00:13:23 +00:00
Adrian Roos
53560f1c8b ImageWallpaper: Only draw on valid surfaces
Previously, the wallpaper would draw even when
the surface had been destroyed, leading to
crashes.

Change-Id: I6465e832abb3bfd92495bca9b60dac474b35f6d6
Fixes: 28329816
2016-04-28 15:22:51 -07:00
Adrian Roos
f76b15057e Merge "Show lockscreen wallpaper on SIM screens" into nyc-dev 2016-04-28 20:57:27 +00:00
Adrian Roos
51548e619f A11y: Show title if ticker is not available
Change-Id: I028ba9fffc8ca0f0340e052c6d1f99696aba084a
Fixes: 27552350
2016-04-28 11:30:44 -07:00
Amith Yamasani
ad2e4bf9f3 Stop user faster and clear stale broadcasts
Moved several USER_STOPPING registered receivers to listen
to USER_STOPPED, since they don't need to be blocking the
shutdown of the user.

Clear all stale broadcasts when stopping a user, so that we
don't unnecessarily start up processes and deliver stale
broadcasts. This was causing code to run when the user was
already stopped and resulted in crashes when other providers
and services couldn't be started anymore. Hopefully this fixes
many of those races.

Bug: 28371487
Change-Id: Ic35a7a23fa8fe009a53f8bf7545d4dad5fa34134
2016-04-28 10:02:44 -07:00
Jaewan Kim
66fc3ac40a PIP: Prevent PIP icons in Recents from blinking when PIP is closed
Bug: 28426049
Change-Id: I462877376bced76aa168af4e99a9d8c1f2f1bc98
2016-04-28 17:31:27 +09:00
Jorim Jaggi
c875ae74ba Don't move forced resizable info activity to the front
If we start the forced resizable activity with an existing task,
avoid moving that task to the front. This can cause that a previous
task that was moved to the back gets moved to the front again just
because we started that activity. That's not good.

Bug: 28223489
Change-Id: If8acf31b8be98b82665de1015d5621331c37fb64
2016-04-27 19:19:04 -07:00
TreeHugger Robot
74610328f3 Merge "Fix contrast enforcement for RemoteInputView" into nyc-dev 2016-04-28 01:33:43 +00:00
TreeHugger Robot
c4e70467f7 Merge "Fixed a crash when the transformed view was updated while dragging" into nyc-dev 2016-04-28 01:05:26 +00:00
Adrian Roos
25ea5b8586 Fix contrast enforcement for RemoteInputView
Previously, the disabled color was used for the contrast
calculations, which resulted in too dark RemoteInputView
backgrounds.

Change-Id: I99e8b2fa64a22a59fdc5d1be8a6aff5af3523a27
Fixes: 28429720
2016-04-28 00:08:21 +00:00
Adrian Roos
7ce11e7c23 Merge "RemoteInput: add logging and metrics" into nyc-dev 2016-04-28 00:03:03 +00:00
Adrian Roos
39d60bace6 Merge "Prevent dismissal on RemoteInputView" into nyc-dev 2016-04-28 00:02:46 +00:00
Selim Cinek
589fd3e47f Fixed a crash when the transformed view was updated while dragging
The transformed view could get updated during the transition
leading to a crash sometimes. We're now handling this better and
make sure the correct values are set.

Change-Id: I1a311cb7c108afeec0fc1c92eb3359c622db7b87
Fixes: 27922191
2016-04-27 16:24:48 -07:00
Adrian Roos
a3760a4713 Show lockscreen wallpaper on SIM screens
Also fixes a bug where the lockscreen wallpaper was
showing in occluded mode and where the regular wallpaper
was flashing when going back from occluded mode.

Change-Id: Ibe6404acc4ed5db8807b3ef223b149e841730c8f
Fixes: 28271756
2016-04-27 16:03:15 -07:00
Selim Cinek
477af0d4ea Merge "Fixed a bug where the media template wasn't transforming right" into nyc-dev 2016-04-27 23:00:09 +00:00
Selim Cinek
8f4f2a9bfc Merge "Fixed a crash where the overflow number wasn't initialized" into nyc-dev 2016-04-27 22:59:42 +00:00
Selim Cinek
42a0cb3188 Merge "Fixed that notifications didn't fade away when brightness changed" into nyc-dev 2016-04-27 22:38:38 +00:00
TreeHugger Robot
1a101dbc81 Merge "Fix remote input view clobbering" into nyc-dev 2016-04-27 22:17:33 +00:00
TreeHugger Robot
e6500d592e Merge "Add a 1st-time dialog for Data Saver title." into nyc-dev 2016-04-27 21:42:06 +00:00
Selim Cinek
f88c629346 Fixed a bug where the media template wasn't transforming right
Bug: 28406828
Change-Id: Ie400fd62cc0efc8f0a77cc81a40a17c54aa90e65
2016-04-27 13:44:16 -07:00
Selim Cinek
b41b2f6fc2 Fixed a crash where the overflow number wasn't initialized
Change-Id: I2df85055d5670af3a6c78a2b62bc62c9297ead78
Fixes: 28008437
2016-04-27 13:44:15 -07:00
Jorim Jaggi
af77082a22 Merge "Use FLAG_RECEIVER_FOREGROUND for lock intent" into nyc-dev 2016-04-27 20:25:26 +00:00
Jorim Jaggi
ad0ce3ab5e Use FLAG_RECEIVER_FOREGROUND for lock intent
To make we get priority for the intent.

Bug: 27391589
Change-Id: I112588116d51012dbe4d66c90b839bb88bc3f21b
2016-04-27 13:21:02 -07:00
Felipe Leme
0281a9908f Add a 1st-time dialog for Data Saver title.
BUG: 28098106
Change-Id: Ida19dcfc11ff74117af58fe1a4d43aa03e087f2b
2016-04-27 13:17:08 -07:00
Mady Mellor
1979bd7af2 Merge "Fix NPE when updating gear vertical location" into nyc-dev 2016-04-27 20:14:57 +00:00
Selim Cinek
31d37b9186 Fixed that notifications didn't fade away when brightness changed
Because nothing was drawing there with SRC one would simply see
the old buffer there.

Change-Id: Ie7a8989a4af92a05b1e9be2430fd9704c26a125d
Fixes: 27317122
2016-04-27 13:04:04 -07:00
Bill Yi
bd0f1fcd67 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-27 20:00:40 +00:00
TreeHugger Robot
9f72683fee Merge "Added logging for Data Saver toggle switch." into nyc-dev 2016-04-27 19:45:28 +00:00
Mady Mellor
5f88f9b355 Fix NPE when updating gear vertical location
Since we do this onLayout it's unnecessary to update the location here
plus it causes an NPE as the parent may not be laid out yet when
accessing collapsed height.

Bug: 28390732
Change-Id: I3e61eb7ce854002def3342856557d456249e5e26
2016-04-27 18:53:27 +00:00
Rob Carr
fa255f6ead Merge "Revert "Prevent recents from closing while moving PiP to fullscreen."" into nyc-dev 2016-04-27 18:13:27 +00:00
Adrian Roos
fa139757aa Prevent dismissal on RemoteInputView
Prevents swiping out a notification when started on
the RemoteInputView, as this can easily happen during
text manipulation otherwise.

Change-Id: I8f658eab88ca1daf8ffcb7a5d1fac4468f5f0845
Fixes: 28336831
2016-04-27 09:59:15 -07:00
Adrian Roos
ceeb04c7c4 RemoteInput: add logging and metrics
Bug: 28277176
Change-Id: I79421927cc686f989231c29dd505b70ed22739f7
2016-04-27 09:04:25 -07:00
Adrian Roos
4c1fcc892e Fix remote input view clobbering
- If a notification is updated, make sure that the focus
  is kept even when the change cannot be applied inline.
- Make sure to update the pending intent to match one
  of the new actions in case the old one is no longer
  valid, and to prevent sending text to the wrong action
  unintentionally.
- Keep focus when switching between heads-up and expanded.
- Prevent the action container from becoming transiently
  gone during reapplying.

Fixes: 27357771
Change-Id: Ie9f49935827f6efb15b73f8d686f0c110448456a
2016-04-27 06:57:48 -07:00
Bill Yi
b08bbd994c Import translations. DO NOT MERGE
Change-Id: I3a9d207063511cfd862a522bc245fbf70abfbf3b
Auto-generated-cl: translation import
2016-04-27 06:26:50 -07:00
Winson Chung
e433cafe07 Merge "Mark header bar buttons as clickable only when they are made visible." into nyc-dev 2016-04-27 04:02:10 +00:00