
This reverts commit 47e065442edc108d4bb38f9daaa7cdb3fff26b49. Now that the ContentObserver is created when activity is started (even if not resumed), then it will be non-null during onActivityResult(). Therefore, the calls to onChange() will not lead to NullPointerException anymore. The reason why we want to manually call onChange() is that the ContentObserver notifications may happen several seconds later: https://gitlab.com/fdroid/fdroidclient/merge_requests/58#note_948719