From 7255a0c0f343bdffa77dee6b4fdd4eadfbf2fbe3 Mon Sep 17 00:00:00 2001 From: Alex Buynytskyy Date: Wed, 8 Apr 2020 12:25:19 -0700 Subject: [PATCH] Documenting the way LOADER_USAGE_STATS permission work. Bug: b/152633648 Test: documentation Change-Id: Ic15d9bd4631588e65200c008bd720d26437ccccd --- core/res/AndroidManifest.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 451363f6bd3d5..c72239cd684e7 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -4122,7 +4122,10 @@ set of pages referenced over time.

Declaring the permission implies intention to use the API and the user of the device can grant permission through the Settings application. -

Protection level: signature|privileged|appop --> +

Protection level: signature|privileged|appop +

A data loader has to be the one which provides data to install an app. +

A data loader has to have both permission:LOADER_USAGE_STATS AND + appop:LOADER_USAGE_STATS allowed to be able to access the read logs. -->