1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-28 18:49:56 +02:00

renamed and moved to ScaleDatabaseProvider.java

This commit is contained in:
OliE
2018-07-20 16:21:16 +02:00
parent 2a7d4f9c32
commit 2f4a10ced5
2 changed files with 3 additions and 7 deletions

View File

@@ -69,7 +69,7 @@
android:resource="@xml/file_provider_paths" />
</provider>
<provider
android:name=".core.export.OpenScaleContentProvider"
android:name=".core.database.ScaleDatabaseProvider"
android:authorities="com.health.openscale.provider"
android:enabled="true"
android:exported="true"

View File

@@ -12,17 +12,13 @@
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>
*/package com.health.openscale.core.export;
*/package com.health.openscale.core.database;
import android.content.ContentProvider;
import android.content.ContentUris;
import android.content.ContentValues;
import android.content.Context;
import android.content.UriMatcher;
import android.database.Cursor;
import android.net.Uri;
import android.text.TextUtils;
import android.util.Log;
import com.health.openscale.core.OpenScale;
@@ -45,7 +41,7 @@ import com.health.openscale.core.OpenScale;
* retrieve all measurements for the supplied user ID.</li>
* </ul>
*/
public class OpenScaleContentProvider extends ContentProvider {
public class ScaleDatabaseProvider extends android.content.ContentProvider {
private static final UriMatcher uriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
private static final String AUTHORITY = "com.health.openscale.provider";