mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-01-31 18:21:38 -05:00
When we receive notifications indicating that the app has changed, the App object needs to be changed and the view updated. These notifications can be received from two sources: - the ContentObserver; - onActivityResult(). Thus, the implementation should not be related to the ContentObserver (in theory, we might want to keep only the onActivityResult() notification). Therefore, move it to a separate method in AppDetails. This also preventively avoids bugs when the ContentObserver is null.