Skip to content

Add smart auto stop indicator to Quick Settings Tile - #9

Open
songchenwen wants to merge 1 commit into
appshubcc:mainfrom
songchenwen:feature/tile-smartstopped-indicator
Open

Add smart auto stop indicator to Quick Settings Tile#9
songchenwen wants to merge 1 commit into
appshubcc:mainfrom
songchenwen:feature/tile-smartstopped-indicator

Conversation

@songchenwen

Copy link
Copy Markdown
Contributor

Add visual indicator on the tile icon when VPN is stopped by smart auto stop feature. This allows users to easily identify the smart stopped state directly from the control center.

  • Add ic_tile_smart_stopped.xml drawable with a dot indicator
  • Add night mode variant for dark theme support
  • Update BettboxTileService to switch icon based on isSmartStopped state

Add visual indicator on the tile icon when VPN is stopped by smart auto stop feature.
This allows users to easily identify the smart stopped state directly from the
control center.

- Add ic_tile_smart_stopped.xml drawable with a dot indicator
- Add night mode variant for dark theme support
- Update BettboxTileService to switch icon based on isSmartStopped state
@appshubcc

Copy link
Copy Markdown
Owner

I remember this being buggy on most Chinese Android brands Has it been tested on those?

@songchenwen

Copy link
Copy Markdown
Contributor Author

No. I only tested this on my vivo phone. Could you test this in your TG group? If there's too many compitable issues, we can remove this feature, or add a switch for it. Anyway this is only a display enhancement, not any thing important.

@appshubcc

appshubcc commented Mar 3, 2026

Copy link
Copy Markdown
Owner

I'm worried this feature could be a bit problematic, some customOS are known to cache the icons, and they only update after a reboot

@songchenwen

Copy link
Copy Markdown
Contributor Author

Yeah, if that's the case, there must be too many feedbacks. But at least I think FairEmail, which is a popular open source email client, is doing this.

Instead of simply deleting this feature, which solution do you think is better?

  1. Add a switch for it and disable it by default. Add a note under the switch to let the user confirm that his rom can handle dynamic tile icons.
  2. Change the tile subtitle instead. CMFA does this, but of course this will lose the subtle elegantness of the icon changing method, LOL.

@songchenwen

Copy link
Copy Markdown
Contributor Author

But I think you are worried too much about this. A cached icon won't do much harm. If there is no switch for it, users can hardly notice this. In fact nearly every rom has a tile called portait lock, which often has 2 different icons for locked and unlocked states. If portrait lock is doing well, I think we'll be fine too. Because we are also only changing icon when changing state. Of course some test will be good. Just don't worry too much. This won't cause any service degradation.

@appshubcc

Copy link
Copy Markdown
Owner

OK,I'll give it a try later

@appshubcc
appshubcc force-pushed the main branch 2 times, most recently from b9361df to c9593e0 Compare June 8, 2026 05:44
@appshubcc
appshubcc force-pushed the main branch 2 times, most recently from 7fc30ae to d12a095 Compare June 26, 2026 06:25
@appshubcc
appshubcc force-pushed the main branch 3 times, most recently from 9fa80ff to 9ecb877 Compare July 5, 2026 09:59
@appshubcc
appshubcc force-pushed the main branch 2 times, most recently from 6280e0f to d05cf43 Compare July 7, 2026 01:35
@appshubcc
appshubcc force-pushed the main branch 2 times, most recently from bb605a0 to 570c649 Compare July 18, 2026 17:07
@appshubcc
appshubcc force-pushed the main branch 2 times, most recently from 95bde57 to c0bb574 Compare August 13, 2026 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants