diff --git a/api/current.txt b/api/current.txt index 4872f80d54a84..6a3752dc79ea4 100644 --- a/api/current.txt +++ b/api/current.txt @@ -29469,7 +29469,6 @@ package android.os.health { } public class SystemHealthManager { - method public static android.os.health.SystemHealthManager from(android.content.Context); method public android.os.health.HealthStats takeMyUidSnapshot(); method public android.os.health.HealthStats takeUidSnapshot(int); method public android.os.health.HealthStats[] takeUidSnapshots(int[]); diff --git a/api/system-current.txt b/api/system-current.txt index b072255ece1d5..6122f4656d49e 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -32005,7 +32005,6 @@ package android.os.health { } public class SystemHealthManager { - method public static android.os.health.SystemHealthManager from(android.content.Context); method public android.os.health.HealthStats takeMyUidSnapshot(); method public android.os.health.HealthStats takeUidSnapshot(int); method public android.os.health.HealthStats[] takeUidSnapshots(int[]); diff --git a/api/test-current.txt b/api/test-current.txt index ad8eacf51d110..13cafc524427f 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -29540,7 +29540,6 @@ package android.os.health { } public class SystemHealthManager { - method public static android.os.health.SystemHealthManager from(android.content.Context); method public android.os.health.HealthStats takeMyUidSnapshot(); method public android.os.health.HealthStats takeUidSnapshot(int); method public android.os.health.HealthStats[] takeUidSnapshots(int[]); diff --git a/core/java/android/os/health/SystemHealthManager.java b/core/java/android/os/health/SystemHealthManager.java index 7c37fa40154f3..32e8425cbe07b 100644 --- a/core/java/android/os/health/SystemHealthManager.java +++ b/core/java/android/os/health/SystemHealthManager.java @@ -53,6 +53,8 @@ public class SystemHealthManager { /** * Obtain a SystemHealthManager object for the supplied context. + * + * @hide */ public static SystemHealthManager from(Context context) { return (SystemHealthManager)context.getSystemService(Context.SYSTEM_HEALTH_SERVICE); diff --git a/core/java/com/android/internal/app/procstats/ProcessState.java b/core/java/com/android/internal/app/procstats/ProcessState.java index 80d60706e0ea0..8c5df08f54998 100644 --- a/core/java/com/android/internal/app/procstats/ProcessState.java +++ b/core/java/com/android/internal/app/procstats/ProcessState.java @@ -277,7 +277,7 @@ public final class ProcessState { if (!mDead) { return; } - Slog.wtfStack(TAG, "ProcessState dead: name=" + mName + Slog.w(TAG, "ProcessState dead: name=" + mName + " pkg=" + mPackage + " uid=" + mUid + " common.name=" + mCommonProcess.mName); }