mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-29 02:59:57 +02:00
renamed and moved to ScaleDatabaseProvider.java
This commit is contained in:
@@ -69,7 +69,7 @@
|
|||||||
android:resource="@xml/file_provider_paths" />
|
android:resource="@xml/file_provider_paths" />
|
||||||
</provider>
|
</provider>
|
||||||
<provider
|
<provider
|
||||||
android:name=".core.export.OpenScaleContentProvider"
|
android:name=".core.database.ScaleDatabaseProvider"
|
||||||
android:authorities="com.health.openscale.provider"
|
android:authorities="com.health.openscale.provider"
|
||||||
android:enabled="true"
|
android:enabled="true"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
|
@@ -12,17 +12,13 @@
|
|||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* 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.ContentValues;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.UriMatcher;
|
import android.content.UriMatcher;
|
||||||
import android.database.Cursor;
|
import android.database.Cursor;
|
||||||
import android.net.Uri;
|
import android.net.Uri;
|
||||||
import android.text.TextUtils;
|
|
||||||
import android.util.Log;
|
|
||||||
|
|
||||||
import com.health.openscale.core.OpenScale;
|
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>
|
* retrieve all measurements for the supplied user ID.</li>
|
||||||
* </ul>
|
* </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 UriMatcher uriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
|
||||||
|
|
||||||
private static final String AUTHORITY = "com.health.openscale.provider";
|
private static final String AUTHORITY = "com.health.openscale.provider";
|
Reference in New Issue
Block a user