mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Clear Accessibility Focus from icon after Shorcut Menu invoked
Similar to I2726504094af2abacf1c41089c7bcd4efb588099
Fixes: 267695526
Test: have talkback on
open all apps
open long press menu
ensure focus stays on pop up menu
Change-Id: I38f78df3855495c53a5ae8966e9a996e4679e95b
This commit is contained in:
@@ -29,6 +29,7 @@ import android.content.Intent;
|
||||
import android.content.res.Configuration;
|
||||
import android.os.Bundle;
|
||||
import android.util.Log;
|
||||
import android.view.View;
|
||||
import android.window.OnBackInvokedDispatcher;
|
||||
|
||||
import androidx.annotation.IntDef;
|
||||
@@ -362,6 +363,12 @@ public abstract class BaseActivity extends Activity implements ActivityContext {
|
||||
return (mForceInvisible & mask) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Attempts to clear accessibility focus on {@param view}.
|
||||
*/
|
||||
public void tryClearAccessibilityFocus(View view) {
|
||||
}
|
||||
|
||||
public interface MultiWindowModeChangedListener {
|
||||
void onMultiWindowModeChanged(boolean isInMultiWindowMode);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user