Replace test API with public API

Context#getUserId() and Context#getDisplayId() are test APIs and can't
be used by non-testing app. So this CL replaced them with public APIs.

Fixes: 339096449
Test: atest ConcurrentMultiSessionImeTest
Change-Id: I361066487fbf7551dd99aa32baebec9e73ce34f6
1 file changed