You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale-android/android
Nick Khyl 101c9dd121 mdm: return values rather than the constant names for the setting enums
We stringify setting values with toString before returning them from the syspolicyHandler.
For enum setting types, such as AlwaysNeverUserDecides and ShowHide, the default toString
implementation returns the enum constant names, such as Always and UserDecides. However,
the Go backend requires us to return "always", "never", and "user-decides" values, exactly, and
falls back to the default value (e.g., "user-decides") if it receives anything else from the app.

This PR overrides the toString methods on both enums to return the required values rather than
the constant names.

Updates tailscale/tailscale#12687

Signed-off-by: Nick Khyl <nickk@tailscale.com>
1 year ago
..
gradle/wrapper ipn: update dependencies (#432) 1 year ago
src mdm: return values rather than the constant names for the setting enums 1 year ago
build.gradle android: bumping OSS (#455) 1 year ago
gradle.properties android: bump OSS to 1.71.x; update dependencies (#449) 1 year ago
gradlew update dependencies 2 years ago
gradlew.bat update dependencies 2 years ago
proguard-rules.pro android: enable proguard (#399) 2 years ago