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

Commit cbd4ad1f authored by joonyoung.cho's avatar joonyoung.cho Committed by android-build-merger
Browse files

Merge "fix safeMode status in AppWidgetService"

am: 78a72f06

Change-Id: I21559690f6371102cf48132d8930343923d60011
parents cc6fd454 78a72f06
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ public class AppWidgetService extends SystemService {

    @Override
    public void onBootPhase(int phase) {
        if (phase == PHASE_THIRD_PARTY_APPS_CAN_START) {
        if (phase == PHASE_ACTIVITY_MANAGER_READY) {
            mImpl.setSafeMode(isSafeMode());
        }
    }
+2 −0
Original line number Diff line number Diff line
@@ -1256,6 +1256,8 @@ public final class SystemServer {
        }
        Trace.traceEnd(Trace.TRACE_TAG_SYSTEM_SERVER);

        mSystemServiceManager.setSafeMode(safeMode);

        // These are needed to propagate to the runnable below.
        final NetworkManagementService networkManagementF = networkManagement;
        final NetworkStatsService networkStatsF = networkStats;