OSDN Git Service

Change ServiceState and TelephonyRegistry logging
authorHall Liu <hallliu@google.com>
Wed, 17 Apr 2019 20:33:43 +0000 (13:33 -0700)
committerHall Liu <hallliu@google.com>
Wed, 17 Apr 2019 22:54:23 +0000 (15:54 -0700)
commit879024a03b48cbd1177ea5d86c97d6583451564d
treec649764bede984bb8fea65421b00657aa1085f0c
parent111ad6a13e356782e2dcf83c417317d214b69b6e
Change ServiceState and TelephonyRegistry logging

When an app bypasses a location access check due to its target SDK for
queries to ServiceState or when we're pushing out info through
TelephonyRegistry, log it as info instead of error to avoid spamming the
logs too much.

Fixes: 130668054
Test: manual
Change-Id: Ia490f2de2f0b5d326e5290e166e6f97b25e6e187
services/core/java/com/android/server/TelephonyRegistry.java
telephony/java/android/telephony/LocationAccessPolicy.java