9492 Commits

Author SHA1 Message Date
Winson Chung
9ebb685b03 Merge "Fixing issue with floating task headers." 2015-03-24 23:08:30 +00:00
Winson Chung
3040484265 Fixing issue with floating task headers.
Bug 19516828
2015-03-24 14:19:42 -07:00
Jason Monk
4d24b14d12 am d13d7c85: am ba48885b: am 4b7b21ec: Merge "systemui: Handle case when network has been lost"
* commit 'd13d7c85dc6b87a83cf06b7514146cc32413dcaa':
  systemui: Handle case when network has been lost
2015-03-24 20:23:16 +00:00
Jason Monk
ba48885b92 am 4b7b21ec: Merge "systemui: Handle case when network has been lost"
* commit '4b7b21ec834cd307e3d122f2d517778b13242dfb':
  systemui: Handle case when network has been lost
2015-03-24 20:10:22 +00:00
Jason Monk
4b7b21ec83 Merge "systemui: Handle case when network has been lost" 2015-03-24 19:57:49 +00:00
Adrian Roos
904a262f3d Merge "Use Flashlight API in quick settings" 2015-03-24 19:38:02 +00:00
Skuhne
8aa7d161a1 Adding menu to arrange one or two tasks and arrange them accordingly
Added dialog with buttons for task arrangement upon click on decorator
icon.

BUG: 19492945,19868830,19656507

Change-Id: Ie31e2788efb097db1c1f54f0ef1b2fda1ccc71ec
2015-03-24 09:20:51 -07:00
Michael Wright
d99c5f6fb6 am 72261270: am b42baaa8: am 978cfc39: Merge "SystemUI needs the SET_WALLPAPER permission"
* commit '722612707e7eef745dab573ff226e2bd904295cb':
  SystemUI needs the SET_WALLPAPER permission
2015-03-24 02:56:08 +00:00
Winson Chung
f21ef3d25a Merge "Adding null check for focused stack before trying to switch affiliated tasks." 2015-03-23 22:16:38 +00:00
Winson Chung
98127fb818 Adding null check for focused stack before trying to switch affiliated tasks.
Bug: 19870065
Change-Id: I674914b9d4a63cb9c73fa71bbc4b82c210e2001f
2015-03-23 15:12:53 -07:00
Wale Ogunwale
e0cc2f652b Changed recent multi-window UI to use persist.sys.debug.multi_window
Consistent with what is been set under developer options.

Change-Id: I871ba1b612e344846c33fae68ad3286f7bec1b4b
2015-03-23 13:44:36 -07:00
Michael Wright
b42baaa829 am 978cfc39: Merge "SystemUI needs the SET_WALLPAPER permission"
* commit '978cfc39a10e1b95f9d6dfb5c8e9eb58a10ce0ec':
  SystemUI needs the SET_WALLPAPER permission
2015-03-23 15:55:53 +00:00
Geoff Mendal
521c125d56 Import translations. DO NOT MERGE
Change-Id: I7298b94a7d28dc5e674054aa7204d5c652fb12a9
Auto-generated-cl: translation import
2015-03-23 06:15:29 -07:00
Samuel Asteberg
8d516a80a0 SystemUI needs the SET_WALLPAPER permission
If changing wallpaper when low on memory, retrieving the default
wallpaper may return null, which triggers error handling in
ImageWallpaper. This error handling tries to perform
WallpaperManager.clear(), but for that it needs SET_WALLPAPER
permission, which it does not have.

For users with apps that auto change wallpaper, this issue can
be frequent in low-memory conditions.

The solution is to add the permisson.

Change-Id: I81503c1667e3952c2dd15599969f7dcc51623e5b
2015-03-23 13:50:09 +01:00
Geoff Mendal
672aab38b6 Import translations. DO NOT MERGE
Change-Id: I3b918278be7f5c4849a49821ab35385abaf440e4
Auto-generated-cl: translation import
2015-03-20 23:53:59 -07:00
Winson Chung
a92c07809c Merge "Fixing issue with screen-pinning for secondary users." 2015-03-20 16:59:59 +00:00
Winson Chung
d0aa8a374f Fixing issue with screen-pinning for secondary users.
- Proxy the screen pinning request to the SystemUI for the primary user.

Bug: 19395305
Change-Id: I6252d4ee05b2bea4e76b2a4d0b903e2866fffa76
2015-03-19 14:11:27 -07:00
Alan Viverette
eef3bcbbe4 Merge "Replace usages of deprecated Resources.getColor() and getColorStateList()" 2015-03-19 01:54:09 +00:00
Alan Viverette
4a357cd2e5 Replace usages of deprecated Resources.getColor() and getColorStateList()
Change-Id: I8f64fe6c4c44a92ff6d07250223ba590a1d691b0
2015-03-18 18:37:18 -07:00
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
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
05cc0270d8 Import translations. DO NOT MERGE
Change-Id: I383533e102441de910bcee9f10662cc0dd082e59
Auto-generated-cl: translation import
2015-03-18 06:49:50 -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
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
James Cook
4d87285c31 Merge "Recents: Tapping on background returns to launcher" 2015-03-17 21:16:29 +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
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
47c6843cb5 Import translations. DO NOT MERGE
Change-Id: I5974745b1b216beda4ebed9da78b0b2c0b4d4efe
Auto-generated-cl: translation import
2015-03-16 06:37:26 -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
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
John Spurlock
b6e19e3e0f AudioService: Define minimum levels for volume streams.
- Set a floor of 1 for voice call + bluetooth sco, otherwise 0.
 - All api calls validated to ensure a floor of the min level.
 - Volume UI updated to shift the seekbar by the min value.
 - Remove duplicate static max method in AudioService.
 - Ensure streams with a min level > 0 are not considered muteable.

Bug: 19260237
Change-Id: I213180c9c277f51bd3897b7f777e5f88ed1db125
2015-03-13 11:02:01 -04:00
Selim Cinek
ab29aebf00 Refactored guts inflating for notifications
Change-Id: I80f6a3cc93e107e0909034b58d0939271e54f3e2
2015-03-12 16:05:32 -07:00
Selim Cinek
a272dfed9a Improved the logic for notification clipping
Views are now still clipped during animations
but just on the right size.

Change-Id: I25e7d6dd67c9fcdb3a2c743048f9e83c840d837e
2015-03-12 16:05:13 -07:00
Selim Cinek
25fd4e2be7 Introduced a group manager to manage group notifications
Bug: 15869874
Change-Id: I1bbcd9e5a2b8dae62bd8d93908dacc5d8fc08887
2015-03-12 16:04:52 -07:00
Selim Cinek
abf60bb20f Fixed a bug when clicking below notifications.
When clicking on the bottom stack in the locked shade,
a click might have triggered a returning to the keyguard
instead of being catched by the notification if the
dismissview was present.

Change-Id: I7c6c74c8c98bd8e67ac882f92c90e25ac50c008c
2015-03-12 16:02:54 -07:00