diff options
author | Adam Cohen <adamcohen@google.com> | 2012-09-30 12:19:50 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-09-30 12:19:50 -0700 |
commit | b97a71e8bd9877f4d4e47ec41408079552ab165b (patch) | |
tree | f805ac0a48782518d3ef419d782bd3250754e5a4 /core/java | |
parent | a6efc965cc6f42ab88c08e48463ea4604d29cc77 (diff) | |
parent | 82ebe6f777902f00250efc3535ad11c2c6a74258 (diff) | |
download | frameworks_base-b97a71e8bd9877f4d4e47ec41408079552ab165b.zip frameworks_base-b97a71e8bd9877f4d4e47ec41408079552ab165b.tar.gz frameworks_base-b97a71e8bd9877f4d4e47ec41408079552ab165b.tar.bz2 |
Merge "Getting rid of keyguard widget flag that isn't used" into jb-mr1-dev
Diffstat (limited to 'core/java')
-rw-r--r-- | core/java/android/appwidget/AppWidgetProviderInfo.java | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/core/java/android/appwidget/AppWidgetProviderInfo.java b/core/java/android/appwidget/AppWidgetProviderInfo.java index 5074480..8b62931 100644 --- a/core/java/android/appwidget/AppWidgetProviderInfo.java +++ b/core/java/android/appwidget/AppWidgetProviderInfo.java @@ -59,17 +59,11 @@ public class AppWidgetProviderInfo implements Parcelable { public static final int WIDGET_FEATURES_NONE = 0; /** - * Indicates that the widget displays the current time. The host may use this as a hint to not - * display the time in other places. - */ - public static final int WIDGET_FEATURES_CLOCK = 1; - - /** * Indicates that the widget is output only, ie. has nothing clickable. This may be enforced by * the host. Presently, this flag is used by the keyguard to indicate that it can be placed * in the first position. */ - public static final int WIDGET_FEATURES_STATUS = 2; + public static final int WIDGET_FEATURES_STATUS = 1; /** * Identity of this AppWidget component. This component should be a {@link @@ -215,8 +209,7 @@ public class AppWidgetProviderInfo implements Parcelable { /** * A field which specifies any special features that this widget supports. See - * {@link #WIDGET_FEATURES_NONE}, {@link #WIDGET_FEATURES_CLOCK}, - * {@link #WIDGET_FEATURES_STATUS}. + * {@link #WIDGET_FEATURES_NONE}, {@link #WIDGET_FEATURES_STATUS}. * * <p>This field corresponds to the <code>widgetFeatures</code> attribute in * the AppWidget meta-data file. |