Check flags for user in SoftRestrictedPermPolicy

As the context might not be for the right user.

Test: Granted storage permission to app only installed in secondary user
Fixes: 135268081
Change-Id: I62569c812511509b60c4272042f949e547cb304b
3 files changed