summaryrefslogtreecommitdiffstats
path: root/policy
diff options
context:
space:
mode:
Diffstat (limited to 'policy')
-rw-r--r--policy/src/com/android/internal/policy/impl/PhoneWindow.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindow.java b/policy/src/com/android/internal/policy/impl/PhoneWindow.java
index cd9f26f..b1fea03 100644
--- a/policy/src/com/android/internal/policy/impl/PhoneWindow.java
+++ b/policy/src/com/android/internal/policy/impl/PhoneWindow.java
@@ -301,11 +301,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);
}