6153 Commits

Author SHA1 Message Date
Baligh Uddin
d7c8de657d Import translations. DO NOT MERGE
Change-Id: I4ecd4e329e123af0ddd9c9eb9a2179adcdd86f96
Auto-generated-cl: translation import
2014-08-31 16:14:23 -07:00
Chris Wren
4775109ec1 Merge "Disable lockscreen notifications for secure users on upgrade." into lmp-dev 2014-08-29 21:25:43 +00:00
Winson Chung
02d4927082 Workaround to prevent starting the same task from Recents twice. (Bug 17322903) 2014-08-29 21:14:32 +00:00
Chris Wren
cd8f4f71fc Disable lockscreen notifications for secure users on upgrade.
Add a notification for those users that teaches them how to re-enable
the notifications.

Bug: 15934899
Depends-On: Ie0bcc207c4f331def207e588bbad36b8986fe114
Change-Id: I4a169e268042cfcaa4ad80cdf205904f9c90e76d
2014-08-29 20:49:36 +00:00
Selim Cinek
e73a0a0195 Merge "Increasing the delay for the volume warning dialog with talkback" into lmp-dev 2014-08-29 16:44:23 +00:00
Jorim Jaggi
497e699553 Merge "Revert "Content description for padlock icon depending on state"" into lmp-dev 2014-08-29 16:42:59 +00:00
Jorim Jaggi
b5428e16cd Revert "Content description for padlock icon depending on state"
This reverts commit 1518196a94ed006b2b45e5dc527a23721ec1147a.

It turned out that just "Unlock" is a better label there, as
announcing the state might be confusing.

Bug: 17255298
Change-Id: I13f3b3db68f3f96afcd4db33baf07e7e213aa12c
2014-08-29 18:42:32 +02:00
Jorim Jaggi
2cf8b71e14 Merge "Only dismiss Keyguard with space when screen is on" into lmp-dev 2014-08-29 16:42:01 +00:00
Jorim Jaggi
2c33d5dcae Only dismiss Keyguard with space when screen is on
Bug: 17206291
Change-Id: I7fd9c77a0810bb71c0e4193ab121398e8e78d43b
2014-08-29 18:41:03 +02:00
Jorim Jaggi
6b58ab5809 Update paddings for more card to match notification layouts
Bug: 15437369
Change-Id: I6e9b1ce420d1d7217a455519a746ad28ed1fa75d
2014-08-29 16:40:06 +00:00
Selim Cinek
9f6ceb1d1c Increasing the delay for the volume warning dialog with talkback
Bug: 17145793
Change-Id: I27eb9c46c8d73d5e475f97b50b0a2f219c4ed6fb
2014-08-29 16:28:39 +02:00
Kenny Guy
d5936307fb Merge "Load ApplicationInfo for correct user." into lmp-dev 2014-08-29 11:01:04 +00:00
Winson Chung
bb6c033351 Merge "Ensuring that the ActivityInfo cache accounts for the task's user id. (Bug 17314317)" into lmp-dev 2014-08-28 21:14:22 +00:00
Kenny Guy
a734fc1ece Ensuring that the ActivityInfo cache accounts for the task's user id. (Bug 17314317)
Change-Id: I10bcb60abe3450f2ecfb3ee305be505e13e0be3b
2014-08-28 13:58:29 -07:00
John Spurlock
1a3febe711 Merge "StatusBar: Allow roaming indicator even when also on wifi." into lmp-dev 2014-08-28 19:45:53 +00:00
John Spurlock
14339c9edc StatusBar: Allow roaming indicator even when also on wifi.
Bug:14610152
Change-Id: Ia83abe0ae862ed747ee280c61c2fff3b62345b41
2014-08-28 15:41:29 -04:00
Winson Chung
8bd5d69008 Merge "Change API to return thumbnail size instead of individual dimensions. (Bug 17295512)" into lmp-dev 2014-08-28 19:15:10 +00:00
John Spurlock
832d351ca5 Merge "QS: Don't collapse the panel when turning location on." into lmp-dev 2014-08-28 18:30:29 +00:00
John Spurlock
d21df6076f QS: Don't collapse the panel when turning location on.
Bug:17127158
Change-Id: Ide92c2bd134a84dea796a62710a9016a679b0b74
2014-08-28 14:25:05 -04:00
Alan Viverette
b712458362 Merge "Rename StatusBar.Material styles to Material.Notification" into lmp-dev 2014-08-28 18:13:21 +00:00
Winson Chung
48a10a56e9 Change API to return thumbnail size instead of individual dimensions. (Bug 17295512)
- Fixing issue where we were pulling the thumbnail dimensions too early in AMS. (Bug 17286904)
- Simplifying the Recents code between start & configuration change

Change-Id: I6d667cbf37b844939e5fc466da613bb78ca05082
2014-08-28 10:23:40 -07:00
Kenny Guy
1aca0dd73b Load ApplicationInfo for correct user.
Use package manager for the user that the
notification is built for so it can load
ApplicationInfos for packages installed
in secondard uses but not primary user.

Bug: 17313228
Change-Id: I1b9fa031676e3ba77047c88ae2c2b37a2a38dbb2
2014-08-28 15:54:10 +01:00
Selim Cinek
1a08a8f52f Merge "Fixed a flash of the preview image when going to the dialer" into lmp-dev 2014-08-28 13:37:23 +00:00
Selim Cinek
05546f455d Merge "Fixed a bug where notifications could remain in the overlay." into lmp-dev 2014-08-28 13:36:00 +00:00
John Spurlock
d7a94b3545 Merge "Zen: Remove alarm warnings, color the subhead instead." into lmp-dev 2014-08-28 13:30:31 +00:00
Selim Cinek
0d61b51852 Fixed a flash of the preview image when going to the dialer
The preview image was animating even though it should not have
leading to a weird flash.

Bug: 17261091
Change-Id: I168eae25eb654ceb79e055fb0d0189c31cb0bb3d
2014-08-28 15:09:29 +02:00
Selim Cinek
95ed59283b Fixed a bug where notifications could remain in the overlay.
This led to notifications being visible even though they should
have been removed

Bug: 17295716
Change-Id: I05a243d5c9ca359d1f5ca29a7535935d6e61a4d6
2014-08-28 15:09:29 +02:00
Selim Cinek
24ac55e658 Added a warning when the profile has an owner
Also fixed a bug where a post in the QSFooter
was not always on the mainthread leading to a
crash.

Bug: 17066115
Change-Id: Iea9e1032973058ed5e63e70da4dc0bcf34fa59a3
2014-08-28 15:09:28 +02:00
Jorim Jaggi
746f7facf2 Start intent chooser after Keyguard is gone
If we have an intent chooser on the camera intent, we need to launch
it after the Keyguard is fully gone because the ResolveActivity would
finish itself if it is launched behind the Keyguard.

Bug: 16570873
Change-Id: I2fdb4975fa0a6510e8853c6042383089570ec1f5
2014-08-28 13:10:12 +02:00
Jorim Jaggi
d757d6bfc6 Merge "Fix large text setting for QS" into lmp-dev 2014-08-28 10:57:45 +00:00
Jorim Jaggi
e17c4b49a4 Fix large text setting for QS
Bug: 15591223
Change-Id: I9f514a4970edbda778b987dfc3eca3914e492011
2014-08-28 12:49:32 +02:00
Jorim Jaggi
87078b738b Merge "Make it possible to disable camera on lockscreen" into lmp-dev 2014-08-28 10:46:37 +00:00
Alan Viverette
41ad39421d Rename StatusBar.Material styles to Material.Notification
Replaces a removed style with __removed to avoid breaking
existing apps. This will be (wait for it...) removed prior
to release.

BUG: 17288986
Change-Id: I7e934fcebe39baed39fd8b01bf12bf3bb41305ad
2014-08-28 05:14:03 +00:00
John Spurlock
8f8ecd620c Zen: Remove alarm warnings, color the subhead instead.
- When selecting "None" in the dialog, remove the footer warnings
  about alarms, and associated bits.
- Update subhead text for "None".
- Keep track of how often "None" is used (defined as a user change
  during a visible dialog session) and color the subhead text
  with the warning color until it's been used five times.

Bug:17283115
Change-Id: Ief8a1c557716ec2f581b8338511432d17ac0d371
2014-08-27 17:46:03 -04:00
Winson Chung
3e97f9d48b Merge "Additional changes to improve performance when loading Recents. (Bug 16987565)" into lmp-dev 2014-08-27 20:09:57 +00:00
Winson Chung
ebfc698182 Additional changes to improve performance when loading Recents. (Bug 16987565)
- Ensuring that we consistently load activity icon, title and color for both full and shallow stacks
- Adding activity info caches when loading the stacks
- Should not be scaling pin icon when launching from pin
- Tweaking snap-back, over scroll, and shadows

Change-Id: I556b93562bb2c69e4c25ce787a7a34532ab706ca
2014-08-27 19:07:36 +00:00
John Spurlock
c3dfd32843 Doze: Null check in NotificationContentView.mContractedChild.
Bug: 17247547
Change-Id: Iede5d0cd88db4e293e583f3a3c324354eb6d594e
2014-08-27 14:55:54 -04:00
Jorim Jaggi
15dac5f35b Make it possible to disable camera on lockscreen
Bug: 16807006
Change-Id: I8f439c22d481d52c7edf46d0caf78e26dfeb64e8
2014-08-27 19:08:26 +02:00
Baligh Uddin
c733367f5a Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-27 16:00:03 +00:00
Jorim Jaggi
567ce19951 Merge "Fix missing status bar icons" into lmp-dev 2014-08-27 15:05:30 +00:00
Jorim Jaggi
21e8f419a8 Fix missing status bar icons
Bug: 16481924
Change-Id: I7df734519d112e2b0240f87940f9350bef5ea9df
2014-08-27 16:56:49 +02:00
John Spurlock
03ada9901e Merge "Doze: Better handling for non-default templates." into lmp-dev 2014-08-27 14:45:20 +00:00
John Spurlock
1bf47b9117 Doze: Better handling for non-default templates.
Only apply icon-specific filters if the views are found.

Bug:17289392
Change-Id: I23d1542f8e80d8efed2330fff3f86d0e58a54b7c
2014-08-27 10:02:23 -04:00
John Spurlock
98f8a04620 Merge "StatusBar: Add new icon slot for cast status." into lmp-dev 2014-08-27 13:58:14 +00:00
Jorim Jaggi
394ea9eafa Merge "Content description for clear all notifications" into lmp-dev 2014-08-27 13:43:11 +00:00
Jorim Jaggi
ca3b1af1e3 Content description for clear all notifications
Bug: 17258095
Change-Id: Iafd92f9c1f0bb14ebf53a30b888f144866582925
2014-08-27 15:42:44 +02:00
John Spurlock
96fe98d0c0 StatusBar: Add new icon slot for cast status.
Bug:17275998
Change-Id: I7e80b3d76480fc2fdcb3aa5d445d895829d341d0
2014-08-27 09:36:02 -04:00
Selim Cinek
06d3bca095 Made quick settings RTL compatible.
The layout is now mirrored correctly and the icons as well.

Bug: 15284805
Change-Id: I3d6fadad0a987adb49f826d4189f9dd58e20d326
2014-08-27 12:38:15 +02:00
Selim Cinek
19c8c708f1 Added anti-falsing logic to the keyguard.
Newly enforcing a threshold for the following cases:
Unlocking, Dismissing Notifications, Swiping Down Quick settings.
Also increased the affordance threshold slightly.

Bug: 15433087
Change-Id: I723346dedf9ae0e3f8b103182992ab572fc394b9
2014-08-27 12:38:15 +02:00
Dianne Hackborn
80e29b66c5 Merge "Fix issue #17179314: Make recents limits consistent" into lmp-dev 2014-08-27 04:31:26 +00:00