I want to display the current bucket of my application with a device under Android P beta. Therefore, I try to use the UsageStatsManager class like this :
@O
I think it's a bug. There is an open issue covering this in the issue tracker: https://issuetracker.google.com/issues/111102580.