зеркало из https://github.com/mozilla/gecko-dev.git
Bug 929865 - Part 1: Reference org.mozilla.gecko directly when handling application/webapp intent. r=myk
--HG-- extra : rebase_source : 093bfcf485bbd4844c3c9a426bb756aef20fdae8
This commit is contained in:
Родитель
ef24c8b0ca
Коммит
dc6617c17c
|
@ -1,4 +1,4 @@
|
|||
<activity android:name=".WebApps$WebApp@APPNUM@"
|
||||
<activity android:name="org.mozilla.gecko.WebApps$WebApp@APPNUM@"
|
||||
android:label="@string/webapp_generic_name"
|
||||
android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
|
||||
android:windowSoftInputMode="stateUnspecified|adjustResize"
|
||||
|
|
|
@ -44,8 +44,8 @@ public class Dispatcher extends Activity {
|
|||
// Copy the intent, without interfering with it.
|
||||
Intent intent = new Intent(getIntent());
|
||||
|
||||
// Only change it's destination.
|
||||
intent.setClassName(getApplicationContext(), getPackageName() + ".WebApps$WebApp" + index);
|
||||
// Only change its destination.
|
||||
intent.setClassName(getApplicationContext(), "org.mozilla.gecko.WebApps$WebApp" + index);
|
||||
|
||||
// If and only if we haven't seen this before.
|
||||
intent.putExtra("isInstalled", isInstalled);
|
||||
|
|
Загрузка…
Ссылка в новой задаче