Remove MANAGE_USERS permission from shell and whitelist it for
some specific functionality.
Bug: 29189712
Change-Id: Ifb37448c091af91991964511e3efb1bb4dea1ff3
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
RetailDemoMOdeService adds a notification which allows user to wipe
current session and start a fresh demo session.
Bug: 27280140
Change-Id: I59dd82d236287206a2ca747210b3423fdc62c185
am: caf8c3c160
* commit 'caf8c3c160952aff4b4197c1e0282489583a942d':
Fix issue #28931042: wtf in system server
Change-Id: I86bf73a1294ccf4ef7ef63188e72942b17e61b0c
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
am: ad2b44c8c7
* commit 'ad2b44c8c7907a971e7437c5ccd0f823caec53fd':
Move the 'pretend idle jobs can run now' broadcast into AMS
Change-Id: I50b6ca257b7995d6a50fe938f8d4c788f739001a
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
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
am: 1b0d5d3414
* commit '1b0d5d3414dfb0e881af0d374da80965a2cf95c6':
List the CONNECTION_STATE_CHANGED broadcast for MAP as protected
Change-Id: I96c9d28211ee4657ceb1928c182a9153ac18613f
am: 27f27eae82
* commit '27f27eae823885b2d33bafd20c62036e914f2b2c':
List the SDP_RECORD broadcast as protected
Change-Id: I6d1616c64b1d27c91e149702bf2527f47340d553
am: 60b2f80841
* commit '60b2f80841270da056feb44416b3be66273c54ac':
List the SDP_RECORD broadcast as protected
Change-Id: Ib91da1d39bac4b23804c0a74f94b43e138d5f749
- 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
am: b255a2a
* commit 'b255a2afb4d3aae35c87d9f6f719bd4f188279da':
Rename GET_PASSWORD_PRIVILEGED and make it signature.
Change-Id: Id9e1329e3356a1360be4a13b7dae9930f52c36f4