12761 Commits

Author SHA1 Message Date
Rubin Xu
cf9aebf138 Merge "Remove ExternalStorageFormatter" into mnc-dev 2015-07-13 13:55:53 +00:00
Billy Lau
96d00ab359 Merge "Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission" into mnc-dev 2015-07-12 22:02:37 +00:00
Billy Lau
22b3f4cb15 Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission
Raised the protection level of WRITE_SETTINGS permission to appop and also
allowed backwards compatibility with pre23 flag. Also made sure that this
permission is not added as RuntimePermission in DefaultPermissionGrantPolicy as
that breaks a lot of gmscore stuff.

Introduced new action to manage write system settings as a new API and
renamed the string that describes the managing of overlay permission.

Change-Id: Ifd25a6ddc06de68ee37015cb9fb23452e4ef10f4
2015-07-12 22:41:00 +01:00
Geoff Mendal
27963efe42 Import translations. DO NOT MERGE
Change-Id: I59264674ef40a0f68a80c0ca9973e3aba2c06db1
Auto-generated-cl: translation import
2015-07-11 10:35:45 -07:00
Rubin Xu
cb746a860c Remove ExternalStorageFormatter
Bug: 9433509
Change-Id: I815770e0e0314fc7012ebc213f2167a13d6f37d1
2015-07-09 21:39:01 +01:00
Jeff Brown
c1aebfa02c Merge "Clean up USB Manager and fix ADB." into mnc-dev 2015-07-09 20:03:29 +00:00
Jeff Brown
460a146eb8 Clean up USB Manager and fix ADB.
Moved functions which parse the USB functions list into one common
place on UsbManager.

Deleted the no longer supported USB_FUNCTION_MASS_STORAGE.

Ensured that the UserManager.DISALLOW_USB_FILE_TRANSFER rule is
consistently applied during user switch and when changing the
current USB functions and make sure it only affects MTP and PTP.

Collapsed the boot completed and user switched receivers to
ensure consistent ordering of side-effects.

Validate the list of functions passed to setCurrentFunction() so
that the separation of concerns is clearer.  It was somewhat
ambiguous as to whether functions such as ADB could / should be
enabled through that interface.  Improved the docs for clarity.

Fixed a bunch of broken stuff related to the USB config
persistent property (list of default functions) that could cause
ADB and other functions to not work at all.  Added new failsafes
to ensure that we reliably get back into a happy state.

Bug: 22206076
Change-Id: I02915ddfce7193a8f67a14f0d76bab22fc575dfa
2015-07-09 12:55:56 -07:00
Svet Ganov
9b84b5c513 Merge "Update storage group icon" into mnc-dev 2015-07-08 23:51:21 +00:00
Ian Pedowitz
224f0369ca Merge "com.android.mms is no more, so removing from default_sms_application" into mnc-dev 2015-07-08 23:01:19 +00:00
Ian Pedowitz
de8d3a53a8 com.android.mms is no more, so removing from default_sms_application
Fixing a minor comment typo

Bug: 22333078
Change-Id: Id2df5805567967fcf5544dca0264e130b46b4858
2015-07-08 23:00:22 +00:00
Svet Ganov
a06c7c505b Update storage group icon
bug:22316881

Change-Id: I64ea70d0d195721bbe12a5b673a010254b952e2f
2015-07-08 13:19:37 -07:00
Geoff Mendal
8c1dfcecc3 Import translations. DO NOT MERGE
Change-Id: I81911866f73a1274582b6c93803eebff7e0e229e
Auto-generated-cl: translation import
2015-07-08 11:38:01 -05:00
Etan Cohen
3e639057b8 Merge "Add ACCESS_IMS_CALL_SERVICE hidden permission." into mnc-dev 2015-07-08 04:02:08 +00:00
Dianne Hackborn
b14dc048ec Merge "Add new "preinstalled" permission flag." into mnc-dev 2015-07-08 01:03:46 +00:00
Ian Pedowitz
2020178f97 Merge "Revert "Set default SMS application to Messenger"" into mnc-dev 2015-07-08 00:47:27 +00:00
Ian Pedowitz
64b756f121 Revert "Set default SMS application to Messenger"
This reverts commit a21d249e45abf99c2f4acbbb47bf00e9803db1aa.

Bug: 22261909
Change-Id: I064b8fe98eeec96a534c0f2ea3ec63057a5a1a1d
2015-07-08 00:46:54 +00:00
Vineeta Srivastava
578eef7001 Merge "Enforce camera shutter sound for India" into mnc-dev 2015-07-08 00:30:00 +00:00
Dianne Hackborn
a90c8def2c Add new "preinstalled" permission flag.
This allows you to specify that a permission can be granted to
any pre-installed system app (not just privileged ones).

And as long as I am doing this, clean up the old "system" permission
flag, renaming it to "privileged" which is what it really is today,
deprecating the old names.  And switch the platform's permission
declarations to use the new name.

Change-Id: Iabf484746af232144786851ec7fe90e3de9dddb2
2015-07-07 17:25:25 -07:00
Sungmin Choi
3649231c1e Enforce camera shutter sound for India
Bug: 22187754
Change-Id: I422bd3654f7cb6382db5101b0d7c8fd5bdce8dac
2015-07-07 17:15:28 -07:00
Svetoslav
3e07ee078d Merge "Grant installer and verifier install permissions robustly" into mnc-dev 2015-07-07 23:44:34 +00:00
Ian Pedowitz
1c677b1e40 Merge "Set default SMS application to Messenger" into mnc-dev 2015-07-07 22:20:30 +00:00
Svetoslav
3e7d977ff7 Grant installer and verifier install permissions robustly
bug:22248271

Change-Id: I3a47ae9a112ba7d88b421fcb5f9651d1168ba7a5
2015-07-07 14:02:51 -07:00
Etan Cohen
bbf40aeab3 Add ACCESS_IMS_CALL_SERVICE hidden permission.
Bug: 17361897
Change-Id: I2b3ef57c647204d981ada9c8bd4f92fbbd3fc748
2015-07-07 09:10:54 -07:00
Ian Pedowitz
937edac8e8 Revert "Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission"
This reverts commit d6b404c72da7e2475508c7d5948494b2e9b1a262.

This CL seems to have broken the build, causing GMSCore to continuously
crash.

Bug: 22313634
Bug: 22312938
Bug: 22314605
Bug: 22308392
Bug: 22307889
2015-07-07 08:32:44 -07:00
Ian Pedowitz
5bc88b9f46 Merge "Final resource IDs." into mnc-dev 2015-07-07 06:13:14 +00:00
Jan Nordqvist
2047929ef7 Merge "Changed config_wifi_hotspot2_enabled to false." into mnc-dev 2015-07-07 01:41:17 +00:00
Billy Lau
c81ecb6d2c Merge "Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission" into mnc-dev 2015-07-07 00:27:33 +00:00
Billy Lau
d6b404c72d Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission
Raised the protection level of WRITE_SETTINGS permission to appop and also
allowed backwards compatibility with pre23 flag.

Introduced new action to manage write system settings as a new API and
renamed the string that describes the managing of overlay permission.

Change-Id: I939a95b9a8b1ae75bf67aa6d8190c92a8d2001d3
2015-07-07 00:27:53 +01:00
Dianne Hackborn
61ba419429 Final resource IDs.
Change-Id: I6200a013375f1b3e196b6426a6c925f4e9dfe4b1
2015-07-06 18:43:13 +00:00
Jeff Sharkey
7fd3c296f1 Merge "Permission to view shared storage for all users." into mnc-dev 2015-07-06 17:59:11 +00:00
Jeff Sharkey
32e80d7588 Permission to view shared storage for all users.
Typical apps are restricted so they can only view shared storage
belonging to the user they're running as.  However, a handful of
system components need access to shared storage across all users,
such as DefaultContainerService and SystemUI.

Since WRITE_MEDIA_STORAGE already offers this functionality by
bypassing any FUSE emulation, reuse it to grant the "sdcard_rw" GID
which is no longer handed out to third-party apps.  Then we change
the FUSE daemon to allow the "sdcard_rw" GID to see shared storage
of all users.

Bug: 19995822
Change-Id: I504c2a179ba74f142ed0d32da5baa69f4212cd82
2015-07-06 10:54:28 -07:00
Geoff Mendal
85bac1cc19 Import translations. DO NOT MERGE
Change-Id: I6c69d2d259e0341bb42765b0940a607599df666b
Auto-generated-cl: translation import
2015-07-06 10:29:06 -07:00
Ian Pedowitz
a21d249e45 Set default SMS application to Messenger
Bug: 22261909
Change-Id: Ie5414300977b27a8de7e14ad62e12c8350794e73
2015-07-03 15:18:08 -07:00
Rubin Xu
c85c639312 Remove ExternalMediaFormatActivity
This activity is no longer used by any part of the framework.

Bug: 9433509
Change-Id: Iace394b7a11b75ed75b2eefc05990626a7e68ac2
2015-07-02 16:53:57 +01:00
Dianne Hackborn
76664d9dcf Merge "Work on issue #21589105: Scope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW..." into mnc-dev 2015-07-01 22:21:10 +00:00
Dianne Hackborn
de15edaa9b Work on issue #21589105: Scope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW...
...to an explicit toggle to enable in Settings

Add a new permission flag, saying the permission can be automatically
granted to pre-api-23 apps.  Apply this to SYSTEM_ALERT_WINDOW.

Change-Id: I24a0ceabe7e9f5e458a864d30eda2696ad14a699
2015-07-01 12:37:00 -07:00
Geoff Mendal
5e039e64bd Import translations. DO NOT MERGE
Change-Id: I1492b302d8c75b2b6c9d5f0a51a65ab8c8d3e848
Auto-generated-cl: translation import
2015-07-01 12:29:58 -05:00
Svet Ganov
22233b51c3 Merge "Remove the empty accounts group and not needed storage resources." into mnc-dev 2015-07-01 02:32:50 +00:00
Alan Viverette
aa69922ace Use non-greedy view to draw background in landscape time picker
Bug: 21933765
Change-Id: I95d608e9be166308e3a9b013a2c4c17cd4345046
2015-06-30 15:29:13 -07:00
Svet Ganov
6dc94c5460 Merge "Update the stroage icon." into mnc-dev 2015-06-30 16:50:58 +00:00
Filip Gruszczynski
4954aff536 Merge "resolved conflicts for merge of e89d821e to mnc-dev" into mnc-dev 2015-06-30 15:19:37 +00:00
Billy Lau
f62f4c94a3 Merge "Bug: 21589105 Rescoping the SYSTEM_ALERT_WINDOW permission to an explicit toggle to be manually enabled in Settings." into mnc-dev 2015-06-30 09:05:34 +00:00
Svet Ganov
1be564adac Update the stroage icon.
bug:22172919

Change-Id: Ie3ff2a7ceb76123462e3f2dcbd44028d976de19b
2015-06-29 22:16:00 -07:00
Jorim Jaggi
e85da2bad5 Add accessibility event for assist disclosure
Bug: 21568059
Change-Id: Ib51d4236fcc87acd54cb5d191197b9b2c6cc54ea
2015-06-30 00:27:14 +00:00
Filip Gruszczynski
2399a9279f resolved conflicts for merge of e89d821e to mnc-dev
Change-Id: I3dea6a0947df26b99a779979d68f018d1ad678dc
2015-06-29 17:07:33 -07:00
Filip Gruszczynski
e89d821e33 am b6c158f9: Merge "Dump of previous vibrations." into cw-d-mr1-dev
* commit 'b6c158f9d863768d5d8315f2a4a4bb87c4db2fea':
  Dump of previous vibrations.
2015-06-29 20:59:50 +00:00
Filip Gruszczynski
b6c158f9d8 Merge "Dump of previous vibrations." into cw-d-mr1-dev 2015-06-29 20:47:10 +00:00
Alan Viverette
a1b647c883 Merge "Always remeasure ListView scrap used to obtain minimum width" into mnc-dev 2015-06-29 19:39:29 +00:00
Svet Ganov
ca2c590ba3 Remove the empty accounts group and not needed storage resources.
bug:22044480

Change-Id: I76297f5540614301893871b3b41219002076b920
2015-06-29 10:19:07 -07:00
Geoff Mendal
cda214a1c3 Import translations. DO NOT MERGE
Change-Id: Ia7c3e19454b5350971e62e79804cc45512436b98
Auto-generated-cl: translation import
2015-06-29 09:45:56 -07:00