OSDN Git Service

Enforce dump permission in stats service
authorTej Singh <singhtejinder@google.com>
Wed, 11 Apr 2018 00:24:50 +0000 (17:24 -0700)
committerTej Singh <singhtejinder@google.com>
Mon, 16 Apr 2018 22:04:28 +0000 (15:04 -0700)
commitdd83d703712bfa004a6bb71ddd19780b2d0b79ba
tree0958729aa8bbe5c071f2e8831e8596775aebc804
parent5000367d38154428f9e57dbb0097cbaca7b7c0c4
Enforce dump permission in stats service

Enforces the dump permission in stats service and fixes a typo in an
enum name.

Bug: b/77723108
Test: adb shell dumpsys stats as root and not root
Test: build success on marlin (and cts build success)
Change-Id: I131f97fe4fd370d50bc4ad369377f6adcca5f6ae
CleanSpec.mk
cmds/statsd/src/StatsService.cpp
core/proto/android/os/enums.proto