diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2024-05-16 08:26:14 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2024-05-16 12:13:45 +0200 |
commit | 3865c81e96432638f3f4cc2ba4eeb481da1c6ebb (patch) | |
tree | 9a2d75f51599d999617d3962f2beaf6767728e41 /static | |
parent | 4d4c31349468e68a405887050114d2f3da3547c6 (diff) |
android: Drop indirection listening to pref change
Let `LibreOfficeMainActivity` implement the standard
Android `SharedPreferences.OnSharedPreferenceChangeListener`
interface directly, rather than having a custom
`SettingsListenerModel.OnSettingsPreferenceChangedListener`
indirection and the `SettingsFragment` implementing the
standard interface.
This simplifies the code and removes one level of
indirection.
Drop the now unused `SettingsListenerModel`.
Change-Id: I8c7d6088e711631409f9189bba966439db3daa44
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167723
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'static')
0 files changed, 0 insertions, 0 deletions