diff options
| author | 2019-10-03 12:37:16 -0700 | |
|---|---|---|
| committer | 2019-10-03 12:37:16 -0700 | |
| commit | 593650f907ee16a83a61d7576d2c95a8ef42e91c (patch) | |
| tree | ffea8e8f4de56d7312b05952f59aa72a069e0be9 | |
| parent | cca303ecd9fca99a0d23a4690c950e32c8664a88 (diff) | |
| parent | df703bcdf2f15e4b05830e2989b4fc23cff245c2 (diff) | |
Merge "Remove a user/userdebug difference." am: 363a602bd1 am: 47991c1b07
am: df703bcdf2
Change-Id: I5b41fb959df5c8ea1585aec9eebeac037e0885d8
| -rw-r--r-- | core/java/android/app/Activity.java | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java index 5bc0647159a3..27fac432a602 100644 --- a/core/java/android/app/Activity.java +++ b/core/java/android/app/Activity.java @@ -76,7 +76,6 @@ import android.os.Process; import android.os.RemoteException; import android.os.ServiceManager.ServiceNotFoundException; import android.os.StrictMode; -import android.os.SystemProperties; import android.os.Trace; import android.os.UserHandle; import android.text.Selection; @@ -7856,13 +7855,10 @@ public class Activity extends ContextThemeWrapper mFragments.dispatchStart(); mFragments.reportLoaderStart(); + // Warn app developers if the dynamic linker logged anything during startup. boolean isAppDebuggable = (mApplication.getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0; - - // This property is set for all non-user builds except final release - boolean isDlwarningEnabled = SystemProperties.getInt("ro.bionic.ld.warning", 0) == 1; - - if (isAppDebuggable || isDlwarningEnabled) { + if (isAppDebuggable) { String dlwarning = getDlWarning(); if (dlwarning != null) { String appName = getApplicationInfo().loadLabel(getPackageManager()) |