From f27a731bfba1337cf18d11571031d5aa40ef95a6 Mon Sep 17 00:00:00 2001 From: Steven Liu Date: Thu, 20 Jun 2019 14:16:01 -0700 Subject: Avoid WTF log on package removing Normal case as tracking hasn't been happened before removing pacakge. Bug: 133903812 Test: uninstalling apps without WTF log. Change-Id: I535faf1e79d5edd9165945217bc18b3b1ec783cd --- service/java/com/android/server/wifi/hotspot2/PasspointManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/java/com/android/server/wifi/hotspot2/PasspointManager.java b/service/java/com/android/server/wifi/hotspot2/PasspointManager.java index 75596b548..e54cee8e9 100644 --- a/service/java/com/android/server/wifi/hotspot2/PasspointManager.java +++ b/service/java/com/android/server/wifi/hotspot2/PasspointManager.java @@ -313,7 +313,7 @@ public class PasspointManager { AppOpsChangedListener appOpsChangedListener = mAppOpsChangedListenerPerApp.remove( packageName); if (appOpsChangedListener == null) { - Log.wtf(TAG, "No app ops listener found for " + packageName); + Log.i(TAG, "No app ops listener found for " + packageName); return; } mAppOps.stopWatchingMode(appOpsChangedListener); -- cgit v1.2.3