ngoquang2708 / android_device_samsung_vivalto3gvn

Device tree for Samsung Galaxy V SM-G313HZ
7 stars 8 forks source link

Cannot use Location in 'Device only' mode #53

Open ngoquang2708 opened 8 years ago

ngoquang2708 commented 8 years ago

This is a common CM13 issue with permission.

com.google.android.finsky.utils.aa.a(57): No permission to get location. java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LOCATION permission
ngoquang2708 commented 8 years ago

That error is gone when I grant read location permission for Google Play Store in Apps settings.

ngoquang2708 commented 8 years ago

@koquantam Do you have this issue?

diepquynh commented 8 years ago

No, I guess, because my logcat doesn't has it Edit: Confirmed, now I have it, weird

PhantomAssassin12 commented 8 years ago

I don't have this issue my gps is working fine in device only.

diepquynh commented 8 years ago

@ngoquang2708 Off topic: Can you check the battery section in Settings For me I only see "Screen" there

ngoquang2708 commented 8 years ago

Where is your power_profile.xml come from? I extract it from my stock's frameworks-res.apk.

diepquynh commented 8 years ago

Yes also from my stock framework-res.apk

diepquynh commented 8 years ago

In CM12.1, battery stats working fine, but CM13 doesn't

ngoquang2708 commented 7 years ago

@PhantomAssassin12 If you have time, can you test GPS (device only mode since reboot) in CM14.1 and report me here. Thank you.