Skip to content

Commit e1557a4

Browse files
committed
Don't lock Mms app in ram by default
Change-Id: I19808c0b44e39729ad370669f312399fb1718c29
1 parent 1daf8a1 commit e1557a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

services/java/com/android/server/am/ActivityManagerService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11622,7 +11622,7 @@ private final int computeOomAdjLocked(ProcessRecord app, int hiddenAdj,
1162211622
int N;
1162311623
if (app.processName.equals("com.android.mms") && (app.services.size() != 0
1162411624
|| Settings.System.getInt(mContext.getContentResolver(),
11625-
Settings.System.LOCK_MMS_IN_MEMORY, 1) == 1)) {
11625+
Settings.System.LOCK_MMS_IN_MEMORY, 0) == 1)) {
1162611626
// When SmsReceiverService is running, it does important work. So treat
1162711627
// Mms app as being in the foreground to prevent loss of messsages.
1162811628
// Or optionally lock the Mms app in memory all the time.

0 commit comments

Comments
 (0)