1236 Commits

Author SHA1 Message Date
Pavel Zhamaitsiak
bb6e981027 Merge \\"Move IMS-related protected broadcasts to packages/services/Telephony\\" into nyc-mr1-dev am: 9b464f651b
am: 960187cfd7

Change-Id: Ie13deb46a8ee9201087a00fc9318cfa9462dcd98
2016-06-15 23:14:43 +00:00
Pavel Zhamaitsiak
022b6fe928 Move IMS-related protected broadcasts to packages/services/Telephony
Bug: 29228175
Change-Id: I03bf54dde0ae1a40eda7fde655124a1d2a901442
2016-06-15 13:21:54 -07:00
Ricky Wai
84d2c0de2e resolve merge conflicts of 6f1ed20 to nyc-mr1-dev
Change-Id: I9fe1e50f99382cbd8cd90f77ef99d081b472bb81
2016-06-13 15:36:45 +01:00
Ricky Wai
d9250075fc resolve merge conflicts of 8513817 to nyc-mr1-dev-plus-aosp
am: 66d2b4175c

Change-Id: I8297caccca3704e683cf5f9577d029a692df97ea
2016-06-13 14:19:34 +00:00
Ricky Wai
66d2b4175c resolve merge conflicts of 8513817 to nyc-mr1-dev-plus-aosp
Change-Id: I1b3fbe77722b34ca754667ba3e9b9c3753002c29
2016-06-13 15:11:31 +01:00
Ricky Wai
6f1ed200b3 Merge "Disable quiet mode after UserManager.trySetQuietModeDisabled() is unlocked" into nyc-dev 2016-06-13 13:12:48 +00:00
Sudheer Shanka
2f04769131 Merge \\\"Reduce shell power over user management.\\\" into nyc-dev am: 1b4124fc95 am: 0979d718c5
am: c1befac360

Change-Id: Ia608e9ce2a2c842971c5424fea8823069a5f6449
2016-06-10 21:59:26 +00:00
Sudheer Shanka
c1befac360 Merge \\"Reduce shell power over user management.\\" into nyc-dev am: 1b4124fc95
am: 0979d718c5

Change-Id: I63bb1c87e01b3536096a508046dba9de8b88bb59
2016-06-10 21:43:38 +00:00
Sudheer Shanka
a2ef5c89c0 Merge \"Reduce shell power over user management.\" into nyc-dev
am: 1b4124fc95

Change-Id: Ia54f3ad9a8594e101407db6b52b378ae8bec72a2
2016-06-10 21:39:22 +00:00
TreeHugger Robot
1b4124fc95 Merge "Reduce shell power over user management." into nyc-dev 2016-06-10 21:33:28 +00:00
Sudheer Shanka
f5cea03eb0 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-06-10 13:05:18 -07:00
Svet Ganov
cd32a04f66 Merge \\\"Protect the android.intent.action.CALL_PRIVILEGED broadcast\\\" into nyc-dev am: c94872e940 am: 08504b5e0d
am: 22b24425a6

Change-Id: I81be49b8396538273d1254fe14065625ece31160
2016-06-10 00:03:48 +00:00
Stuart Scott
86d71144d4 Merge \\"Add UCE Service Down protected broadcast\\" into nyc-mr1-dev am: 3e03d02f76
am: 5cdb347384

Change-Id: I9b2365f99397d5312a8012c9c394919f76f3fcd5
2016-06-10 00:01:19 +00:00
Svet Ganov
08504b5e0d Merge \"Protect the android.intent.action.CALL_PRIVILEGED broadcast\" into nyc-dev
am: c94872e940

Change-Id: I722d5bfbed781c28db5da59f303c2579123d8e6e
2016-06-09 22:52:26 +00:00
Svetoslav Ganov
c94872e940 Merge "Protect the android.intent.action.CALL_PRIVILEGED broadcast" into nyc-dev 2016-06-09 22:44:51 +00:00
Stuart Scott
aa587546ec Add UCE Service Down protected broadcast
bug:29173516
Change-Id: I1c5743962dbca9c482ce7d87f6fe570a3249f3fe
2016-06-09 12:58:31 -07:00
Ricky Wai
b1dd80bcfe Disable quiet mode after UserManager.trySetQuietModeDisabled() is unlocked
Bug: 29150970
Change-Id: Ie04cec116564147272896e4a5ca076bbc08e60b1
2016-06-09 17:08:52 +01:00
Svet Ganov
c69266dec6 Protect the android.intent.action.CALL_PRIVILEGED broadcast
bug:29178416

Change-Id: I5e8f1e5423d0dd59cc532a45142b2401f5e5a45b
2016-06-08 22:15:35 -07:00
Amith Yamasani
9f62bf9370 resolve merge conflicts of c33507d to nyc-mr1-dev-plus-aosp
am: b8ab1d3b12

Change-Id: I9f4879ae27560ade8fa4e6124908c3dced68feb1
2016-06-08 19:03:36 +00:00
Amith Yamasani
b8ab1d3b12 resolve merge conflicts of c33507d to nyc-mr1-dev-plus-aosp
Change-Id: Id4b3de71842eedd49684b367ed993f44f2f91970
2016-06-08 11:50:57 -07:00
Amith Yamasani
211b5b10f6 resolve merge conflicts of 718f321 to nyc-mr1-dev
Change-Id: I0021aa5be1822082d8ff026cafa8c8b6b56b90b5
2016-06-08 18:43:46 +00:00
Amith Yamasani
d2b21047c8 Add a separate read permission for oem unlock state
New privileged permission READ_OEM_UNLOCK_STATE added
for system privileged apps.

Changing the unlock state still requires the old
permission OEM_UNLOCK_STATE, which is signature protected.

Bug: 28953956
Change-Id: Iedd2ad1d2d1dc3ae91122d7c406e3ee623a47d61
2016-06-03 14:33:26 -07:00
Suprabh Shukla
d97d8cc0ca Merge "Adding Reset Demo Notification" into nyc-mr1-dev am: 1b9f13d7bc
am: 6e215f895b

* commit '6e215f895beb16e822d689f179a7458611d6395a':
  Adding Reset Demo Notification

Change-Id: I18fae0829c3b3c83025e95a73d6e4cabdda1ad71
2016-05-28 00:59:27 +00:00
Suprabh Shukla
4ec430e062 Adding Reset Demo Notification
RetailDemoMOdeService adds a notification which allows user to wipe
current session and start a fresh demo session.

Bug: 27280140
Change-Id: I59dd82d236287206a2ca747210b3423fdc62c185
2016-05-27 15:34:54 -07:00
Dianne Hackborn
ea833e898e Merge "Fix issue #28931042: wtf in system server" into nyc-dev am: 7a1aa92610 am: 9bebd9edb0
am: caf8c3c160

* commit 'caf8c3c160952aff4b4197c1e0282489583a942d':
  Fix issue #28931042: wtf in system server

Change-Id: I86bf73a1294ccf4ef7ef63188e72942b17e61b0c
2016-05-25 00:30:46 +00:00
Dianne Hackborn
a8e6f875bc Fix issue #28931042: wtf in system server
More broadcasts (from telephony) that should be protected.

Also put a little more information in the wtf message to
help determine where broadcasts from out of the system process
are coming from.

Change-Id: Ie3df25c883482ca54c7a7c5db57ca609950f5cbc
2016-05-24 15:35:27 -07:00
Sudheer Shanka
99e4de3194 Merge "Merge "Update docs for DELETE_PACKAGES permission." into nyc-dev am: 0e351a945b am: ca8ecc0be1" into nyc-mr1-dev-plus-aosp
am: b73a4a6678

* commit 'b73a4a6678aa508f1ddfa3260af5a7cbf52ac7cb':
  Update docs for DELETE_PACKAGES permission.

Change-Id: I511f13b5258f23a56bd1f30ce14a98b1e65572b8
2016-05-10 20:39:14 +00:00
Sudheer Shanka
0e351a945b Merge "Update docs for DELETE_PACKAGES permission." into nyc-dev 2016-05-10 20:28:37 +00:00
Sudheer Shanka
eaa6c6b540 Update docs for DELETE_PACKAGES permission.
Bug: 28302564
Change-Id: I283b8a5490a189fc90f64aec3278b87a430c2623
2016-05-09 11:44:00 -07:00
Christopher Tate
d74587fb4c Merge "Move the \'pretend idle jobs can run now\' broadcast into AMS" into nyc-dev am: 0588954071 am: 2591ee2b0b
am: ad2b44c8c7

* commit 'ad2b44c8c7907a971e7437c5ccd0f823caec53fd':
  Move the 'pretend idle jobs can run now' broadcast into AMS

Change-Id: I50b6ca257b7995d6a50fe938f8d4c788f739001a
2016-05-06 21:53:58 +00:00
Christopher Tate
27d92e4e39 Move the 'pretend idle jobs can run now' broadcast into AMS
It's a protected broadcast, so sending it directly from 'am' is
no longer an option.  This is needed for CTS as well as being
generally useful during app development.

Bug 28406044

Change-Id: I101915a8c6f19454330a8db2079a75023c112582
2016-05-06 11:25:11 -07:00
Ajay Panicker
852aa88d6b Protect TRANSFER_COMPLETE broadcast am: 2759e429d1 am: 71430fefe8
am: 2e2a044ea2

* commit '2e2a044ea27bc70180220f75deceab18fd595c44':
  Protect TRANSFER_COMPLETE broadcast

Change-Id: If024a1017cffd71a569751746d27fa3cdd242bd7
2016-05-06 15:29:45 +00:00
Ajay Panicker
2759e429d1 Protect TRANSFER_COMPLETE broadcast
Bug: 28621801
Change-Id: Ia90abd00694ae80000f59ee0a17826592fd2159b
2016-05-06 15:11:30 +00:00
Adam Powell
33d1dd6370 Merge "Have the Resolver/Chooser activities handle resize config changes" into nyc-dev am: a75d4877af am: da00132d47
am: c86ba5580d

* commit 'c86ba5580da11f83e976224eff7ea577a829c749':
  Have the Resolver/Chooser activities handle resize config changes

Change-Id: Icfa8381fa99cc8a2697ce2605d6e0194a372dfef
2016-05-05 16:16:32 +00:00
Adam Powell
a75d4877af Merge "Have the Resolver/Chooser activities handle resize config changes" into nyc-dev 2016-05-05 16:04:07 +00:00
Adam Powell
46ef0579dd Have the Resolver/Chooser activities handle resize config changes
Both of these activities do additional work and look janky when
rebuilding for a config change, especially in the presence of
multiwindow. As neither of them use layouts or other resources that
vary based on configuration, mark them as handling the relevant config
changes.

Bug 27171954

Change-Id: I38df1d875bcb063d72316b586c4d3f8074c4fad9
2016-05-04 16:47:59 -07:00
Amit Mahajan
2c14a5886a Merge "Marking @SystemApi permissions @hide too." into nyc-dev am: 441da79d8a am: 8f04f5f3ba
am: 075ceeda01

* commit '075ceeda01dd9890d7464492a291a94113a19e11':
  Marking @SystemApi permissions @hide too.

Change-Id: Ic8da194de3b1a405ed72a9c04e44a04f79e66eba
2016-05-04 22:30:19 +00:00
TreeHugger Robot
441da79d8a Merge "Marking @SystemApi permissions @hide too." into nyc-dev 2016-05-04 20:50:16 +00:00
Ajay Panicker
491354e52d Merge "List the CONNECTION_STATE_CHANGED broadcast for MAP as protected" into nyc-dev am: 95aa2fc323 am: 0a20048742
am: 1b0d5d3414

* commit '1b0d5d3414dfb0e881af0d374da80965a2cf95c6':
  List the CONNECTION_STATE_CHANGED broadcast for MAP as protected

Change-Id: I96c9d28211ee4657ceb1928c182a9153ac18613f
2016-05-03 20:05:28 +00:00
Ajay Panicker
2f78bf96d2 List the CONNECTION_STATE_CHANGED broadcast for MAP as protected
Bug: 28527879
Change-Id: Ifb2db87677e92022814bb9704c26009d249ac6ce
2016-05-03 11:24:13 -07:00
Ajay Panicker
78e1e7c2d9 Merge "List the SDP_RECORD broadcast as protected" am: 0d14c01a3e am: 60b2f80841 am: 951369f52c
am: 27f27eae82

* commit '27f27eae823885b2d33bafd20c62036e914f2b2c':
  List the SDP_RECORD broadcast as protected

Change-Id: I6d1616c64b1d27c91e149702bf2527f47340d553
2016-05-03 17:44:57 +00:00
Ajay Panicker
951369f52c Merge "List the SDP_RECORD broadcast as protected" am: 0d14c01a3e
am: 60b2f80841

* commit '60b2f80841270da056feb44416b3be66273c54ac':
  List the SDP_RECORD broadcast as protected

Change-Id: Ib91da1d39bac4b23804c0a74f94b43e138d5f749
2016-05-03 17:35:19 +00:00
Ajay Panicker
65fad18461 List the SDP_RECORD broadcast as protected
Bug: 28257589
Change-Id: I97ef91fa3a7f7ef62fd96ca079e0a6d5a957bc71
2016-05-03 17:32:57 +00:00
Makoto Onuki
d1bc17aacd Merge "Merge "ShortcutManager: finishing touches" into nyc-dev am: 7d164d35a4" into nyc-mr1-dev am: 59cfcb502d
am: 2c0af8597d

* commit '2c0af8597dd3edb155893453dbb03027dc95135e':
  ShortcutManager: finishing touches

Change-Id: Id54d01e50b8120b898263a674b1886e2f5c16ac4
2016-05-03 16:45:09 +00:00
Ajay Panicker
4f86d76cf4 List the SDP_RECORD broadcast as protected
Bug: 28257589
Change-Id: I97ef91fa3a7f7ef62fd96ca079e0a6d5a957bc71
2016-05-03 00:28:47 +00:00
Amit Mahajan
a895559a41 Marking @SystemApi permissions @hide too.
Bug: 28287631
Change-Id: Ie0375620689263ebafd6850f2261e090f09521b1
2016-05-02 14:45:46 -07:00
Makoto Onuki
4d36b3a8c5 ShortcutManager: finishing touches
- Change back the throttling quota to 10 calls / day
- Foreground apps are no longer throttled, and when an app comes to
foreground the call counter will be reset.
- When the system locale changes, reset throttling for all packages
for all users.
  See LocalService.onSystemLocaleChangedNoLock() for how it's performed.
  Because the reset must happen before any other apps have a chance to
  publish shortcuts, the logic is not straightforward.

- Added an internal API to reset the throttling upon inline-reply
from a notification.

- Stop supporting icons from "content:" URIs
- Improved javadoc on several APIs.

Also internal refactor needed to this:
- ShortcutUser.getAllPackages()/getAllLaunchers() are no longer
accessible to outer code to prevent accidentally adding/removing the
content.  Outer code should use forAllPackages() / forAllLaunchers().

Bug 27923857

Change-Id: I002511193d1d33718163bb1dabe77610bde58198
2016-05-02 12:02:19 -07:00
Rubin Xu
bbd031f013 Merge "Add back protected profile availibility broadcasts." into nyc-dev am: cda5089 am: f8a52ef
am: 4038a3a

* commit '4038a3a8a957db4d41eabfd4d3a49658790a72c8':
  Add back protected profile availibility broadcasts.

Change-Id: Ib3da0c9dee84b400343086949e086040e98ca0af
2016-04-25 18:20:03 +00:00
Rubin Xu
dae6beda7b Add back protected profile availibility broadcasts.
Bug: 27532254
Change-Id: Ifbf59f64358864cd1d48be5e797c45ec2744eac0
2016-04-25 18:47:36 +01:00
Carlos Valdivia
e1d55b2779 Merge "Rename GET_PASSWORD_PRIVILEGED and make it signature." into nyc-dev am: ffcba67 am: 2ab3256
am: b255a2a

* commit 'b255a2afb4d3aae35c87d9f6f719bd4f188279da':
  Rename GET_PASSWORD_PRIVILEGED and make it signature.

Change-Id: Id9e1329e3356a1360be4a13b7dae9930f52c36f4
2016-04-22 23:50:17 +00:00