Merge "Remove a user/userdebug difference."
This commit is contained in:
@@ -76,7 +76,6 @@ import android.os.Process;
|
|||||||
import android.os.RemoteException;
|
import android.os.RemoteException;
|
||||||
import android.os.ServiceManager.ServiceNotFoundException;
|
import android.os.ServiceManager.ServiceNotFoundException;
|
||||||
import android.os.StrictMode;
|
import android.os.StrictMode;
|
||||||
import android.os.SystemProperties;
|
|
||||||
import android.os.Trace;
|
import android.os.Trace;
|
||||||
import android.os.UserHandle;
|
import android.os.UserHandle;
|
||||||
import android.text.Selection;
|
import android.text.Selection;
|
||||||
@@ -7833,13 +7832,10 @@ public class Activity extends ContextThemeWrapper
|
|||||||
mFragments.dispatchStart();
|
mFragments.dispatchStart();
|
||||||
mFragments.reportLoaderStart();
|
mFragments.reportLoaderStart();
|
||||||
|
|
||||||
|
// Warn app developers if the dynamic linker logged anything during startup.
|
||||||
boolean isAppDebuggable =
|
boolean isAppDebuggable =
|
||||||
(mApplication.getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0;
|
(mApplication.getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0;
|
||||||
|
if (isAppDebuggable) {
|
||||||
// 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) {
|
|
||||||
String dlwarning = getDlWarning();
|
String dlwarning = getDlWarning();
|
||||||
if (dlwarning != null) {
|
if (dlwarning != null) {
|
||||||
String appName = getApplicationInfo().loadLabel(getPackageManager())
|
String appName = getApplicationInfo().loadLabel(getPackageManager())
|
||||||
|
|||||||
Reference in New Issue
Block a user