Record access rejection for restricted ops.

When AppOp access is rejected (MODE_IGNORED) because op is restricted
(one of cases - secondary user trying to access phone specific appops)
we still want to record appops rejection in HistoricalRegistry to be
consistent with other cases.

Test: atest hostsidetests/statsdatom/src/android/cts/statsdatom/appops/AppOpsTests.java  --user-type secondary_user
Bug: 175034881
Change-Id: Ifa3fd26db517e7a4ac3e37bf9e7466469c5d19de
1 file changed