* commit '1b50e4ead5463f4dcc03f9c5ed64963af0d4d9eb': Environment should only warn when asked.
This commit is contained in:
@@ -26,6 +26,7 @@ import android.content.pm.IPackageManager;
|
||||
import android.content.res.Configuration;
|
||||
import android.media.AudioService;
|
||||
import android.net.wifi.p2p.WifiP2pService;
|
||||
import android.os.Environment;
|
||||
import android.os.Handler;
|
||||
import android.os.HandlerThread;
|
||||
import android.os.Looper;
|
||||
@@ -1113,6 +1114,8 @@ public class SystemServer {
|
||||
// as efficient as possible with its memory usage.
|
||||
VMRuntime.getRuntime().setTargetHeapUtilization(0.8f);
|
||||
|
||||
Environment.setUserRequired(true);
|
||||
|
||||
System.loadLibrary("android_servers");
|
||||
init1(args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user