Allow checking install constraints for your own app

The use cases like if the app is a prebuild app, the installer of
record, the update owner is not set. We should also allow to check
constraints for your own app if it is allowed.

Bug: 281798465
Test: build a prebuild sample app(ag/23240836) with needed permision
and call API

Change-Id: I82622935ba96dd0eade8e4136e6e1895256b0873
1 file changed