asksven / BetterBatteryStats

An attempt to provide advanced battery stats for Android
614 stars 157 forks source link

adb -d shell settings put global hidden_api_policy 1 still shows Private APIs not granted #926

Open Aquind opened 8 months ago

Aquind commented 8 months ago

all the other adb commands worked but it still shows "Private APIs not granted" am I missing something?

This happens on my oneplus 6 and moto g stylus 2022

Walkermoon commented 7 months ago

I was facing the same issue on Samsung Galaxy S23 Ultra. Once I disconnected the USB cord and restarted the phone, it got resolved.

agrimpelhuber commented 6 months ago

I was facing the same issue on Samsung Galaxy S23 Ultra. Once I disconnected the USB cord and restarted the phone, it got resolved.

Did the same, Worked for me. @Aquind , please verify so this issue can be closed if it works for you, too.

Aquind commented 6 months ago

I have done that and it still hasn't worked.

Bulletbling commented 5 months ago

Same issue here on s23 ultra. Haven't tried restart yet.