Never setting accessibility focus manually
This will result in the focus going to the second from the right task upon opening Recents. This will be mitigated by implementing in near future announcements like Task 6 out of 7. Besides this, due to (presumably) problems external to Launcher, the focus may stay on Home button or completely disappear upon opening Recents. Bug: 72222505 Change-Id: I0e5ac62bfa0e1c0db2d17a6014e61f82cfccf252 Testing: Manual
This commit is contained in:
parent
b05b489f04
commit
00e0b91917
|
@ -53,7 +53,6 @@ import android.view.LayoutInflater;
|
|||
import android.view.MotionEvent;
|
||||
import android.view.View;
|
||||
import android.view.ViewDebug;
|
||||
import android.view.accessibility.AccessibilityEvent;
|
||||
|
||||
import com.android.launcher3.BaseActivity;
|
||||
import com.android.launcher3.DeviceProfile;
|
||||
|
@ -1264,10 +1263,6 @@ public abstract class RecentsView<T extends BaseActivity> extends PagedView impl
|
|||
@Override
|
||||
protected void notifyPageSwitchListener(int prevPage) {
|
||||
super.notifyPageSwitchListener(prevPage);
|
||||
View currChild = getChildAt(mCurrentPage);
|
||||
if (currChild != null) {
|
||||
currChild.sendAccessibilityEvent(AccessibilityEvent.TYPE_VIEW_FOCUSED);
|
||||
}
|
||||
loadVisibleTaskData();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue