Snap for 10752753 from 4c735b9b94 to udc-qpr1-release
Change-Id: I2d06351f59e8a10966515104fe15ab27d3ae4c92
This commit is contained in:
@@ -185,7 +185,6 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest {
|
||||
@Test
|
||||
@NavigationModeSwitch
|
||||
@PortraitLandscape
|
||||
@ScreenRecord // b/195673272
|
||||
@PlatinumTest(focusArea = "launcher")
|
||||
public void testOverviewActions() throws Exception {
|
||||
// Experimenting for b/165029151:
|
||||
|
||||
@@ -74,14 +74,9 @@ public class ExtendedEditText extends EditText {
|
||||
@Override
|
||||
public boolean onKeyPreIme(int keyCode, KeyEvent event) {
|
||||
// If this is a back key, propagate the key back to the listener
|
||||
if (keyCode == KeyEvent.KEYCODE_BACK && event.getAction() == KeyEvent.ACTION_UP) {
|
||||
if (TextUtils.isEmpty(getText())) {
|
||||
hideKeyboard();
|
||||
}
|
||||
if (mBackKeyListener != null) {
|
||||
return mBackKeyListener.onBackKey();
|
||||
}
|
||||
return false;
|
||||
if (keyCode == KeyEvent.KEYCODE_BACK && event.getAction() == KeyEvent.ACTION_UP
|
||||
&& mBackKeyListener != null) {
|
||||
return mBackKeyListener.onBackKey();
|
||||
}
|
||||
return super.onKeyPreIme(keyCode, event);
|
||||
}
|
||||
|
||||
@@ -158,7 +158,6 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@ScreenRecord
|
||||
public void testPressHomeOnAllAppsContextMenu() throws Exception {
|
||||
final AllApps allApps = mLauncher.getWorkspace().switchToAllApps();
|
||||
allApps.freeze();
|
||||
|
||||
Reference in New Issue
Block a user