Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

at times getting E/ViewSystem﹕ ViewRootImpl #2 Surface is not valid. on entering correct password #19

Open
dmsherazi opened this issue Jun 17, 2015 · 1 comment

Comments

@dmsherazi
Copy link

I am getting this error E/ViewSystem﹕ ViewRootImpl #2 Surface is not valid. after entering the correct password in unlock activity. I can see that the onResume method of the next activity starts by checking the logcat but the view doesn't change and the unlock activity is still shown

@dmsherazi
Copy link
Author

I am not sure if this is the solution but I guess I solved it by adding only enabling the lock on my launcher activity and disabling other activities.

 if (AppLockManager.getInstance().isAppLockFeatureEnabled()) {
        AppLockManager.getInstance().getCurrentAppLock()
             .setDisabledActivities(new String[]{" ...."});
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant