233311 Commits

Author SHA1 Message Date
Selim Cinek
593610c248 Added the possibility to show custom notifications decorated.
Bug: 26961842
Change-Id: I3966a4e6ecb05b9f284ec5b244b2594f78bcb337
2016-02-19 11:52:12 -08:00
Sudheer Shanka
f498c8ddc1 Merge "Part1 - Don't add padlock if the restriction is not set by admin." into nyc-dev 2016-02-19 19:31:47 +00:00
Adrian Roos
e381c169fc Use actual lockscreen wallpaper
Bug: 25454162
Change-Id: I30ff02420bc4b72d7e4bf9105f2fd4c8017f5756
2016-02-19 11:29:16 -08:00
Sudheer Shanka
a8fbbb30ea Part1 - Don't add padlock if the restriction is not set by admin.
Bug: 26687435
Change-Id: I2fd740b1fa0d76eceedc4dde73e41d779820bbcf
2016-02-19 19:21:57 +00:00
Steve McKay
fdfd5b60fc Merge "Undo generalization isDownloads > supportsChildren." into nyc-dev 2016-02-19 19:17:59 +00:00
Julia Reynolds
73d96fb4bb Merge "Remove Notification Topics." into nyc-dev 2016-02-19 19:17:25 +00:00
Glen Kuhne
b6cd6fa5a7 Add EID_TIM to ScanResult.InformationElement
Added EID_TIM to enable parsing of TrafficIndicationMap
InformationElements.

BUG=25691077
Change-Id: I99450f0b720175660486da15d6b13affbdb61adc
2016-02-19 10:54:51 -08:00
Mady Mellor
f062580d39 Improve touch target for the gear beneath a notification
This CL increases the touch target size of the gear beneath
a notification.

It also adds the logic:
- If the gear is displayed and the notification is touched
then the notification slides back over the gear
- If the grey background is touched rather than the gear
  nothing happens

Bug: 22451710
Change-Id: I7c1d8943e066fdd821446c2f90807891d6b74e5c
2016-02-19 10:52:06 -08:00
Jason Monk
ea168d229d Merge changes Ie427a2d8,I213f1f76 into nyc-dev
* changes:
  SysUI Tuner: UI cleanup and grouping
  SysUI Tuner: Night mode v3
2016-02-19 18:50:05 +00:00
Lajos Molnar
0ab076c5c9 Merge "media: expose audio sample format in MediaFormat" into nyc-dev 2016-02-19 18:47:06 +00:00
John Reck
6cc3a25db5 Temporarily enable fine-grained error checking
Bug: 27186019

Quick testing shows negligable performance impact, so turn
this on temporarily to track down some GL errors

Change-Id: I5700075d5640af0951d832acfde3179ec7511912
2016-02-19 10:39:17 -08:00
Mitchell Wills
8e2602ea26 Merge "Fix FastXmlSerializerTest" into mm-wireless-dev
am: 3ca1ccb419

* commit '3ca1ccb419ec56a191d724ff75c6943200c8cebe':
  Fix FastXmlSerializerTest
2016-02-19 18:22:51 +00:00
Mitchell Wills
e8bab3cd37 Merge "Remove AsyncChannelTest because it does not test anything" into mm-wireless-dev
am: acd97e2e0f

* commit 'acd97e2e0fdcc50f20bc4836188e781583b10f1e':
  Remove AsyncChannelTest because it does not test anything
2016-02-19 18:19:27 +00:00
Mitchell Wills
9a5c5fba25 Merge "DO NOT MERGE Disable failing test case" into mm-wireless-dev
am: 9272fd8f4c  -s ours

* commit '9272fd8f4c74384927ad6502c57153bf188a66ea':
  DO NOT MERGE Disable failing test case
2016-02-19 18:18:14 +00:00
Sudheer Shanka
82f927bd28 Merge "Update string used as summary when an option is disabled by policy." into nyc-dev 2016-02-19 18:15:33 +00:00
Mitchell Wills
3ca1ccb419 Merge "Fix FastXmlSerializerTest" into mm-wireless-dev 2016-02-19 18:13:58 +00:00
Mitchell Wills
acd97e2e0f Merge "Remove AsyncChannelTest because it does not test anything" into mm-wireless-dev 2016-02-19 18:11:20 +00:00
Mitchell Wills
9272fd8f4c Merge "DO NOT MERGE Disable failing test case" into mm-wireless-dev 2016-02-19 18:10:54 +00:00
Diego Perez
1d3c41e563 Merge "Fix Canvas memory leak" into mnc-ub-dev
am: bad0e07ee9

* commit 'bad0e07ee9163d6b0f0bf73ad591ff6e453199ef':
  Fix Canvas memory leak
2016-02-19 18:08:00 +00:00
Mady Mellor
4b80b1025f Initial implementation of dismiss gesture + inline settings icon
- Added a view to display / control the gear behind the noti
- Updated SwipeHelper to hide / show the gear based on the gesture
- Only one notification or notification group can show the gear
  at a time

Couple of things left to do that will come in a follow up CL:
- Animation (to / from inline controls, fading gear based on movement)
- For children in a group there needs to be a grey background

Bug: 22451710
Change-Id: I2f93edf48109a82bab0839c73cbaba1535caee9a
2016-02-19 10:04:27 -08:00
Diego Perez
bad0e07ee9 Merge "Fix Canvas memory leak" into mnc-ub-dev 2016-02-19 17:58:17 +00:00
Diego Perez
e82bd72b6e Fix Canvas memory leak
Every RenderSession would call the AttachInfo.setAttachInfo but wouldn't
issue a View.dispatchDetachedFromWindow.
This caused some Canvas to be slowly leaked in the DelegateManager in
every session.

Change-Id: I0322767e5fffc6053ce1be852dd8ca904dfaa137
2016-02-19 17:57:36 +00:00
Svetoslav Ganov
5350306989 Merge "Don't hold a lock while reading shared preferences from disk." into nyc-dev 2016-02-19 17:12:40 +00:00
Svet Ganov
96db26032e Don't hold a lock while reading shared preferences from disk.
Shared prefrences loads thir content from disk on a separate
thread to improve performance, however it holds the lock
the whole time  while reading from disk which as a result blocks
operations that don't rely on reading data from being performed
intil load completes, e.g. reguistering a prefernces change
listener does not depend on having the data loaded.

bug:5254577

Change-Id: I5ad67b285631c34d5aadac7138ba8bfaa728cf94
2016-02-19 09:11:39 -08:00
Yohei Yukawa
9f1ab4fcc7 Merge "Reset IMMS when the device is unlocked." into nyc-dev 2016-02-19 16:04:59 +00:00
Geoff Mendal
b0e07aa0d6 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-19 15:33:54 +00:00
Geoff Mendal
2b2332b47c Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 27213136
Bug: 27262078
Change-Id: If76097a0645fbc162dd35af9d74e1ac42a21c9f5
2016-02-19 15:33:26 +00:00
Paul Stewart
173aa05908 Properly map EAP-GTC for TTLS
am: 274042519d

* commit '274042519d84ad837f03572865bc096a537c73fb':
  Properly map EAP-GTC for TTLS
2016-02-19 15:29:04 +00:00
Paul Stewart
274042519d Properly map EAP-GTC for TTLS
The "auth=GTC" method was never valid for the TTLS outer
authentication for wpa_supplicant.  Instead, to perform
GTC authentication within TTLS, we should use EAP-GTC.

This CL performs this mapping within WifiEnterpriseConfig.
It accomplishes this by making the EAP Method and Phase 2
Method parameters a part of the internal object state
instead of maintaining this value within the mFields
hashmap.

Further, the problematic "getFields" method is removed
since as this actually provided read/write access to the
entirety of the WifiEnterpriseConfig's internal state.
This was understandably suboptimal.  All callers have
been updated to either use getFieldValue() or to call
a newly added getSupplicantFields() / setSupplicantFields()
methods which make the WifiEnterpriseConfig object a sole
arbiter for the mapping between its internal state and
wpa_supplicant.

In the future it might be good to change this logic to
strip WifiEnterpriseConfig of all of the string hashmap
entirely, leaving WifiEnterpriseConfig as a "struct"
and move supplicant mappings to WifiConfigStore.

Bug:26400915
Change-Id: I866e2f77ad53d9a51c5f61acb9adef522661f721
Test:runtest frameworks-wifi # New unit test in the same topic
Test:cts-tradefed run cts -d --class android.net.wifi.cts.WifiEnterpriseConfigTest
2016-02-19 07:10:31 -08:00
Ben Wagner
31af215b26 Merge "Use UTF32 directly in HarfBuzz<->Skia interface." into nyc-dev 2016-02-19 15:03:48 +00:00
Kenny Guy
477ecd7622 Merge "Allow widget hosts to see widgets from locked profiles." into nyc-dev 2016-02-19 14:40:07 +00:00
Kenny Guy
33f9a9c21a Allow widget hosts to see widgets from locked profiles.
Avoid launchers removing widgets by handling case
where a widget host is in an unlocked parent user and
widget providers are in a locked managed profile.
For this case allow launcher to see the widgets from
non-crypto aware widget providers.
Mask out widgets from locked profiles.
Fix issue with widgets not being masked when adding
new widgets when user is locked / quiet or package
is suspended.

Bug: 26721345
Bug: 27037962
Change-Id: I60b5bd934c1547110e374ab4eefbee6aade37dc6
2016-02-19 14:31:29 +00:00
Narayan Kamath
92584673d6 Merge "Track libcore commit aaebe4e16c487da7555cd230265acc211389781d." into nyc-dev 2016-02-19 13:46:38 +00:00
Narayan Kamath
02545f5dd2 Track libcore commit aaebe4e16c487da7555cd230265acc211389781d.
bug: 27186457
Change-Id: Ibd7d246893d9a97c8eea0e80d181cf2a5313b2d3
2016-02-19 11:41:27 +00:00
Lenka Trochtova
024f979dfd Allow ephemeral users on the split-system-user systems only.
BUG: 27143201

Change-Id: I37f3ca7366648dbf07df39a7a972857e0ff78a9a
2016-02-19 11:11:26 +01:00
Esteban Talavera
44da29407f Merge "Update DevicePolicyManager parent instance documentation" into nyc-dev 2016-02-19 09:37:23 +00:00
Wei Wang
0a05e4aef9 Merge "Add Java API for secure RTT protocol." into mm-wireless-dev
am: 0db6066c7b

* commit '0db6066c7b0583610769fb0f9bc80ceafedefb75':
  Add Java API for secure RTT protocol.
2016-02-19 09:27:19 +00:00
Wei Wang
0db6066c7b Merge "Add Java API for secure RTT protocol." into mm-wireless-dev 2016-02-19 09:22:44 +00:00
Toby Sargeant
a7000fa864 Merge "add developer setting for multiprocess webview" into nyc-dev 2016-02-19 09:14:56 +00:00
Mitchell Wills
86821c07c2 DO NOT MERGE Disable failing test case
Bug: 27258801

Change-Id: I832505e0feca9f0abbf627d009d5982a4437bf83
2016-02-19 07:59:20 +00:00
Mitchell Wills
733fc6b6f9 Fix FastXmlSerializerTest
Change-Id: Ie984abae588927e65bdeffa5a6f5c58bd6ba0bf1
2016-02-18 23:43:30 -08:00
Mitchell Wills
c91e57c1aa Remove AsyncChannelTest because it does not test anything
Change-Id: I7d3fe580a8c32ef3bd10895b51a7fc436f79919f
2016-02-18 23:37:14 -08:00
Lorenzo Colitti
acaf80910d Merge "Move tests for com.android.internal.util out of coretests" into mm-wireless-dev
am: 5947d11119

* commit '5947d11119d2ca1426d358a6850bd5a8d8490ab5':
  Move tests for com.android.internal.util out of coretests
2016-02-19 06:08:15 +00:00
Lorenzo Colitti
5947d11119 Merge "Move tests for com.android.internal.util out of coretests" into mm-wireless-dev 2016-02-19 06:04:25 +00:00
Mitchell Wills
e9e2990baf Merge "DO NOT MERGE Add a new WakeupMessage class" into mm-wireless-dev
am: 019fb9f4e4  -s ours

* commit '019fb9f4e419da4aacfac17ea89112a2f410ecf5':
  DO NOT MERGE Add a new WakeupMessage class
2016-02-19 05:56:04 +00:00
Lorenzo Colitti
35402eb8ae Move tests for com.android.internal.util out of coretests
These are very simple tests with no dependencies, and moving them
out of FrameworksCoreTests makes it possible to iterate much more
quickly.  "runtest frameworks-core" takes almost a minute just to
push to the device, before any tests even start running.

Bug: 25691379
Change-Id: I8d99316a5940e0171883b97c578f9a6882b699a0
2016-02-19 14:35:48 +09:00
Mitchell Wills
019fb9f4e4 Merge "DO NOT MERGE Add a new WakeupMessage class" into mm-wireless-dev 2016-02-19 05:33:36 +00:00
Lorenzo Colitti
a2a9ab947f Add a MessageUtils class to convert int constants to strings.
am: d2457a3ee3

* commit 'd2457a3ee39ea55ed8e302bd93feede793cb5055':
  Add a MessageUtils class to convert int constants to strings.
2016-02-19 05:01:56 +00:00
Svetoslav Ganov
0f3431b616 Merge "Improve requestPermissions API docs and throw correct exception." into nyc-dev 2016-02-19 04:03:50 +00:00
Svet Ganov
f66381cd0d Improve requestPermissions API docs and throw correct exception.
bug:26220898

Change-Id: Iebda3fe13b963b10829de917fb00a9a14186b72c
2016-02-18 20:02:40 -08:00