mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-03 09:49:19 +02:00
removed obsolete scheme
This commit is contained in:
parent
b27344fcff
commit
0fee6dc2ff
3 changed files with 1 additions and 17 deletions
|
@ -217,11 +217,6 @@
|
|||
</activity>
|
||||
<activity android:name="org.geometerplus.android.fbreader.TOCActivity" android:theme="@style/FBReader.Activity" android:configChanges="orientation|keyboardHidden|screenSize"/>
|
||||
<activity android:name="org.geometerplus.android.fbreader.preferences.PreferenceActivity" android:theme="@style/FBReader.Activity" android:configChanges="orientation|keyboardHidden|screenSize" android:process=":preferences">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW"/>
|
||||
<category android:name="android.intent.category.DEFAULT"/>
|
||||
<data android:scheme="fbreader-preferences"/>
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="android.fbreader.action.PREFERENCES"/>
|
||||
<category android:name="android.intent.category.DEFAULT"/>
|
||||
|
|
|
@ -217,11 +217,6 @@
|
|||
</activity>
|
||||
<activity android:name="org.geometerplus.android.fbreader.TOCActivity" android:theme="@style/FBReader.Activity" android:configChanges="orientation|keyboardHidden|screenSize"/>
|
||||
<activity android:name="org.geometerplus.android.fbreader.preferences.PreferenceActivity" android:theme="@style/FBReader.Activity" android:configChanges="orientation|keyboardHidden|screenSize" android:process=":preferences">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW"/>
|
||||
<category android:name="android.intent.category.DEFAULT"/>
|
||||
<data android:scheme="fbreader-preferences"/>
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="android.fbreader.action.PREFERENCES"/>
|
||||
<category android:name="android.intent.category.DEFAULT"/>
|
||||
|
|
|
@ -135,13 +135,7 @@ abstract class ZLPreferenceActivity extends android.preference.PreferenceActivit
|
|||
|
||||
final Intent intent = getIntent();
|
||||
final Uri data = intent.getData();
|
||||
final String screenId;
|
||||
if (Intent.ACTION_VIEW.equals(intent.getAction())
|
||||
&& data != null && "fbreader-preferences".equals(data.getScheme())) {
|
||||
screenId = data.getEncodedSchemeSpecificPart();
|
||||
} else {
|
||||
screenId = intent.getStringExtra(SCREEN_KEY);
|
||||
}
|
||||
final String screenId = intent.getStringExtra(SCREEN_KEY);
|
||||
|
||||
Config.Instance().runOnConnect(new Runnable() {
|
||||
public void run() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue