The essence of the question is that I need to put a dynamic test of this perm and I cannot understand exactly where to put it, since everything works fine without this perm.
How can I check at what time what permissions are requested?
Otherwise, I’m thinking of removing it if it works anyway, since I remember what this permiseum wrote when implementing GCM
and even left a comment
<!-- GCM requires a Google account. -->
But if I delete the perm, then nothing changes, it's strange ...
Camera2API
, and it requires no less than 21 ... - Aleksey Timoshchenko