Sudheer Shanka
9f6bd40108
DO NOT MERGE: Allow apps with CREATE_USERS permission to call UM.getProfiles.
...
am: 7ef684713e
Change-Id: I0a9fa6126709e9cf3d3be7653f48503613d10f27
2016-07-30 04:54:25 +00:00
Sudheer Shanka
7ef684713e
DO NOT MERGE: Allow apps with CREATE_USERS permission to call UM.getProfiles.
...
Bug: 29189712
Bug: 30317026
Bug: 30235113
Change-Id: Icced9805a56675e86f894c458c4a5a0048fd54c0
2016-07-29 10:51:02 -07:00
Sudheer Shanka
177422c91e
Merge \"DO NOT MERGE: Reduce shell power over user management.\" into lmp-mr1-dev
...
am: f1d9152f9f
Change-Id: I61633ebe7944d54f3da36eedaf4bab7308ff3c96
2016-07-12 19:11:35 +00:00
Sudheer Shanka
f1d9152f9f
Merge "DO NOT MERGE: Reduce shell power over user management." into lmp-mr1-dev
2016-07-12 19:03:14 +00:00
Sudheer Shanka
3f12e8e2bf
DO NOT MERGE: Reduce shell power over user management.
...
Remove MANAGE_USERS permission from shell and whitelist it for
some specific functionality.
Bug: 29189712
Change-Id: Ifb37448c091af91991964511e3efb1bb4dea1ff3
2016-07-12 01:59:08 +00:00
Christopher Tate
ec6c3f7a32
Don\\'t trust callers to supply app info to bindBackupAgent() am: c58054f25f
...
am: cd777e95a7
Change-Id: I199f1354df85fcda372002887eafc1e6fb9b19d8
2016-06-16 22:27:04 +00:00
Christopher Tate
cd777e95a7
Don\'t trust callers to supply app info to bindBackupAgent()
...
am: c58054f25f
Change-Id: I3b0bd91c38b5f13770f09f39c2eea78b63c29d7c
2016-06-16 22:21:37 +00:00
Christopher Tate
c58054f25f
Don't trust callers to supply app info to bindBackupAgent()
...
Get the canonical identity and metadata about the package from the
Package Manager at time of usage rather than rely on the caller to
have gotten things right, even when the caller has the system uid.
Bug 28795098
Change-Id: I215786bc894dedf7ca28e9c80cefabd0e40ca877
2016-06-14 13:28:43 -07:00
Christopher Tate
647cb6a6d8
DO NOT MERGE : backport of backup transport whitelist
...
Sysconfig define a whitelist of permitted backup transports
Previously any apk bundled in priv-app could insert a backup transport.
Reduce risk surface by giving the OEM explicit control over who is
allowed to handle backup data.
Bug 28406080
Backport of 494df791728f4d42d67e935c327910975993ad29 from N
Change-Id: I405b49daee8c576584575c3e46877cc97632d8c6
2016-05-23 15:37:57 -07:00
Christopher Tate
5e380f096c
resolve merge conflicts of 7641889 to lmp-mr1-dev
...
am: cebcde3b5a
* commit 'cebcde3b5a1e406d953629d5b4c87347921a17de':
Kill the real/isolated uid group, not the ApplicationInfo uid
Change-Id: I6e3c41c59dfe4105780ad7d6d20f9096aabd575a
2016-04-20 00:05:54 +00:00
Christopher Tate
cebcde3b5a
resolve merge conflicts of 7641889 to lmp-mr1-dev
...
Change-Id: Ie162907d7388d0e388ab39bcf2471d19e2ce7020
2016-04-19 15:51:37 -07:00
Christopher Tate
76418899e6
Kill the real/isolated uid group, not the ApplicationInfo uid
...
This is a direct reimplementation in L of fixes applied to N in
these two commits:
8dc8d37c1d7d694016f1ec2b3cea5fb723567be8
e8741d23d2dd05c4cb3fed5ee6a4040ee96a60e3
Bug 19285814
Change-Id: I59bcc8f1d41c426e9da635bea9ad1d7c6756d5aa
2016-04-18 15:20:01 -07:00
Todd Kennedy
d6174e7402
DO NOT MERGE Fix intent filter priorities
...
Since this is a backport, there is only one rule that guards intent
filter priorities:
1) Updates will NOT be granted a priority greater than the priority
defined on the system image.
Bug: 27450489
Change-Id: Ifcec4d7a59e684331399abc41eea1bd6876155a4
2016-04-05 10:20:41 -07:00
Samuel Tan
d385a6d95f
[DO NOT MERGE] Disallow guest user from changing Wifi settings
...
Disallow existing and newly created guest users from
changing Wifi settings.
BUG: 27411179
TEST: Flashed device, switched to existing guest user, and verified
that Wifi settings are disabled.
TEST: Flashed device, created new guest user, and verified that Wifi
settings are disabled.
Change-Id: Ia1bf4cce0369017b62f69d317c7ab2e30e3949b3
2016-03-18 14:25:41 -07:00
Shreyas Basarge
242bdb6d5b
NPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c1f17 am: eec587edf1 am: 6fc321a66d
...
am: 5e4e02b009
* commit '5e4e02b00999db4513f43d5ddfdd2c71212cc503':
NPE fix for SyncStorageEngine read authority
2016-02-20 01:45:01 +00:00
Shreyas Basarge
5e4e02b009
NPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c1f17 am: eec587edf1
...
am: 6fc321a66d
* commit '6fc321a66d74401e00b2203817f75e29a0426ab7':
NPE fix for SyncStorageEngine read authority
2016-02-20 01:37:34 +00:00
Shreyas Basarge
6fc321a66d
NPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c1f17
...
am: eec587edf1
* commit 'eec587edf1fb4e7bc5f38695f478f191dee1e2d4':
NPE fix for SyncStorageEngine read authority
2016-02-20 01:27:25 +00:00
Shreyas Basarge
eec587edf1
NPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05
...
am: 58048c1f17
* commit '58048c1f17d54166c6a048af2365d17dd32f4d57':
NPE fix for SyncStorageEngine read authority
2016-02-20 01:01:10 +00:00
Shreyas Basarge
58048c1f17
NPE fix for SyncStorageEngine read authority am: a962d9eba7
...
am: 339c4f2b05
* commit '339c4f2b055d40acea280a2d4b6c83c17f86a8b5':
NPE fix for SyncStorageEngine read authority
2016-02-20 00:47:41 +00:00
Shreyas Basarge
a962d9eba7
NPE fix for SyncStorageEngine read authority
...
Add a null check after an authority is read
from disk.
Bug: 26513719
Change-Id: I18f01828141110e776cc96f3b3be3d80125e70c1
2016-02-19 23:38:33 +00:00
Matthew Williams
5fc753acaf
DO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93
...
am: 06ef7dfdf0
* commit '06ef7dfdf0a3efb44326228c55309ec6df134376':
DO NOT MERGE Redact Account info from getCurrentSyncs
2016-01-21 18:14:32 +00:00
Matthew Williams
a5cafd2a93
DO NOT MERGE Redact Account info from getCurrentSyncs
...
BUG:26094635
If the caller to ContentResolver#getCurrentSyncs does not hold the
GET_ACCOUNTS permission, return a SyncInfo object that does not
contain any Account information.
Change-Id: I5628ebe1f56c8e3f784aaf1b3281e6b829d19314
(cherry picked from commit b63057e698a01dafcefc7ba09b397b0336bba43d)
2016-01-21 14:15:11 +00:00
Matthew Williams
be136b7a3e
Redact Account info from getCurrentSyncs am: f39549e389 am: 1a0aed3257
...
am: 0e7cd0a9fb
* commit '0e7cd0a9fbdcb48c551d54627eb964364dd946d0':
Redact Account info from getCurrentSyncs
2016-01-20 11:41:23 +00:00
Matthew Williams
0e7cd0a9fb
Redact Account info from getCurrentSyncs am: f39549e389
...
am: 1a0aed3257
* commit '1a0aed3257ad1b8216930928090885cf4210bd87':
Redact Account info from getCurrentSyncs
2016-01-20 11:37:17 +00:00
Matthew Williams
1a0aed3257
Redact Account info from getCurrentSyncs
...
am: f39549e389
* commit 'f39549e389edf62f43bacd95a1b8580d75ad77ed':
Redact Account info from getCurrentSyncs
2016-01-20 11:32:56 +00:00
Matthew Williams
f39549e389
Redact Account info from getCurrentSyncs
...
BUG:26094635
If the caller to ContentResolver#getCurrentSyncs does not hold the
GET_ACCOUNTS permission, return a SyncInfo object that does not
contain any Account information.
Change-Id: I5628ebe1f56c8e3f784aaf1b3281e6b829d19314
(cherry picked from commit b63057e698a01dafcefc7ba09b397b0336bba43d)
2016-01-20 00:02:58 +00:00
Sreeram Ramachandran
0b542630dd
Don\'t use framework permission strings for netd permissions.
...
am: f1f45fe012
* commit 'f1f45fe012ddbd516e797099994c400a1cac8581':
Don't use framework permission strings for netd permissions.
2015-11-19 15:59:42 +00:00
Sreeram Ramachandran
f1f45fe012
Don't use framework permission strings for netd permissions.
...
These framework permission strings were being used as arbitrary labels
that mapped to netd permissions that have completely different meaning.
This leads to confusion, so use different strings.
This is being cherry picked from lmp-mr1-dev to lmp-dev to fix failures
when creating restricted networks due to prior back-port a120442.
Bug: 21900139
Bug: 18194858
Change-Id: Ib3ec377ab26ce904d3d4678f04edec6cb1260517
(cherry picked from commit 0f8f120839120da543ee186cf25ce6e215423e99)
2015-11-18 17:04:18 +00:00
Matthew Williams
6d13650c74
Sync extras bundle comparison can throw NPE am: c0f39c1ece am: 34b700a7c2
...
am: a0d20db02f
* commit 'a0d20db02f0e6cfc06ec37cfc68ce626dd35858a':
Sync extras bundle comparison can throw NPE
2015-11-13 01:56:30 +00:00
Matthew Williams
a0d20db02f
Sync extras bundle comparison can throw NPE am: c0f39c1ece
...
am: 34b700a7c2
* commit '34b700a7c2355f1dbea4b8d796619033bdd87a0c':
Sync extras bundle comparison can throw NPE
2015-11-13 01:50:11 +00:00
Matthew Williams
34b700a7c2
Sync extras bundle comparison can throw NPE
...
am: c0f39c1ece
* commit 'c0f39c1ece72a05c796f7ba30b7a2b5b580d5025':
Sync extras bundle comparison can throw NPE
2015-11-13 01:41:59 +00:00
Matthew Williams
c0f39c1ece
Sync extras bundle comparison can throw NPE
...
BUG: 23591205
Change-Id: Ic6404c0befe70c34b078e0eae6a627826173d82c
(cherry picked from commit 9ad2c8403354a985258c098681067e74b9e2f638)
2015-11-11 14:34:04 +00:00
Paul Jensen
10a7d7449d
am 96cd7c14: am 635f8711: am a9e98343: Merge "Fix NOT_RESTRICTED network capability and enforce it." into lmp-dev
...
* commit '96cd7c14b5e4a82727f7b56bbdf6cfafda0f17b6':
Fix NOT_RESTRICTED network capability and enforce it.
2015-09-23 11:21:22 +00:00
Paul Jensen
96cd7c14b5
am 635f8711: am a9e98343: Merge "Fix NOT_RESTRICTED network capability and enforce it." into lmp-dev
...
* commit '635f871132449bea7489f6a61276979beeee5591':
Fix NOT_RESTRICTED network capability and enforce it.
2015-09-23 11:13:40 +00:00
Paul Jensen
635f871132
am a9e98343: Merge "Fix NOT_RESTRICTED network capability and enforce it." into lmp-dev
...
* commit 'a9e98343146244b71e236d82c95a8d0fa30a41c1':
Fix NOT_RESTRICTED network capability and enforce it.
2015-09-23 11:06:27 +00:00
Zach Jang
11317e82cf
am 32a420ea: Merge "Revert "Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s.""" into lmp-mr1-dev
...
* commit '32a420ea36fbae07484f6fcf718ed97865ca3158':
Revert "Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s.""
2015-09-16 01:44:58 +00:00
Zach Jang
00db082656
am 203b4354: Merge "Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s."" into lmp-mr1-dev
...
* commit '203b43547da94c9fb78931680b99f9db49fc46c9':
Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s."
2015-09-16 01:44:53 +00:00
Zach Jang
3ee9945be3
Revert "Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s.""
...
This reverts commit 3b49affdb3e18bbe48fc7ab00ccbe2c073b7e35e.
Change-Id: I8639fc6865081f6b1a5773b884f8298cce0d3e7d
2015-09-16 01:38:41 +00:00
Zach Jang
3b49affdb3
Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s."
...
This reverts commit 82b70db7dd906013d131737a5bec2ae59b41ae61.
Change-Id: Iace1607127d7d09cb1cc0afd8e52408fde443f5f
2015-09-15 20:09:52 +00:00
Tao Bao
35c1eb9e65
am 82b70db7: [DO NOT MERGE] Bump up the timeout for uncrypt to 900s.
...
* commit '82b70db7dd906013d131737a5bec2ae59b41ae61':
[DO NOT MERGE] Bump up the timeout for uncrypt to 900s.
2015-08-31 22:03:44 +00:00
Tao Bao
82b70db7dd
[DO NOT MERGE] Bump up the timeout for uncrypt to 900s.
...
Bug: 23629892
Change-Id: I7b722f1b3f43a31dc82c55127c46df6123f14b5d
2015-08-31 14:34:14 -07:00
Paul Jensen
a12044215b
Fix NOT_RESTRICTED network capability and enforce it.
...
With this change:
1. NOT_RESTRICTED should be removed from NetworkRequests that bring up
special restricted carrier networks (e.g. IMS, FOTA).
2. NetworkRequests without NOT_RESTRICTED require CONNECTIVITY_INTERNAL
permission to register
3. Binding sockets to networks without NOT_RESTRICTED requires
CONNECTIVITY_INTERNAL permission
Bug:21637535
Change-Id: I5991d39facaa6b690e969fe15dcbeec52e918321
(cherry picked from commit 487ffe7d3d84bf65212158f7098e8a84b5b55e09)
2015-08-28 12:48:11 -04:00
Wale Ogunwale
5203432808
am 131e6b24: Merge "Prevent system uid component from running in an app process" into lmp-mr1-dev
...
* commit '131e6b24d88c4704687f41e9a016ab1919c53fa4':
Prevent system uid component from running in an app process
2015-07-01 17:03:54 +00:00
Wale Ogunwale
f3dbb57ee8
am c215b2b2: am dc9cfca8: Merge "Prevent system uid component from running in an app process" into klp-dev
...
* commit 'c215b2b24575e6d7693f396c7fdfe675d5ea9d1c':
Prevent system uid component from running in an app process
2015-07-01 16:39:11 +00:00
Wale Ogunwale
ec425a19f9
am df9948d8: Merge "Prevent system uid component from running in an app process" into lmp-dev
...
* commit 'df9948d81232a03271113c16bee6f3ab6b826bad':
Prevent system uid component from running in an app process
2015-07-01 16:18:42 +00:00
Wale Ogunwale
78a22fd273
Prevent system uid component from running in an app process
...
Bug: 21669445
Change-Id: I792c6e676d4b6d54a51228d264130b8125075d98
2015-06-25 09:29:58 -07:00
Wale Ogunwale
dd673a63a6
Prevent system uid component from running in an app process
...
Bug: 21669445
Change-Id: I11d0bc5301d7e2a64972221f54f3cbd611f8e404
(cherry picked from commit 44368567f840e3469b5fd2c9399ed444b6f46ebf)
2015-06-24 22:02:05 +00:00
Wale Ogunwale
5a487696e2
Prevent system uid component from running in an app process
...
Bug: 21669445
Change-Id: I11d0bc5301d7e2a64972221f54f3cbd611f8e404
(cherry picked from commit 44368567f840e3469b5fd2c9399ed444b6f46ebf)
2015-06-24 22:01:15 +00:00
Justin Harrison
33aa55b1ce
am 127d0b80: Merge "Revert "Revert "During early boot, send LOCALE_CHANGED only to registered receivers""" into lmp-mr1-dev
...
* commit '127d0b8065cb87fafddd0cf65a33e42afac69672':
Revert "Revert "During early boot, send LOCALE_CHANGED only to registered receivers""
2015-06-03 21:27:59 +00:00
Justin Harrison
c8fd50b106
am 29b98884: Merge "Revert "During early boot, send LOCALE_CHANGED only to registered receivers"" into lmp-mr1-dev
...
* commit '29b988846721eb870df9813a950ef31a2ecacebd':
Revert "During early boot, send LOCALE_CHANGED only to registered receivers"
2015-06-03 21:27:54 +00:00