com.pavelsikun.runinbackgroundpermissionsetter

From F-Droid
Revision as of 02:29, 26 September 2018 by Robot (Talk | contribs) (Auto-updated)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

BackgroundRestrictor

Name: BackgroundRestrictor

ID: com.pavelsikun.runinbackgroundpermissionsetter

License: GPL-3.0-only

Site:

Issues: https://github.com/MrBIMC/RunInBackgroundPermissionSetter/issues

Source: https://github.com/MrBIMC/RunInBackgroundPermissionSetter

Activity: https://gitlab.com/search?group_id=28397&scope=issues&search=com.pavelsikun.runinbackgroundpermissionsetter

Donate: None

Bitcoin: None

Added: 2017-11-03

Updated: 2017-11-03 (buildlog)

Manage RUN_IN_BACKGROUND permissions - view in repository

Description

Android 7.0 added a new permission called RUN_IN_BACKGROUND, which can restrict background behavior of apps (blocking broadcast receivers, services, etc.). However this permission is fully hidden and there's no way to activate it besides using adb commands.

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

To grant this permission back, one should execute this:

cmd appops set <package_name> 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

<package_name> 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 completely stop syncing in the background until you open them up. You can find more information about these commands by reading this [https://www.xda-developers.com/freeze-app-background-processes-without-root-android-nougat article].

Maintainer Notes

Metadata: current history

Versions

We have the current version of this app. (Check mode: Tags) (Auto-update mode: Version %v)

The current (recommended) version is 1.5.0 (version code 8).

1.5.0

This version is built and signed by F-Droid, and guaranteed to correspond to the source tarball published with it.

Version code: 8