Configuration Activity
Base class for configuration activity. A configuration activity is started when user wishes to configure the selected plugin. To create a configuration activity, extend this class, implement abstract methods, invoke saveChanges(options) and discardChanges() when appropriate, and add it to your manifest like this:
<pre class="prettyprint"><manifest> ... <application> ... <activity android:name=".ConfigureActivity"> <intent-filter> <action android:name="com.github.shadowsocks.plugin.ACTION_CONFIGURE"/> <category android:name="android.intent.category.DEFAULT"/> <data android:scheme="plugin" android:host="com.github.shadowsocks" android:path="/$PLUGIN_ID"/> </intent-filter> </activity> ... </application> </manifest></pre>