AdguardTeam / AdguardTeam/AdguardForAndroid

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

未关闭
#6,188 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Bug Priority: P3
主要语言
没有语言数据
星标
1.9k
派生
121
PR 合并指标
30 天内没有已合并 PR

描述

### 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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。