Commit 512ca9db authored by Mygod's avatar Mygod

Deprecate EXTRA_NIGHT_MODE

parent 33223297
...@@ -79,6 +79,7 @@ object PluginContract { ...@@ -79,6 +79,7 @@ object PluginContract {
* Constant Value: "com.github.shadowsocks.plugin.EXTRA_NIGHT_MODE" * Constant Value: "com.github.shadowsocks.plugin.EXTRA_NIGHT_MODE"
*/ */
@AppCompatDelegate.NightMode @AppCompatDelegate.NightMode
@Deprecated("On Android 9.0+, this will always return system as AOSP has support for night mode since 9.0.")
const val EXTRA_NIGHT_MODE = "com.github.shadowsocks.plugin.EXTRA_NIGHT_MODE" const val EXTRA_NIGHT_MODE = "com.github.shadowsocks.plugin.EXTRA_NIGHT_MODE"
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment