232788 Commits

Author SHA1 Message Date
Shreyas Basarge
6275d49007 Add defaultPeriodic to every authority
Adds a default periodic sync to every
authority on boot so that subscribedfeeds
adapter gets back its periodic sync if lost.
This change will bereverted in the next droidfood
build.

Change-Id: Icae76c2baafb471ad69d01a4c65023dc6f6525c0
2016-02-12 20:44:31 +00:00
Amith Yamasani
2a4ac4e5ef Use hasInternetPermission method
Followup to Bug: 27165396

Change-Id: Ibdf6f5dd15197d4e19d7c7729612c13a02cdbf2b
2016-02-12 12:43:15 -08:00
Ben Wagner
242afb7809 Merge "Deduplicate font file mappings." into nyc-dev 2016-02-12 20:32:03 +00:00
Julia Reynolds
597c6d8c5d Merge "Show topic settings inline if user has configured topics." into nyc-dev 2016-02-12 20:31:55 +00:00
Amith Yamasani
b8849e6891 Merge "When the device boots up, netd works more than required" into nyc-dev 2016-02-12 20:27:55 +00:00
Dan Sandler
e79c73d626 DO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm.
Never attribute to malice that which is adequately explained
by a bug, particularly one involving date math.

Bug: 26326394
Change-Id: I3483ac102c678a8852565c8ea94c06e19b3f26d8
(cherry picked from commit 8d9aea8a1870ad83d9eccba1068a1685da5e96d0)
2016-02-12 20:21:23 +00:00
Ben Wagner
fb95699364 Deduplicate font file mappings.
With ttc and gx variation fonts, it is now possible and common that a
number of fonts will use the same font file for data but with different
parameters. In the current code each font will map the font file data,
taking up an unecessary amount of virtual address space and is
inefficient with respect to memory management (like the tlb). This CL
deduplicates these file mappings so that a given font file will only be
mapped into memory once.

DO NOT MERGE
Change-Id: I5ca69f963a434c72ec4028402ecbf9e0f0ee7148
(cherry picked from commit fffcf0a31fd4c9a4ec8aa7de70b1eda0d48fb337)
2016-02-12 19:33:26 +00:00
Jorim Jaggi
9f6798a936 Fix layout for full-screen floating windows
When the app doesn't set IN_SCREEN and INSET_DECOR but the window is
still full-screen, we force SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN but then
we still need to communicate the content insets to the DecorView.

In DecorView, we consume these insets in this mode and set it as
layout params so this behavior is completely transparent for the
app.

Bug: 26464646
Change-Id: Ib7332b845767a5bbc0266c380bf6240e322db943
2016-02-12 19:31:07 +00:00
Julia Reynolds
a0424c729f Merge "Possibly fix deadlock." into nyc-dev 2016-02-12 19:00:43 +00:00
Julia Reynolds
0f50e4ebab Possibly fix deadlock.
Bug: 27122790
Change-Id: I4361cc09e34ea71d7d69a54330ce52574c2b9b3d
2016-02-12 19:00:07 +00:00
Selim Cinek
4f0e1e1d09 Merge changes If981a380,I48a8f882,I4b248b2f,Id9e6ce2a,Ib5239325, ... into nyc-dev
* changes:
  Fixed a bug where custom notifications were invisible
  Fixed a transformation error when fading in views
  Fixed animation jank in notification groups
  Fixed a bug where the single line view would be invisible
  Fixed a bug where huns could be invisible
  Fixed a crash with notification children
2016-02-12 18:56:46 +00:00
Hangyu Kuang
89de5eb346 Update Android mediamuxer documentation as it supports webm already.
Bug: 27075269

Change-Id: Ie2571bb90b6d8dac85dad48d845e21c80b2b250f
2016-02-12 10:55:59 -08:00
Adrian Roos
3aec638a7b Add setting for allowing remote input from keyguard
Bug: 26440855
Change-Id: I539b1c7ee6a874283df1104fe0743ef0495f9510
2016-02-12 18:54:58 +00:00
Ben Wagner
e2caaa9c8d Merge "Add support for gx font variation axes." into nyc-dev 2016-02-12 18:50:12 +00:00
Soi, Yoshinari
a065da1703 When the device boots up, netd works more than required
When the device boots up, netd adds rules for applications
which do not have the NETWORK permission to iptables.
Therefore, optimize NetworkPolicyManagerService to not touch
uids that do not have the NETWORK permission.
This modification is similar to Google commit 88e98dfa5.

Cherry picked from AOSP commit to master.

Bug: 27165396
Change-Id: Ic8bb837143b9e349859210654248195d62b73d17
2016-02-12 10:41:09 -08:00
Vladislav Kaznacheev
0a253a67d9 Merge "Make drag and drop comply with cross profile copy paste policy" into nyc-dev 2016-02-12 18:22:23 +00:00
Vladislav Kaznacheev
da2f1943df Make drag and drop comply with cross profile copy paste policy
If UserManager.DISALLOW_CROSS_PROFILE_COPY_PASTE is false
then drag and drop is only possible between apps from the same
profile.

This CL also supports cross-profile content URI grants.

Bug:26772503
Change-Id: I2e160cfdc6259fee2ea5e561c6e21fc0547dca2e
2016-02-12 10:04:31 -08:00
Teng-Hui Zhu
f7ae8d727b Fix the CSL theme support inside VectorDrawable's fill and stroke
b/26774249

Change-Id: I9a9fcdb0e88c4b46ab86c6b3fd780d40b96024db
(cherry picked from commit 15cc49ae521699b70e3b011768b2ae58a7a9b2fd)
2016-02-12 17:51:20 +00:00
Rubin Xu
faf9bdcdba Small refactoring to eliminate the need to allocate array.
Change-Id: Ib08a16e40c342b12e4f7106376f46d6279f29f2b
2016-02-12 17:22:48 +00:00
Matt Sarett
4531e2df1d Merge "Use SkCodec::MinBufferedBytes() for front buffered image decode stream" into nyc-dev 2016-02-12 17:08:33 +00:00
Neil Fuller
3269825f0b Add flags needed to switch Jack to 1.8 for CTS targets
When linking against .jack files that contain 1.8 language
features Jack (currently) requires -D jack.java.source.version=1.8.

"core-tests" includes 1.8 language features.

Bug: 27113322
Bug: 26953739
Change-Id: If40239d4af59a3d3f71b22e8ef2a07e553c8d5c2
2016-02-12 17:07:51 +00:00
Jean-Michel Trivi
d9cd292369 Merge "Dynamic audio policies: JNI support for UID rules" into nyc-dev 2016-02-12 16:57:50 +00:00
Julia Reynolds
fec58c263c Show topic settings inline if user has configured topics.
Change-Id: Icf51faad61b3ae4261991691a1d679b190ea712a
2016-02-12 11:42:02 -05:00
Ritesh Reddy
9ca8ed9302 Merge "Stashing SyncSettings for accounts added aft SUW" into nyc-dev 2016-02-12 16:30:48 +00:00
Ben Wagner
a87b07d7fa Add support for gx font variation axes.
This adds an 'axis' child element to the 'font' element. The 'axis'
element has attributes 'tag' (a four byte identifier) and 'stylevalue'
(a float value) to the parser. This also modifies reading the font file
name in a backwards compatible fashion by using only the direct #text
children of the 'font' element. (Both the Minikin and Skia parsers now
allow the font file name on a separate line in the fonts.xml file).

This information is then passed through to Skia in order to select the
desired variation. The Skia parser already parses this way and has for
some time, so Chrome and WebView can already read this format.

Change-Id: I15623fe864fa92b2bf0705af5e389daedfb77e5c
(cherry picked from commit b8e367fb7428076ff2e4aa2a97adaed1ef806e92)
2016-02-12 16:28:35 +00:00
Paul Stewart
67a28e8c38 Merge "Revert "Properly map EAP-GTC for TTLS"" into mm-wireless-dev
am: 323561773f

* commit '323561773f43f561997155aed4654a6be3299511':
  Revert "Properly map EAP-GTC for TTLS"
2016-02-12 16:27:07 +00:00
Paul Stewart
323561773f Merge "Revert "Properly map EAP-GTC for TTLS"" into mm-wireless-dev 2016-02-12 16:23:43 +00:00
Paul Stewart
d3be75fd4b Revert "Properly map EAP-GTC for TTLS"
This reverts commit be5084b87aa6a5e97becac6a43b448fee34196c2.

Reverting to re-land after test team does their thing

Change-Id: Ia236b77f08d15f47efb5469478000ded3b0d7954
2016-02-12 16:21:01 +00:00
Paul Stewart
825fb3492a Merge "Properly map EAP-GTC for TTLS" into mm-wireless-dev
am: 724ea69e4b

* commit '724ea69e4b4d79d59629e8152f2b0183e13aa45e':
  Properly map EAP-GTC for TTLS
2016-02-12 16:12:37 +00:00
John Reck
7305edf08b Merge "Fix bytesPerPixel for SurfaceTexture" into nyc-dev 2016-02-12 16:11:31 +00:00
John Reck
623d223193 Fix bytesPerPixel for SurfaceTexture
Bug: 27158985
Change-Id: I148a86d76314681eb778292dd0eb64503375f328
2016-02-12 08:08:29 -08:00
Paul Stewart
724ea69e4b Merge "Properly map EAP-GTC for TTLS" into mm-wireless-dev 2016-02-12 16:07:19 +00:00
Ritesh Reddy
ae0bcddc86 Stashing SyncSettings for accounts added aft SUW
Stashing SyncSettings for accounts not added by SUW Restore time
and restoring these settings whenever the account is added.

Bug: 26181613
Change-Id: Ia83e3fd43385a05424a8991115aa21ac90f4cd49
2016-02-12 15:49:01 +00:00
Narayan Kamath
8bff8a4e47 Merge "Track libcore change 9fbdd1b27de1a3d1005468108." into nyc-dev 2016-02-12 15:41:33 +00:00
Matt Sarett
96ffbdc9dd Use SkCodec::MinBufferedBytes() for front buffered image decode stream
This should not change decode behavior, but it's worth noting that
the number of bytes buffered will decrease from 64 to 30.

Change-Id: I66b0e38a487c1786823b0125686b094dae5d13dc
2016-02-12 15:15:12 +00:00
Sergey Poromov
19ff7804b3 Merge "Use long for preflight check size in BackupManagerService." into nyc-dev 2016-02-12 15:06:00 +00:00
Kenny Guy
716a9e1892 Merge "Support FBE for managed profiles." into nyc-dev 2016-02-12 15:01:35 +00:00
Rubin Xu
0ca088f1a6 Merge "Maintain mSetupCompletedUsers for profiles correctly" into nyc-dev 2016-02-12 14:40:11 +00:00
Kenny Guy
b1b302660c Support FBE for managed profiles.
Allow launcher to see and attempt to launch non-crypto
aware application when profile is locked.
Hide unlock notification until parent user is unlocked.
Have unlock notitication use confirm credentials to unlock
the profile.
Updated notification strings as per suggestions in mocks
to make it clearer between users and profiles.

Bug: 27038260

Change-Id: If2d2c8148670d814544f4edd44193d15da32a289
2016-02-12 14:29:37 +00:00
Rubin Xu
5eb0f3b300 Maintain mSetupCompletedUsers for profiles correctly
When listening for USER_SETUP_COMPLETE changes, refresh the state for
the affected user instead of the current foreground user which excludes
the active managed profile.

Bug: 27061092
Change-Id: Iae525464d3d3faab9afb76aaf4304b9f10382e01
2016-02-12 14:11:27 +00:00
Clara Bayarri
29b13190cd Merge "Add support for current failed lock attempts and max attempts" into nyc-dev 2016-02-12 13:54:10 +00:00
Clara Bayarri
51e41ad887 Add support for current failed lock attempts and max attempts
This is needed from Settings to show a message informing the user
of the number of attempts before their work profile gets wiped
when using ConfirmDeviceCredentials.

Bug: 26677759
Change-Id: I4b16f7dc2f415d0ce0215a3b7a646f98fabece33
2016-02-12 13:50:43 +00:00
Derek Sollenberger
67b1684a07 Merge "Update HWUI makefiles to support use by other targets (e.g. Skia)" into nyc-dev 2016-02-12 13:40:43 +00:00
Rubin Xu
d6c90a8883 Merge "Fix testApplicationRestrictionsManagingApp unit test" into nyc-dev 2016-02-12 11:53:45 +00:00
Narayan Kamath
36fb3a0e34 Track libcore change 9fbdd1b27de1a3d1005468108.
bug: 26689841
Change-Id: I3a0e5d3ab1ada313d73514913990a2aa19ad5b8f
2016-02-12 11:50:04 +00:00
Daniel U
43bb0a0643 Merge "Adopt HTML/CSS color values in fromHtml()" into nyc-dev 2016-02-12 11:24:56 +00:00
Shweta Chahar
239f248280 Merge "Remove higher speech rate settings." into nyc-dev 2016-02-12 11:18:33 +00:00
Erik Kline
1ec7ee58b8 resolve merge conflicts of 3b74289fdf to nyc-dev
Change-Id: Ib41c75bf44bdafbe57532717e8f41a4ed545d29c
2016-02-12 20:01:48 +09:00
Erik Kline
2c5927caeb Merge "Duplicate DhcpStateMachine public constants into DhcpClient" into nyc-dev 2016-02-12 10:51:54 +00:00
Gustav Sennton
7a002a215d Merge "Move current WebView provider from Settings.Secure to Settings.Global" into nyc-dev 2016-02-12 10:35:24 +00:00