12447 Commits

Author SHA1 Message Date
Abodunrinwa Toki
8681720055 Merge "Support min/max height for FloatingToolbar overflow." into mnc-dev 2015-05-18 16:56:56 +00:00
Svet Ganov
321f01574e Hide platform platform legacy permissions behind a menu option - framework.
bug:21195624

Change-Id: I563c448e2abd7d33070ed2d8f62ba1b60a3744e8
2015-05-16 22:52:33 -07:00
Dan Sandler
f6351ece20 Merge "Mmm mmm mmm mmm." into mnc-dev 2015-05-16 03:11:53 +00:00
Zach Johnson
a80282a733 Merge "Create unified BIND_CARRIER_SERVICES permission" into mnc-dev 2015-05-15 22:40:35 +00:00
Dan Sandler
696f6a3c48 Mmm mmm mmm mmm.
Change-Id: I23b560694b9cc0eb2103ec16769b0446099d1e83
2015-05-15 16:10:22 -04:00
Alan Viverette
b47cea9ba1 Merge "Revert "Strip PNG metadata"" into mnc-dev 2015-05-15 16:43:02 +00:00
Alan Viverette
3b0f421685 Revert "Strip PNG metadata"
Removing the color profiles significantly changed the
appearance of some assets.

This reverts commit fe1ca2c535816bf7528b8b77fb5c24f9db324671.

Change-Id: I60d9b645eda927b0fc5adc8b2bd0902fb536208a
2015-05-15 16:41:26 +00:00
Zach Johnson
cdaaa91f7c Create unified BIND_CARRIER_SERVICES permission
Replace BIND_CARRIER_MESSAGING_SERVICE and
BIND_CARRIER_CONFIG_SERVICE since we don't really
need one permission for each carrier service type.

Deprecate BIND_CARRIER_MESSAGING_SERVICE since it
already shipped, but remove BIND_CARRIER_CONFIG_SERVICE
since it hasn't.

b/21165906

Change-Id: I716f3f1c98a228afcfee84cf4a48911f0736ce8c
2015-05-14 15:10:39 -07:00
Joseph Wen
d28bb6e3ac Change the location of Brandmaster statement file.
Change the location of statement file for web asset
from /.well-known/associations.json to /.well-known/statements.json.

BUG=21153250

Change-Id: Ie8538b852d62c54254c895e0abadc7f502ea2181
2015-05-14 16:11:10 -04:00
Geoff Mendal
146adec052 Import translations. DO NOT MERGE
Change-Id: I2fd493c8a9420bd2a42011ff69301d2ef0375523
Auto-generated-cl: translation import
2015-05-14 01:22:15 -07:00
Jaesung Chung
f5edb20ae9 Merge "TIF: Add DVB device handling to TvInputManagerService" into mnc-dev 2015-05-14 02:14:37 +00:00
Yorke Lee
ad0bfe3ae2 Merge "Add BIND_TELECOM_CONNECTION_SERVICE permission" into mnc-dev 2015-05-14 02:06:54 +00:00
Jaesung Chung
58739e7584 TIF: Add DVB device handling to TvInputManagerService
Added an API to pass an open file descriptor of DVB devices and
addressed the security issue of setting the permissions on DVB devices
to 0666.

Bug: 20436120
Change-Id: I4649e76084f3356ec22b7e776fb87c6a8fdc00d6
2015-05-14 02:00:06 +00:00
Robert Greenwalt
8c621ef546 Add support for static RadioCapabilities.
Some RILs don't support RIL_REQUEST_GET_RADIO_CAPABILITY.  Add
code to RIL.java to notice a REQUEST_NOT_SUPPORTED response and
check config.xml (config_radio_access_family) for a static answer.

Also catching GENERIC_FAILURE responses because Hammerhead modem
returns that.  B 21079604 created for this.

If neither Modem nor config.xml provide data, uses RAF_UNKNOWN
so we don't lie about capabilities and also so we fail fast
(setPreferredNetwork won't work).

bug:20561357
Change-Id: I49e4527fe94919a7094bc7c1e100d20e8f833865
2015-05-13 17:04:03 -07:00
Svet Ganov
67b7ec2887 Merge "Access mock location is no longer a runtime permission - framework" into mnc-dev 2015-05-13 23:45:23 +00:00
Yorke Lee
249c12e7b8 Add BIND_TELECOM_CONNECTION_SERVICE permission
Bug: 21088342
Change-Id: I465307899d83c4a3ee5e88a28554c4b867c1f4ba
2015-05-13 16:12:44 -07:00
Svet Ganov
f7e9cf4fb4 Access mock location is no longer a runtime permission - framework
The access mock location is no longer a runtime permission. It is a
signature protected one that apps cannot get but the fact they request
it means they want to inject location into the system. Now the user
gets to choose the current mock location app in developer options from
the apps that request the mock location permission. The access to mock
location is no longer guarded by the permisson but from a new app op
which is off by default and the settiings UI sets it to enabled only
for the currently selected mock location app.

bug:21078873

Change-Id: I19e3f9dc7c7de82eab46b30fec1abfbca54a0e59
2015-05-13 15:37:21 -07:00
Nick Kralevich
9831fad676 Merge "Modify how USB connections are handled." into mnc-dev 2015-05-13 22:31:57 +00:00
Alan Viverette
4f4855bca8 Merge "Use drawableStart in dialog list item so we can set padding" into mnc-dev 2015-05-13 21:44:00 +00:00
Nick Kralevich
fcf10f7c12 Modify how USB connections are handled.
* Introduce a new "charger only" mode. In this mode, MTP is disabled,
and no file transfers can occur.
* Make charger only mode the default.
* Modify "persist.sys.usb.config" so it now only holds the adb status.
* Make the USB settings non-persistent. Unplugging the USB connection will
reset the device back to "charger only" mode.
* Fixup wording per UI guidelines.

TODO: Re-implement MDM restrictions for USB / MTP access controls.

Bug: 18905620
Change-Id: I99a50d9132a81e98187f431166fd9fef4d437e4f
2015-05-13 14:28:13 -07:00
Jason Monk
d7fd045014 Merge "Add default icon for permissions" into mnc-dev 2015-05-13 21:06:30 +00:00
Jorim Jaggi
131a19ee6f Merge "Persist fingerprint names" into mnc-dev 2015-05-13 20:32:31 +00:00
Jorim Jaggi
ee77cebc1a Persist fingerprint names
Bug: 20469328
Change-Id: I8f4a988687bfb78c36cc7cf187103a9d93ed4535
2015-05-13 13:25:26 -07:00
John Spurlock
fb13d497ae Merge "Zen: Use shorter version of countdown condition summary in footer." into mnc-dev 2015-05-13 20:10:49 +00:00
Jason Monk
0e6cac2658 Add default icon for permissions
Bug: 21119477
Change-Id: Ie982a1b42d2195ab79c33cf87756efb3bd9eab29
2015-05-13 16:07:57 -04:00
John Spurlock
bbde26774f Zen: Use shorter version of countdown condition summary in footer.
To try and keep to two-lines.

Bug: 21119801
Change-Id: I5a6760381a6b673b8481164f92cf6b7b236af349
2015-05-13 15:45:40 -04:00
Jeff Sharkey
4c27d91708 Merge "Updated storage notification icons." into mnc-dev 2015-05-13 19:35:28 +00:00
Jeff Sharkey
a49d5fc767 Updated storage notification icons.
Bug: 19993667
Change-Id: Ibecb634ad7993dc8d1b244654396a6176a0891b9
2015-05-13 11:41:56 -07:00
Alan Viverette
876677ef2d Merge "Strip PNG metadata" into mnc-dev 2015-05-13 17:53:15 +00:00
Geoff Mendal
247c699804 Import translations. DO NOT MERGE
Change-Id: If88312e77d2b5b89b00097db2923a8953ac460ff
Auto-generated-cl: translation import
2015-05-13 09:05:02 -07:00
Abodunrinwa Toki
ffebf68202 Support min/max height for FloatingToolbar overflow.
FloatingToolbar overflow now supports a minimum height of 2 items and
a maxiumum height of 4 items. As was the behavior before this CL,
it prefers to open the overflow above the selection.

Change-Id: Ia7f7bf28530d57c036fb74eea0467d6f5704eb4c
2015-05-13 16:17:56 +01:00
Svet Ganov
20cb37c6cb Merge "Lower protection level of permissions of permissions" into mnc-dev 2015-05-13 03:55:37 +00:00
Svet Ganov
b467330b14 Lower protection level of permissions of permissions
Permissions ACCESS_NETWORK_STATE, INTERNET, NFC, DISABLE_KEYGUARD
do not lead to unrecoverable damage and do not lead to PII leaks,
hence they do not meet the bar to be runtime permissions and we
are lowering their protection level.

bug:21078873

Change-Id: I30c8e742d6a69474171994b65ce070068402ae47
2015-05-12 20:50:17 -07:00
Alan Viverette
fe1ca2c535 Strip PNG metadata
Change-Id: I0d981780f9e6cc8823ff75e662af3f050ff00037
2015-05-12 17:46:07 -07:00
Alan Viverette
c25771ce22 Merge "Update scrollIndicators XML enums to match View constants" into mnc-dev 2015-05-12 23:34:15 +00:00
Alan Viverette
a789325a0f Update scrollIndicators XML enums to match View constants
Bug: 21027462
Change-Id: I41e503e218253cf63bc44a82345f8b086261e379
2015-05-12 16:25:47 -07:00
Roozbeh Pournader
0ca0f58000 Merge "Add hyphenationFrequency attribute to TextView and StaticLayout." into mnc-dev 2015-05-12 22:59:47 +00:00
Alan Viverette
9050c97bc6 Use drawableStart in dialog list item so we can set padding
And you might think, why does CheckedTextView implement its own drawable
when we have a perfectly good TextView that not only supports drawables
but also supports adjusting the padding?

Good question.

Change-Id: I1ed598846c8a08fffaec9258cf0c3ff86c25353a
2015-05-12 15:25:29 -07:00
Roozbeh Pournader
95c7a13f2a Add hyphenationFrequency attribute to TextView and StaticLayout.
This patch adds plumbing to TextView and StaticLayout to control the
frequency of automatic hyphenation used in laying out paragraphs.

Bug: 21038249
Change-Id: Ib45de190eb0a1ed738e69fd61f2b39561b11aec7
2015-05-12 14:56:57 -07:00
Alan Viverette
01193e031b Specify tint on top-level vector tag, rather than fillColor
Ensures that setting the tint programatically or from a view XML
attribute works as expected, masking against a solid color rather
than a non-opaque theme color.

Also specifies missing tint on ic_audio_ring_notif.

Change-Id: Ib65e41eb23c5e5a2f44264ee32681f7ac943ecc4
2015-05-12 13:49:43 -07:00
Olawale Ogunwale
e0b2cad093 Merge "Change attribute values per API council." into mnc-dev 2015-05-12 17:43:03 +00:00
Craig Mautner
61e1e09a2b Change attribute values per API council.
lockTaskModeDefault => default
lockTaskModeNever => never
lockTaskModeIfWhitelisted => if_whitelisted
lockTaskModeAlways => always

Fixes bug 20642190.

Change-Id: I29cc546e12c330df9ec9af3cc91faf0d0f3df3b4
2015-05-12 10:26:13 -07:00
Jason Monk
27bbb2d0a1 Add control for double tap to wake setting
Bug: 16875464
Change-Id: Ic1ad910dd38acbc68ef040b2acdf3696ec2c2e4e
2015-05-12 10:12:32 -04:00
Svetoslav
faf5521987 Merge "Update permission group descriptions." into mnc-dev 2015-05-11 20:04:49 +00:00
Svetoslav
b397d9fe2e Update permission group descriptions.
Change-Id: Idfdd9215430481d43f5ee638ce1eb32413ffcb1e
2015-05-11 13:04:08 -07:00
Adam Powell
5fccffd573 Merge "Bringing new Chooser UI closer to spec" into mnc-dev 2015-05-11 19:17:29 +00:00
Adam Powell
7d7580019e Bringing new Chooser UI closer to spec
Separate the chooser targets into rows by type. Remove some API that
was redundant with LabeledIntent, simplifying ChooserTarget.

Change-Id: I90de471825f05d85e6ffbe72a32fb597be824a30
2015-05-11 12:16:19 -07:00
Zoltan Szatmary-Ban
11a1086f69 Merge "Improve javadoc on android.permission.PACKAGE_USAGE_STATS" into mnc-dev 2015-05-11 16:24:52 +00:00
Geoff Mendal
7846d966f5 Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-05-11 16:15:01 +00:00
Geoff Mendal
fc0a274438 Import translations. DO NOT MERGE
Change-Id: I9eba7c09bb5f603b1260ede6a3de590670af76ff
Auto-generated-cl: translation import
2015-05-11 09:02:26 -07:00