Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 119de1fb authored by Alex Buynytskyy's avatar Alex Buynytskyy
Browse files

More setStorageParams improvements.

Using proper AppOp name: loader_usage_stats

Bug: b/152633648
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest
Test: adb shell appops set 1000 LOADER_USAGE_STATS deny
Change-Id: I199476ce29c81836c5402577ac225450cc5c9c82
parent edb826c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ using namespace android::content::pm;
namespace fs = std::filesystem;

constexpr const char* kDataUsageStats = "android.permission.LOADER_USAGE_STATS";
constexpr const char* kOpUsage = "android:get_usage_stats";
constexpr const char* kOpUsage = "android:loader_usage_stats";

namespace android::incremental {