'Dealy in Accessibility Service Andriod

i am using Accessibility Service to click USSD dialogbox but i want some delay like 3 sec after Dialogbox appered

here is my code

<receiver android:name=".Messagereciver"
        android:exported ="true">
        <intent-filter android:priority="3000">
            <action android:name="android.provider.Telephony.SMS_RECEIVED" />
        </intent-filter>
    </receiver>
    <service
        android:name=".USSDService"
        android:enabled="true"
        android:exported="true"
        android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
        <intent-filter android:priority="3000" >
            <action android:name="android.accessibilityservice.AccessibilityService" />
        </intent-filter>
        <meta-data android:name="android.accessibilityservice"
            android:resource="@xml/config_service" />
    </service>

i have tried change android:priority 3000 but still same even in android:notificationTimeout="3000" in config_service



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source