AdguardTeam / AdguardTeam/AdguardForAndroid

HyperOS: "Stay always protected" tile fails to hide after manual setup

Open
#6,188 1 comment 0 reactions 0 assignees View on GitHub
Bug Priority: P3
Dominant language
No language data
Stars
1.9k
Forks
121
PR merge metrics
No merged PRs in 30d

Description

### Please answer the following questions for yourself before submitting an issue

- [x] Filters were updated before reproducing an issue
- [x] I checked the [knowledge base](https://adguard.com/kb/) and found no answer
- [x] I checked to make sure that this issue has not already been filed

### AdGuard version

4.13.2

### Environment

- OS version: 10
- Device: Redmi note 5 pro global

### HTTPS filtering

- [x] yes, I do

### Root access

- [x] yes, I have it

### Integration with AdGuard VPN

- [ ] yes, I do

### Routing mode

Local VPN

### Ad Blocking

_No response_

### Privacy

_No response_

### Social

_No response_

### Annoyances

_No response_

### Security

_No response_

### Language-specific

_No response_

### Other

_No response_

### Which DNS server do you use?

DNS protection disabled

### DNS protocol

None

### Custom DNS

_No response_

### What Stealth Mode options do you have enabled?

_No response_

### Issue Details

Steps to reproduce:

1. Manually disable battery optimize for Adguard.
2. Grant device admin permission to Adguard.
3. Go to Adguard app, check for updates, permissions.

### Expected Behavior

No more battery optimization prompt after given to Adguard all the requested permissions.

### Actual Behavior

After first Adguard setup I granted the battery optimization permission by the pop up message and Adguard showed that no more actions was needed but on every check of updates Adguard showed the message again even with battery optimization still disabled on settings, so I enable device admin app permission but issue still persistent.

### Screenshots

Screenshot 1

Image

Screenshot 2

Image

Screenshot 3

Image

### Additional Information

Note: I have root access but I never granted any root permission to Adguard and I don't use Adguard certificate module.

Returning to my issue, looks like Adguard only detects battery optimization disabled when optimization is disabled by the battery optimization popup menu invoked by Adguard, and Adguard forgot the granted permission on check of updates.

This is the pop up that I'm talking about:
Screenshot 1

Image

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.