NTP-38623 | Call Module fix
This commit is contained in:
@@ -202,6 +202,7 @@ public class CallModule extends ReactContextBaseJavaModule {
|
||||
@ReactMethod
|
||||
public void startDialerApp() {
|
||||
Intent launchIntent = reactContext.getPackageManager().getLaunchIntentForPackage(CALLING_APP_PACKAGE);
|
||||
launchIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);
|
||||
launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
if (launchIntent != null) {
|
||||
Log.d(TAG, "Call initiated successfully.");
|
||||
|
||||
@@ -25,7 +25,7 @@ const initialState: IAppUpdateSlice = {
|
||||
switchToFallback: false,
|
||||
isAppInstalled: false,
|
||||
},
|
||||
isCosmosDialerDefault: false,
|
||||
isCosmosDialerDefault: true,
|
||||
};
|
||||
|
||||
const AppUpdateSlice = createSlice({
|
||||
|
||||
Reference in New Issue
Block a user