diff options
author | Pinyao Ting <pinyaoting@google.com> | 2019-09-24 15:32:18 -0700 |
---|---|---|
committer | Pinyao Ting <pinyaoting@google.com> | 2019-09-30 18:34:49 +0000 |
commit | ea38c25854e87b0fe564cff465038a91f4156be2 (patch) | |
tree | c478a8bdfad287c19353f2444d95159acc0ae125 /src/com | |
parent | 10b141477882a2481713d230c3473e65d9c01725 (diff) | |
download | android_packages_apps_Trebuchet-ea38c25854e87b0fe564cff465038a91f4156be2.tar.gz android_packages_apps_Trebuchet-ea38c25854e87b0fe564cff465038a91f4156be2.tar.bz2 android_packages_apps_Trebuchet-ea38c25854e87b0fe564cff465038a91f4156be2.zip |
removed extra test protocol for unit test
Bug: 140406263
Test: run TaplTestsLauncher3
Change-Id: I73b3098bd3aa92fed41d22a94cb58fd07263d26a
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/android/launcher3/PagedView.java | 7 | ||||
-rw-r--r-- | src/com/android/launcher3/testing/TestInformationHandler.java | 8 | ||||
-rw-r--r-- | src/com/android/launcher3/testing/TestProtocol.java | 2 |
3 files changed, 0 insertions, 17 deletions
diff --git a/src/com/android/launcher3/PagedView.java b/src/com/android/launcher3/PagedView.java index 34b102c0b..5c790f379 100644 --- a/src/com/android/launcher3/PagedView.java +++ b/src/com/android/launcher3/PagedView.java @@ -1708,11 +1708,4 @@ public abstract class PagedView<T extends View & PageIndicator> extends ViewGrou mTmpIntPair[1] = rightChild; return mTmpIntPair; } - - /** - * Returns true if overscroll is allowed, otherwise false. - */ - public boolean allowOverScroll() { - return mAllowOverScroll; - } } diff --git a/src/com/android/launcher3/testing/TestInformationHandler.java b/src/com/android/launcher3/testing/TestInformationHandler.java index d62b591b8..d3ec83b4f 100644 --- a/src/com/android/launcher3/testing/TestInformationHandler.java +++ b/src/com/android/launcher3/testing/TestInformationHandler.java @@ -82,14 +82,6 @@ public class TestInformationHandler implements ResourceBasedOverride { break; } - case TestProtocol.REQUEST_DOES_WORKSPACE_HAVE_SECOND_PAGE: { - if (mLauncher == null) return null; - - response.putBoolean(TestProtocol.TEST_INFO_RESPONSE_FIELD, - mLauncher.getWorkspace().getPageCount() > 1); - break; - } - case TestProtocol.REQUEST_IS_LAUNCHER_INITIALIZED: { response.putBoolean(TestProtocol.TEST_INFO_RESPONSE_FIELD, true); break; diff --git a/src/com/android/launcher3/testing/TestProtocol.java b/src/com/android/launcher3/testing/TestProtocol.java index f9f59d8b6..62bb56404 100644 --- a/src/com/android/launcher3/testing/TestProtocol.java +++ b/src/com/android/launcher3/testing/TestProtocol.java @@ -66,8 +66,6 @@ public final class TestProtocol { "all-apps-to-overview-swipe-height"; public static final String REQUEST_HOME_TO_ALL_APPS_SWIPE_HEIGHT = "home-to-all-apps-swipe-height"; - public static final String REQUEST_DOES_WORKSPACE_HAVE_SECOND_PAGE = - "does-workspace-have-second-page"; public static final String REQUEST_HOTSEAT_TOP = "hotseat-top"; public static final String REQUEST_IS_LAUNCHER_INITIALIZED = "is-launcher-initialized"; public static final String REQUEST_FREEZE_APP_LIST = "freeze-app-list"; |