OSDN Git Service

Add initial implementation of PhotosProvider.
authorGeorge Mount <mount@google.com>
Thu, 21 Feb 2013 01:01:54 +0000 (17:01 -0800)
committerGeorge Mount <mount@google.com>
Tue, 26 Feb 2013 20:49:13 +0000 (12:49 -0800)
Change-Id: I98694cf54bd0fb549703a7184e1816e9590a05ff

AndroidManifest.xml
tests/AndroidManifest.xml

index 3cd30cb..1a6f800 100644 (file)
                 android:exported="true"
                 android:permission="com.android.gallery3d.permission.GALLERY_PROVIDER"
                 android:authorities="com.android.gallery3d.provider" />
+        <provider
+                android:name="com.android.photos.data.PhotoProvider"
+                android:authorities="com.android.gallery3d.photoprovider"
+                android:syncable="false"
+                android:exported="false"/>
         <activity android:name="com.android.gallery3d.gadget.WidgetClickHandler" />
         <activity android:name="com.android.gallery3d.app.DialogPicker"
                 android:configChanges="keyboardHidden|orientation|screenSize"
index ef63cc4..b98b5e0 100644 (file)
@@ -36,4 +36,8 @@
     <instrumentation android:name="com.android.gallery3d.stress.CameraStressTestRunner"
             android:targetPackage="com.android.gallery3d"
             android:label="Camera stress test runner"/>
+
+    <instrumentation android:name="com.android.photos.data.DataTestRunner"
+            android:targetPackage="com.android.gallery3d"
+            android:label="Tests for android photo DataProviders."/>
 </manifest>