ec595b5b38a692c4a72b6ec3e7dd25c3d4d86b49
* Rename variables/arguments to clarify that we are working with policy flags, meaning that there can be multiple policies described by a uid policy, not just one. * When checking policies for a policy flag, do a proper flag check, rather than a direct comparison that assumes one single policy. * Only alter the displayed setting for the "Background network access" and "Unrestricted mobile data usage" toggles in response to underlying policy changes, to ensure their state represents the current reality. * Add a couple explanatory comments. Test: Manual: Install an app that does not have INTERNET permission. Open the "Unrestricted mobile data" page of Settings. Try to activate the toggle for such an app. The toggle should activate successfully without needing to be tapped twice. Issue: calyxos#2547 Change-Id: I9f2f028be4a21158a68c60982253d85586f60cdb
…
Description
No description provided
Languages
Java
89.7%
Kotlin
10.3%