android: Expose managed configuration globally and notify listeners on changes
Triggers a broadcast if the configuration changed and updates the profile list accordingly (previously only handled removal of multiple profiles). If the app resumes, the configuration is also loaded and listeners are notified in case the config was updated while the app was in the background.
This commit is contained in:
1 parent
8796e9bb31
commit
36f62585bb
3 files changed
+85
-6
No files matched your search
@@ -45,6 +45,7 @@ android {
|
||||
|
||||
dependencies {
|
||||
implementation 'androidx.appcompat:appcompat:1.6.1'
|
||||
implementation 'androidx.lifecycle:lifecycle-process:2.7.0'
|
||||
implementation 'androidx.preference:preference:1.2.1'
|
||||
implementation 'com.google.android.material:material:1.10.0'
|
||||
testImplementation 'junit:junit:4.13.2'
|
||||
|
||||
Reference in new issue
Block a user