mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-26 01:30:51 +00:00
(Android) Add another permission- ACCESS_COARSE_LOCATION - in case LocationManager
needs this
This commit is contained in:
parent
792b27288a
commit
3338513a9a
@ -12,6 +12,7 @@
|
||||
<uses-permission android:name="android.permission.CAMERA"/>
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
||||
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
||||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
|
@ -12,6 +12,7 @@ import android.content.SharedPreferences;
|
||||
import android.location.Location;
|
||||
import android.location.LocationListener;
|
||||
import android.os.Bundle;
|
||||
import android.util.Log;
|
||||
import android.widget.Toast;
|
||||
|
||||
/**
|
||||
@ -256,7 +257,8 @@ LocationListener
|
||||
|
||||
// Report to the UI that the location was updated
|
||||
String msg = "Updated Location: " + location.getLatitude() + ", " + location.getLongitude();
|
||||
Toast.makeText(this, msg, Toast.LENGTH_SHORT).show();
|
||||
Log.i("RetroArch GPS", msg);
|
||||
//Toast.makeText(this, msg, Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user