diff options
author | Svet Ganov <svetoslavganov@google.com> | 2015-05-13 10:40:31 -0700 |
---|---|---|
committer | Svetoslav <svetoslavganov@google.com> | 2015-05-13 15:37:21 -0700 |
commit | f7e9cf4fb48ea80cbc5088204ac3f898109623f7 (patch) | |
tree | ef7eca0fc42142de07c0304c150b5afca2045617 /docs/html/training/location | |
parent | 90c66e3ded4a91613b0c1760ab2ef15e0d118a36 (diff) | |
download | frameworks_base-f7e9cf4fb48ea80cbc5088204ac3f898109623f7.zip frameworks_base-f7e9cf4fb48ea80cbc5088204ac3f898109623f7.tar.gz frameworks_base-f7e9cf4fb48ea80cbc5088204ac3f898109623f7.tar.bz2 |
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
Diffstat (limited to 'docs/html/training/location')
-rw-r--r-- | docs/html/training/location/location-testing.jd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/html/training/location/location-testing.jd b/docs/html/training/location/location-testing.jd index 5021fc0..8f73d51 100644 --- a/docs/html/training/location/location-testing.jd +++ b/docs/html/training/location/location-testing.jd @@ -79,7 +79,7 @@ trainingnavtop=true <h2 id="TurnOnMockMode">Turn On Mock Mode</h2> <p> To send mock locations to Location Services in mock mode, a test app must request the permission - {@link android.Manifest.permission#ACCESS_MOCK_LOCATION}. In addition, you must enable mock + android.Manifest.permission#ACCESS_MOCK_LOCATION. In addition, you must enable mock locations on the test device using the option <b>Enable mock locations</b>. To learn how to enable mock locations on the device, see <a href="{@docRoot}tools/device.html#setting-up">Setting up a Device for Development</a>. |