Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c550f3ed authored by Hui Yu's avatar Hui Yu
Browse files

Put MSG_REPORT_TEMP_APP_WHITELIST_CHANGED_TO_NPMS back.

Previous merge mistakenly changed msg type.

Bug: 177965744
Test: atest CtsHostsideNetworkTests:com.android.cts.net.HostsideRestrictBackgroundNetworkTests#testDozeModeMetered_enabledButWhitelistedOnNotificationAction
Change-Id: Ie2e90a7175ba65fd6e4c6ab307e7c60f8857c92d
parent 619db7fb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2850,7 +2850,7 @@ public class DeviceIdleController extends SystemService
        }
        final int appId = UserHandle.getAppId(uid);
        updateTempWhitelistAppIdsLocked(uid, false, 0, 0);
        mHandler.obtainMessage(MSG_REPORT_TEMP_APP_WHITELIST_CHANGED, appId, 0)
        mHandler.obtainMessage(MSG_REPORT_TEMP_APP_WHITELIST_CHANGED_TO_NPMS, appId, 0)
                .sendToTarget();
        reportTempWhitelistChangedLocked(uid, false);
        try {