I am trying to set my app to "restricted" bucket, based on this document https://developer.android.com/about/versions/12/behavior-changes-all#restrictive-app-standby-bucket.
adb shell am set-standby-bucket <Package> restricted
However, I always get 20 from this call
adb shell am get-standby-bucket <Package>
I tried this one too, but get the same 20.
adb shell am set-standby-bucket <Package> 45
The app is built target to 31. The device is Pixel 3a with Android OS 12 beta 4.