sed -i 's,<package_name>,\&lt;package_name\&gt;,' metadata/*.yml

This commit is contained in:
Hans-Christoph Steiner 2022-12-15 15:26:45 +01:00
parent 3351f87417
commit 012386c2c3
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA

View file

@ -15,18 +15,18 @@ Description: |-
You can revoke RUN_IN_BACKGROUND permission on any app by executing following
command in the adb shell:
cmd appops set <package_name> RUN_IN_BACKGROUND ignore
cmd appops set &lt;package_name&gt; RUN_IN_BACKGROUND ignore
To grant this permission back, one should execute this:
cmd appops set <package_name> RUN_IN_BACKGROUND allow
cmd appops set &lt;package_name&gt; RUN_IN_BACKGROUND allow
To check status of RUN_IN_BACKGROUND permission on any app, one can execute this
command:
cmd appops get <package_name> RUN_IN_BACKGROUND
cmd appops get &lt;package_name&gt; RUN_IN_BACKGROUND
<package_name> is obviously name of application package, be it
&lt;package_name&gt; is obviously name of application package, be it
com.android.calculator2 or anything else.
By disabling RUN_IN_BACKGROUND, apps such as Hangouts or Facebook will