Loading services/core/java/com/android/server/am/ActiveServices.java +1 −1 Original line number Diff line number Diff line Loading @@ -8303,7 +8303,7 @@ public final class ActiveServices { r.mFgsNotificationShown, durationMs, r.mStartForegroundCount, ActivityManagerUtils.hashComponentNameForAtom(r.shortInstanceName), 0, // Short instance name -- no longer logging it. r.mFgsHasNotificationPermission, r.foregroundServiceType, fgsTypeCheckCode, Loading services/core/java/com/android/server/am/ActivityManagerUtils.java +0 −8 Original line number Diff line number Diff line Loading @@ -128,14 +128,6 @@ public class ActivityManagerUtils { return (((double) hash) / Integer.MAX_VALUE) <= rate; } /** * @param shortInstanceName {@link ServiceRecord#shortInstanceName}. * @return hash of the ServiceRecord's shortInstanceName, combined with ANDROID_ID. */ public static int hashComponentNameForAtom(String shortInstanceName) { return getUnsignedHashUnCached(shortInstanceName) ^ getAndroidIdHash(); } /** * Helper method to log an unsafe intent event. */ Loading services/core/java/com/android/server/am/ForegroundServiceTypeLoggerModule.java +1 −1 Original line number Diff line number Diff line Loading @@ -519,7 +519,7 @@ public class ForegroundServiceTypeLoggerModule { r.mFgsNotificationShown, 0, // durationMs r.mStartForegroundCount, ActivityManagerUtils.hashComponentNameForAtom(r.shortInstanceName), 0, // Short instance name -- no longer logging it. r.mFgsHasNotificationPermission, r.foregroundServiceType, 0, Loading Loading
services/core/java/com/android/server/am/ActiveServices.java +1 −1 Original line number Diff line number Diff line Loading @@ -8303,7 +8303,7 @@ public final class ActiveServices { r.mFgsNotificationShown, durationMs, r.mStartForegroundCount, ActivityManagerUtils.hashComponentNameForAtom(r.shortInstanceName), 0, // Short instance name -- no longer logging it. r.mFgsHasNotificationPermission, r.foregroundServiceType, fgsTypeCheckCode, Loading
services/core/java/com/android/server/am/ActivityManagerUtils.java +0 −8 Original line number Diff line number Diff line Loading @@ -128,14 +128,6 @@ public class ActivityManagerUtils { return (((double) hash) / Integer.MAX_VALUE) <= rate; } /** * @param shortInstanceName {@link ServiceRecord#shortInstanceName}. * @return hash of the ServiceRecord's shortInstanceName, combined with ANDROID_ID. */ public static int hashComponentNameForAtom(String shortInstanceName) { return getUnsignedHashUnCached(shortInstanceName) ^ getAndroidIdHash(); } /** * Helper method to log an unsafe intent event. */ Loading
services/core/java/com/android/server/am/ForegroundServiceTypeLoggerModule.java +1 −1 Original line number Diff line number Diff line Loading @@ -519,7 +519,7 @@ public class ForegroundServiceTypeLoggerModule { r.mFgsNotificationShown, 0, // durationMs r.mStartForegroundCount, ActivityManagerUtils.hashComponentNameForAtom(r.shortInstanceName), 0, // Short instance name -- no longer logging it. r.mFgsHasNotificationPermission, r.foregroundServiceType, 0, Loading