Merge "Fixed whitelist stats so it\'s only logged on add." into nyc-dev am: b103f4497d am: ddc0c42464
am: 3fe0957d62
* commit '3fe0957d62180f01b5b017f32808c80545909e2e':
Fixed whitelist stats so it's only logged on add.
Change-Id: I3251bcbaeaf27a5b3805a8e09cdf421b9824e689
This commit is contained in:
@@ -92,7 +92,9 @@ public class DataSaverBackend {
|
||||
} catch (RemoteException e) {
|
||||
Log.w(TAG, "Can't reach policy manager", e);
|
||||
}
|
||||
MetricsLogger.action(mContext, MetricsEvent.ACTION_DATA_SAVER_WHITELIST, packageName);
|
||||
if (whitelisted) {
|
||||
MetricsLogger.action(mContext, MetricsEvent.ACTION_DATA_SAVER_WHITELIST, packageName);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isWhitelisted(int uid) {
|
||||
|
||||
Reference in New Issue
Block a user