From d5f010e4e7fdcd6ba3959f1e148d9b4dad057017 Mon Sep 17 00:00:00 2001 From: Aaron Whyte Date: Tue, 13 May 2014 02:19:10 +0000 Subject: Revert "Disallow FEATURE_INDETERMINATE_PROGRESS for clockwork. Make LauncherActivity CTS tests pass on clockwork. Bug: 14657859" This reverts commit 3f3e3e87e2a8f899d896c0c54441a37a23fdba3b. Change-Id: I799d9a2b0eeb708f57127be60780c7a005b792b5 --- policy/src/com/android/internal/policy/impl/PhoneWindow.java | 5 ----- 1 file changed, 5 deletions(-) (limited to 'policy') diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindow.java b/policy/src/com/android/internal/policy/impl/PhoneWindow.java index 0961a33..78020e9 100644 --- a/policy/src/com/android/internal/policy/impl/PhoneWindow.java +++ b/policy/src/com/android/internal/policy/impl/PhoneWindow.java @@ -278,11 +278,6 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback { throw new AndroidRuntimeException( "You cannot combine swipe dismissal and the action bar."); } - - if (featureId == FEATURE_INDETERMINATE_PROGRESS && - getContext().getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)) { - throw new AndroidRuntimeException("You cannot use indeterminate progress on a watch."); - } return super.requestFeature(featureId); } -- cgit v1.1