Merge "Fix an issue that statsd failed to update the uid mapping when ... version name of the app is null"
This commit is contained in:
committed by
Android (Google) Code Review
commit
bd1b494bda
@@ -583,7 +583,11 @@ public class StatsCompanionService extends IStatsCompanionService.Stub {
|
||||
} catch (IllegalArgumentException e) {
|
||||
installer = "";
|
||||
}
|
||||
sStatsd.informOnePackage(app, uid, pi.getLongVersionCode(), pi.versionName,
|
||||
sStatsd.informOnePackage(
|
||||
app,
|
||||
uid,
|
||||
pi.getLongVersionCode(),
|
||||
pi.versionName == null ? "" : pi.versionName,
|
||||
installer == null ? "" : installer);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user