Merge "Fixed the XMLAdapters example"

This commit is contained in:
Gilles Debunne
2012-04-23 15:52:48 -07:00
committed by Android (Google) Code Review
3 changed files with 3 additions and 4 deletions

View File

@@ -47,8 +47,7 @@
</intent-filter>
</activity>
<provider android:name="android.content.XmlDocumentProvider"
android:authorities="xmldocument" />
<provider android:name="XmlDocumentProvider" android:authorities="xmldocument" />
</application>

View File

@@ -59,7 +59,7 @@ public class ImageDownloader {
private static final int DELAY_BEFORE_PURGE = 30 * 1000; // in milliseconds
// Hard cache, with a fixed maximum capacity and a life duration
private final HashMap<String, Bitmap> sHardBitmapCache =
private final static HashMap<String, Bitmap> sHardBitmapCache =
new LinkedHashMap<String, Bitmap>(HARD_CACHE_CAPACITY / 2, 0.75f, true) {
private static final long serialVersionUID = -7190622541619388252L;
@Override

View File

@@ -59,7 +59,7 @@ import java.util.regex.Pattern;
* <p>To add this provider in your application, you should add its declaration to your application
* manifest:
* <pre class="prettyprint">
* &lt;provider android:name="android.content.XmlDocumentProvider" android:authorities="xmldocument" /&gt;
* &lt;provider android:name="XmlDocumentProvider" android:authorities="xmldocument" /&gt;
* </pre>
* </p>
*