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

Commit 870a603d authored by Kweku Adams's avatar Kweku Adams
Browse files

Fix logging issue.

mHasFusedLocation was never set to true, so all bug reports would falsely indicate that FUSED_PROVIDER didn't exist on the device. Properly set mHasFusedLocation so that bug reports can be interpreted correctly.

Bug: 273742717
Test: N/A
Change-Id: I67306397c8997acdcab7357f0454187da5e78744
parent 87fbc21f
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -3919,6 +3919,7 @@ public class DeviceIdleController extends SystemService
                    if (locationManager != null
                    if (locationManager != null
                            && locationManager.getProvider(LocationManager.FUSED_PROVIDER)
                            && locationManager.getProvider(LocationManager.FUSED_PROVIDER)
                                    != null) {
                                    != null) {
                        mHasFusedLocation = true;
                        locationManager.requestLocationUpdates(LocationManager.FUSED_PROVIDER,
                        locationManager.requestLocationUpdates(LocationManager.FUSED_PROVIDER,
                                mLocationRequest,
                                mLocationRequest,
                                AppSchedulingModuleThread.getExecutor(),
                                AppSchedulingModuleThread.getExecutor(),