Remove activity alias and add new activity
This commit is contained in:
@@ -188,7 +188,7 @@
|
||||
</intent-filter>
|
||||
</service>
|
||||
|
||||
<!-- This activity alias is for search provider widget -->
|
||||
<activity-alias android:name="org.chromium.chrome.browser.searchwidget.SearchWidgetProviderActivity"
|
||||
android:targetActivity="org.chromium.chrome.browser.searchwidget.SearchActivity"
|
||||
android:exported="true" />
|
||||
<!-- This activity is used for search provider widget -->
|
||||
<activity android:name="org.chromium.chrome.browser.searchwidget.SearchWidgetProviderActivity"
|
||||
android:theme="@style/Theme.Chromium.SearchActivity"
|
||||
android:exported="true"/>
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Copyright (c) 2022 The Brave Authors. All rights reserved.
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
||||
* You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package org.chromium.chrome.browser.searchwidget;
|
||||
|
||||
import android.content.Intent;
|
||||
|
||||
import org.chromium.chrome.browser.searchwidget.SearchActivity;
|
||||
|
||||
public class SearchWidgetProviderActivity extends SearchActivity {
|
||||
@Override
|
||||
public void onNewIntent(Intent intent) {
|
||||
super.onNewIntent(intent);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user