Extracted content uri definition.

This commit is contained in:
Dennis Guse
2019-08-21 22:20:18 +02:00
parent f8e3b28e51
commit 8538c79dd8
8 changed files with 30 additions and 22 deletions
@@ -36,10 +36,15 @@ import de.dennisguse.opentracks.content.Waypoint.WaypointType;
public interface ContentProviderUtils {
/**
* The authority (the first part of the URI) for the app's content
* provider.
* The authority (the first part of the URI) for the app's content provider.
*/
String AUTHORITY = BuildConfig.APPLICATION_ID + ".content";
String AUTHORITY_PACKAGE = BuildConfig.APPLICATION_ID + ".content";
/**
* The base URI for the app's content provider.
*/
String CONTENT_BASE_URI = "content://" + AUTHORITY_PACKAGE;
/**
* The default {@link LocationFactory} which creates a location each time.
*/