{"action":"opened","issue":{"url":"https://api.github.com/repos/rovo89/XposedInstaller/issues/300","labels_url":"https://api.github.com/repos/rovo89/XposedInstaller/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/rovo89/XposedInstaller/issues/300/comments","events_url":"https://api.github.com/repos/rovo89/XposedInstaller/issues/300/events","html_url":"https://github.com/rovo89/XposedInstaller/issues/300","id":111103944,"number":300,"title":"Actual modules are not the same with the modules in UI","user":{"login":"liudongmiao","id":473522,"avatar_url":"https://avatars.githubusercontent.com/u/473522?v=3","gravatar_id":"","url":"https://api.github.com/users/liudongmiao","html_url":"https://github.com/liudongmiao","followers_url":"https://api.github.com/users/liudongmiao/followers","following_url":"https://api.github.com/users/liudongmiao/following{/other_user}","gists_url":"https://api.github.com/users/liudongmiao/gists{/gist_id}","starred_url":"https://api.github.com/users/liudongmiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liudongmiao/subscriptions","organizations_url":"https://api.github.com/users/liudongmiao/orgs","repos_url":"https://api.github.com/users/liudongmiao/repos","events_url":"https://api.github.com/users/liudongmiao/events{/privacy}","received_events_url":"https://api.github.com/users/liudongmiao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-13T04:55:31Z","updated_at":"2015-10-13T04:55:31Z","closed_at":null,"body":"As I know, the modules list used by `xposed` is `modules.list`, but the modules list used by `Xposed Installer` is SharedPreferences `enabled_modules`. Most of time, there are the same, but they are not always same.\r\n\r\nFor example, when the module updated, `Xposed Installer` cannot receive the `android.intent.action.PACKAGE_CHANGED` broadcast, so the `modules.list` is not updated, then it's not enaboed after reboot, but it's enalbed in the `Xposed Installer`'s UI. (There are many possiblity to prevent Xposed Installer to receive the broadcast: user force stopped the Xposed Installer, some modified system prevent Xposed Installer to receive broadcast, and some xposed modules do so too.)\r\n\r\nAnother another possiblity: If the system cannot boot, user delete the `modules.list`, but the UI shows the module is enabled while actually the module is not enabled at all.\r\n\r\nHere I'm asking for your idea. If you think it's a problem, I will add a pull request to fix this by only using the `modules.list`. If you don't think it's a problem, I will create a module to hook `Xposed Installer` only use `modules.list`."}}