OSDN Git Service

Update the manifest to mark the activity as the default.
authorPatrick Scott <phanna@android.com>
Fri, 4 Sep 2009 13:51:45 +0000 (09:51 -0400)
committerPatrick Scott <phanna@android.com>
Fri, 4 Sep 2009 19:30:40 +0000 (15:30 -0400)
This was needed during testing and threw an exception without it. Not sure how
Derek got around not having it before.

1  2 
AndroidManifest.xml

          <!-- Makes .BrowserActivity the search target for any activity in Browser -->
          <meta-data android:name="android.app.default_searchable" android:value=".BrowserActivity" />
  
+         <activity android:name="android.webkit.PluginActivity">
+             <intent-filter>
+                 <action android:name="android.intent.webkit.PLUGIN" />
++                <category android:name="android.intent.category.DEFAULT" />
+             </intent-filter>
+         </activity>
  
      </application>