forked from upstream-mirrors/OpenTracks
Removed unused permissions as TrackRecordingService is now only reachable from within the app.
This commit is contained in:
@@ -1037,9 +1037,6 @@ public class TrackRecordingService extends Service {
|
||||
Intent intent = new Intent().setAction(getString(actionId))
|
||||
.putExtra(getString(R.string.track_id_broadcast_extra), trackId);
|
||||
sendBroadcast(intent, getString(R.string.permission_notification_value));
|
||||
if (PreferencesUtils.getBoolean(this, R.string.allow_access_key, PreferencesUtils.ALLOW_ACCESS_DEFAULT)) {
|
||||
sendBroadcast(intent, getString(R.string.broadcast_notifications_permission));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -35,8 +35,6 @@ public class PreferencesUtils {
|
||||
* Preferences values. The defaults need to match the defaults in the xml
|
||||
* files.
|
||||
*/
|
||||
@Deprecated //TODO: to be removed.
|
||||
public static final boolean ALLOW_ACCESS_DEFAULT = false;
|
||||
public static final int AUTO_RESUME_TRACK_CURRENT_RETRY_DEFAULT = 0;
|
||||
|
||||
// Values for auto_resume_track_timeout_key
|
||||
|
||||
Reference in New Issue
Block a user