Well, the bigger question is that how can a public class {AccountManagerService} be made inaccessible?
[EDIT]
If I am developing an android app, I can only access AccountManager but not AccountManagerService that is being used internally by AccountManager. If I look it up, I can find com.android.server.accounts. AccountManagerService class and that is declared public. But, still, I cannot import it and neither create its reference.