Added the Gapps Resolution to the code. It now removes data from the media provider to ensure that the system is now correct after reboot.
diff --git a/src/com/fairphone/updater/fragments/DownloadAndRestartFragment.java b/src/com/fairphone/updater/fragments/DownloadAndRestartFragment.java
index 5b58703..9a4f084 100644
--- a/src/com/fairphone/updater/fragments/DownloadAndRestartFragment.java
+++ b/src/com/fairphone/updater/fragments/DownloadAndRestartFragment.java
@@ -602,6 +602,17 @@
removeLastUpdateDownload();
}
+ // remove the gapps stuff
+// String model = Utils.getModelAndOS(getActivity());
+// if( model.contains("FP1") ) {
+ try {
+
+ Utils.clearGappsData();
+ } catch (RootDeniedException | InterruptedException | IOException e) {
+ e.printStackTrace();
+ }
+// }
+
// remove the update files from data
removeUpdateFilesFromData();