Merge "Increase fallbacks counter when comparison result is different" into tm-dev
This commit is contained in:
@@ -1154,10 +1154,12 @@ public class NetworkStatsService extends INetworkStatsService.Stub {
|
||||
if (error != null) {
|
||||
Log.wtf(TAG, "Unexpected comparison result for recorder "
|
||||
+ legacyRecorder.getCookie() + ": " + error);
|
||||
return false;
|
||||
}
|
||||
} catch (Throwable e) {
|
||||
Log.wtf(TAG, "Failed to compare migrated stats with legacy stats for recorder "
|
||||
+ legacyRecorder.getCookie(), e);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user