15261 Commits

Author SHA1 Message Date
Dan Sandler
61bc9d535b am b509a809: am fbd99e9f: am 76620791: am b3a1b663: Merge "Avoid crashing on corrupted notifications." into lmp-mr1-dev
* commit 'b509a809b20d1eae76613b43a93059c32c4a8435':
  Avoid crashing on corrupted notifications.
2015-03-18 23:48:31 +00:00
Chris Craik
43c410eaac Merge "Remove HardwareCanvas" 2015-03-18 21:36:56 +00:00
Dan Sandler
b509a809b2 am fbd99e9f: am 76620791: am b3a1b663: Merge "Avoid crashing on corrupted notifications." into lmp-mr1-dev
* commit 'fbd99e9fecea1cf467c082d2096cb1c3868685d4':
  Avoid crashing on corrupted notifications.
2015-03-18 18:42:47 +00:00
Dan Sandler
fbd99e9fec am 76620791: am b3a1b663: Merge "Avoid crashing on corrupted notifications." into lmp-mr1-dev
* commit '76620791600af3b3d6f6ad8ba3534320265153db':
  Avoid crashing on corrupted notifications.
2015-03-18 18:35:20 +00:00
Dan Sandler
7662079160 am b3a1b663: Merge "Avoid crashing on corrupted notifications." into lmp-mr1-dev
* commit 'b3a1b6632e403926fed995e851a8e44fc944c663':
  Avoid crashing on corrupted notifications.
2015-03-18 18:29:48 +00:00
Geoff Mendal
44b789ee50 Merge "Import translations. DO NOT MERGE" 2015-03-18 13:53:31 +00:00
Geoff Mendal
05cc0270d8 Import translations. DO NOT MERGE
Change-Id: I383533e102441de910bcee9f10662cc0dd082e59
Auto-generated-cl: translation import
2015-03-18 06:49:50 -07:00
Geoff Mendal
d253343da0 Import translations. DO NOT MERGE
Change-Id: I85066a98008872466f6cb03770ceb2ff94abed0e
Auto-generated-cl: translation import
2015-03-18 06:11:15 -07:00
Geoff Mendal
54064f66c9 Import translations. DO NOT MERGE
Change-Id: Ifd3f512fcd1aabd685f10218eceda8f4f83bb116
Auto-generated-cl: translation import
2015-03-18 06:04:44 -07:00
Geoff Mendal
8d889a67d0 Import translations. DO NOT MERGE
Change-Id: I046ce211561d45c3ee6b1763a7578d9ac54f3c90
Auto-generated-cl: translation import
2015-03-18 05:47:44 -07:00
Skuhne
7438f814f1 Merge "Change resize logic: Use resizeTask and remove stack resize UI/logic" 2015-03-17 23:35:38 +00:00
Skuhne
ece738b5bc Change resize logic: Use resizeTask and remove stack resize UI/logic
Change-Id: I5af8171a4ca55252c009cf80d180c5d024c0fa03
2015-03-17 16:31:04 -07:00
Svetoslav Ganov
e1519582ab Revert "Persist settings on a normal priority thread."
This reverts commit d289e64a2d7c8efba78b9066b647ee321eba701a.

Change-Id: Ic9455b538e0be8b9a4e4672f99b14978e70d2911
2015-03-17 22:00:37 +00:00
James Cook
4d87285c31 Merge "Recents: Tapping on background returns to launcher" 2015-03-17 21:16:29 +00:00
John Spurlock
28651d5e58 Merge "QS: 'Cast screen' -> 'Cast'." 2015-03-17 19:24:26 +00:00
John Spurlock
83957a3f7d QS: 'Cast screen' -> 'Cast'.
Bug: 19773357
Change-Id: I967c972986af4eb97374d7cde1d3b19fb28986ff
2015-03-17 14:23:03 -04:00
James Cook
4bd79b7556 Recents: Tapping on background returns to launcher
Conceptually the area outside the recents task stack looks like a
"desktop". Make a non-scroll tap outside the task stack close
recents and return to the launcher.

Bug: 19271451
Change-Id: I9e639d6b5c6127bc37e1003152ef7a6fcbc2c2f3
2015-03-17 10:59:44 -07:00
Dan Sandler
06433bd9f3 Avoid crashing on corrupted notifications.
If a notification content view has an @id/icon or
@id/right_icon, we need to make sure those ImageViews
actually have a drawable inside.

Bug: 19487078
Change-Id: I4ef6c4a10926823aa8680628097ed150d9e717d4
2015-03-17 16:34:34 +00:00
Christopher Tate
9e98b63c4c Merge "Merge restored accessibility enable state, don't overwrite" 2015-03-17 02:13:15 +00:00
Christopher Tate
3d0bdf6f71 Merge "Notification listener backup & restore" 2015-03-17 02:12:13 +00:00
Christopher Tate
2d4aadca94 Merge restored accessibility enable state, don't overwrite
We do not want to accidentally disable the user's currently-enabled
accessibility service(s); presumably they turned them on during
setup for a reason.  We now merge the prior + current states rather
than simply replacing the current state with the former.

Bug 19427367

Change-Id: I96eb47df57318c88066c5da6862f23f656639148
2015-03-16 17:39:07 -07:00
Christopher Tate
6597e3435f Notification listener backup & restore
We now back up & restore the set of enabled notification listeners.  Post-
restore, a listener that had been enabled on the ancestral device will be
enabled on the current device as soon as it's installed, matching the
user's previous configuration.  After this has happened the enable/disable
state for that app is not "sticky"; disabling it again will work as
expected.

The infrastructure for accomplishing this is general: it can be leveraged
by any ManagedServices derivative.  There's a bit of extra wiring in the
settings provider to support the restore-time information flow as well.
This is because ManagedServices -- like many other parts of the system --
monitors writes to the settings provider and does work in response to new
writes of the elements that it cares about.  Unfortunately this means that
there is no way to use the BackupAgent's restoreFinished() hook to post-
process the restored data: by the time it is run, the ManagedService's
observers have already executed and culled any unknown components from
the description that was just pushed into settings.

As of this patch, the settings provider's restore logic knows that a
particular settings element will require a message to interested observers
about the restore-driven change.  The message is delivered as a broadcast,
and is sent after the new value has been committed to the settings db.
Adding other system ManagedService handling that parallels this will only
require adding a new corresponding entry to the table of individual settings
for which the relevant "this settings element is being restored" broadcast
is sent, found in SettingsHelper.

(It isn't sent for all settings elements because very few settings elements
have semantics that require it; 3rd party code won't be running yet during
platform restore anyway; and sending up to hundreds of broadcasts during
setup & restore is far from ideal.)

Bug 19254153

Change-Id: Ib8268c6cb273862a3ee089d2764f3bff4a299103
2015-03-16 16:24:28 -07:00
Selim Cinek
d2e1dc138c Merge "Fixed a bug where HUNs would not dissappear" 2015-03-16 22:29:24 +00:00
Selim Cinek
0090ea5572 Fixed a bug where HUNs would not dissappear
Bug: 19626170
Change-Id: Iadc4bd6b2bfc85b3da67e1e87cf1514cfcb269bb
2015-03-16 13:34:43 -07:00
Selim Cinek
b60a658edb Merge "Added more anti-falsing logic" 2015-03-16 18:01:00 +00:00
Selim Cinek
547a06b50f Added more anti-falsing logic
We now discard unlock attempts with multiple pointers.

Bug: 18544191
Change-Id: Id2e7bca0353b3f85aa193f6a5c793b93ca0776e3
2015-03-16 10:53:08 -07:00
Geoff Mendal
592f880895 Merge "Import translations. DO NOT MERGE" 2015-03-16 14:02:00 +00:00
Geoff Mendal
70c1675036 Merge "Import translations. DO NOT MERGE" 2015-03-16 13:48:55 +00:00
Geoff Mendal
47c6843cb5 Import translations. DO NOT MERGE
Change-Id: I5974745b1b216beda4ebed9da78b0b2c0b4d4efe
Auto-generated-cl: translation import
2015-03-16 06:37:26 -07:00
Geoff Mendal
717bbf53f8 Import translations. DO NOT MERGE
Change-Id: Id941e0ba453bd6b39cf654f0a20a68219584bd2a
Auto-generated-cl: translation import
2015-03-16 06:25:49 -07:00
Geoff Mendal
ef096473c8 Merge "Import translations. DO NOT MERGE" 2015-03-16 13:20:50 +00:00
Geoff Mendal
8e39914610 Import translations. DO NOT MERGE
Change-Id: I47e03bc7c00c7cb751c063324027e7846b067eaf
Auto-generated-cl: translation import
2015-03-16 06:19:39 -07:00
Geoff Mendal
844c6a5194 Merge "Import translations. DO NOT MERGE" 2015-03-16 13:10:09 +00:00
Geoff Mendal
74c66d10a7 Merge "Import translations. DO NOT MERGE" into lmp-mr1-ub-dev 2015-03-16 13:05:43 +00:00
Geoff Mendal
0ef51ec3dd Import translations. DO NOT MERGE
Change-Id: Ic3f3b8418d69d37a26c0be77047faf3ea9294b0f
Auto-generated-cl: translation import
2015-03-16 06:03:55 -07:00
Geoff Mendal
0c5d398e9f Import translations. DO NOT MERGE
Change-Id: I5059160456eb65bedb552f97b6ed500ef540839f
Auto-generated-cl: translation import
2015-03-16 05:57:47 -07:00
Geoff Mendal
de4be3bc2c Import translations. DO NOT MERGE
Change-Id: I17a68a6a20954432a352e132ac02cb0c9597e1d3
Auto-generated-cl: translation import
2015-03-16 05:52:00 -07:00
Geoff Mendal
eb1aec7fef Merge "Import translations. DO NOT MERGE" into lmp-mr1-modular-dev 2015-03-16 12:50:20 +00:00
Geoff Mendal
57d39a3d70 Import translations. DO NOT MERGE
Change-Id: Icc111cdfe84d93d8212be18ba9815a50a83f059c
Auto-generated-cl: translation import
2015-03-16 05:48:31 -07:00
Geoff Mendal
f3e18606f7 Import translations. DO NOT MERGE
Change-Id: I6ecfa92145f12da6a6101a84c9fd10db911948a1
Auto-generated-cl: translation import
2015-03-16 05:35:33 -07:00
Geoff Mendal
e35b3e380f Import translations. DO NOT MERGE
Change-Id: I9f312c6b5a86264eb96437751fefd5957383b400
Auto-generated-cl: translation import
2015-03-16 05:31:48 -07:00
Vinit Deshpande
a0cf891c91 am "Correct "Sign-in" and "Sign into" to "Sign in to"."
merged from goog/mirror-m-wireless-internal-release
44f7239 Correct "Sign-in" and "Sign into" to "Sign in to".
2015-03-15 13:42:17 -07:00
Selim Cinek
ed755abbb0 Merge "Enable surfacing of notification children" 2015-03-13 21:50:38 +00:00
Selim Cinek
920752e98a Merge "Refactored guts inflating for notifications" 2015-03-13 21:49:29 +00:00
Selim Cinek
a8670ff3df Merge "Improved the logic for notification clipping" 2015-03-13 21:48:27 +00:00
Selim Cinek
b4bdbdcde3 Merge "Introduced a group manager to manage group notifications" 2015-03-13 21:47:35 +00:00
Selim Cinek
0a826bf5ab Merge "Fixed a bug when clicking below notifications." 2015-03-13 21:45:39 +00:00
Selim Cinek
4562845599 Merge "Heads-up notifications now reuse the views from the shade" 2015-03-13 21:42:43 +00:00
Selim Cinek
553fc83fd9 Merge "Made stack scroller animation and apply logic reusable" 2015-03-13 21:40:20 +00:00
Selim Cinek
b5605e58cb Enable surfacing of notification children
Yo Dawg, I herd you like notifications, so I put a
notification in your notification so you can be
interrupted while you are being interrupted.

Bug: 15869874
Bug: 15188947
Change-Id: I6c733d6f8e8a04f85036182f82d3e945c6feb5bc
2015-03-13 12:51:20 -07:00