I have a rooted phone Samsung N7100 (kitkat 4.4.2). After 6 April 2019 I started getting locations with date of 1999 year.
Sometimes locations come with a date of 2019, but after that the device stops receiving any locations.
Only the adb comand helps, but after some time the device stops receiving any locations.
settings put secure location_providers_allowed -gps
settings put secure location_providers_allowed +gps
I have tried update firmware to android 6 and 7. Nothings helps.
mLocationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 5000, 0, this);
....
public void onLocationChanged(Location location) {
Log.d(TAG, (new Date(location.getTime())).toLocaleString());
}