Remove activity alias and add new activity

This commit is contained in:
Deep
2022-08-29 14:11:01 -04:00
parent cdb380d146
commit 59cd3cc3f0
3 changed files with 24 additions and 4 deletions
+4 -4
View File
@@ -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"/>
@@ -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);
}
}