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

Commit fe6fd5d2 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by Android (Google) Code Review
Browse files

Merge "Fix trigger sensor lifecycle"

parents 10a2999a 716a734e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -534,8 +534,8 @@ public class DozeService extends DreamService {
                    }
                }

                requestPulse(mPulseReason);
                mRegistered = false;
                requestPulse(mPulseReason);
                updateListener();  // reregister, this sensor only fires once

                // reset the notification pulse schedule, but only if we think we were not triggered