Merge "Fixed whitelist stats so it\'s only logged on add." into nyc-dev am: b103f4497d
am: 7ffd5a7bc5
* commit '7ffd5a7bc51607fdf304040031dd1d6364f72cb0':
Fixed whitelist stats so it's only logged on add.
Change-Id: I3fac79fb0fca958dff6b07324b1c3ff57838937a
This commit is contained in:
@@ -92,7 +92,9 @@ public class DataSaverBackend {
|
|||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
Log.w(TAG, "Can't reach policy manager", 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) {
|
public boolean isWhitelisted(int uid) {
|
||||||
|
Reference in New Issue
Block a user