diff options
author | Jeff Sharkey <jsharkey@android.com> | 2014-11-13 17:50:25 -0800 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2014-11-14 11:21:12 -0800 |
commit | c9cd4b66263697ddc227b012d96a90ead8d21d92 (patch) | |
tree | 8f4df22a224d91fe4c7684ba2fa7d83d80e553d9 /AndroidManifest.xml | |
parent | 2e368f6d87eb82691f855e93f85599b75b489731 (diff) | |
download | HTMLViewer-c9cd4b66263697ddc227b012d96a90ead8d21d92.tar.gz |
Modernize HTMLViewer, offer to decompress.
Spruce up the UI to match Material spec. We can also load file://
content directly instead of forcing through a ContentProvider.
Since we're using this to show license content, try decompressing
files that end in ".gz", but fall back to loading normally if it's
not compressed. Let callers provide a window title.
Bug: 18376908
Change-Id: I59ce02fb17fbe157239d365417a1a1e88e2a18d4
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r-- | AndroidManifest.xml | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 315a958..9a2ccd0 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -19,12 +19,14 @@ <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.htmlviewer"> - <original-package android:name="com.android.htmlviewer" /> + <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> + <application android:label="@string/app_label"> - <activity android:name="HTMLViewerActivity" android:label="HTMLViewer" - android:theme="@android:style/Theme.Holo" > + <activity android:name="HTMLViewerActivity" + android:label="@string/app_label" + android:theme="@android:style/Theme.DeviceDefault"> <intent-filter> <category android:name="android.intent.category.DEFAULT" /> <action android:name="android.intent.action.VIEW" /> @@ -36,14 +38,5 @@ <data android:mimeType="application/vnd.wap.xhtml+xml"/> </intent-filter> </activity> - - <provider android:name="FileContentProvider" - android:exported="false" - android:authorities="com.android.htmlfileprovider" - android:syncable="false" android:multiprocess="false" - android:grantUriPermissions="true" /> - </application> - </manifest> - |