com.pavelsikun.runinbackgroundpermissionsetter.yml 1.73 KB
Newer Older
Izzy's avatar
Izzy committed
1
2
3
4
5
Categories:
  - System
License: GPL-3.0-only
SourceCode: https://github.com/MrBIMC/RunInBackgroundPermissionSetter
IssueTracker: https://github.com/MrBIMC/RunInBackgroundPermissionSetter/issues
Izzy's avatar
Izzy committed
6
Changelog: https://github.com/MrBIMC/RunInBackgroundPermissionSetter/releases
Izzy's avatar
Izzy committed
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

AutoName: BackgroundRestrictor
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
35
    <a href="https://www.xda-developers.com/freeze-app-background-processes-without-root-android-nougat">article</a>.
Izzy's avatar
Izzy committed
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51

RepoType: git
Repo: https://github.com/MrBIMC/RunInBackgroundPermissionSetter

Builds:
  - versionName: 1.5.0
    versionCode: 8
    commit: '1.5'
    subdir: app
    gradle:
      - yes

AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: 1.5.0
CurrentVersionCode: 8