@@ -53,18 +53,6 @@ public class AppWidgetProviderInfo implements Parcelable {
5353 */
5454 public static final int WIDGET_CATEGORY_KEYGUARD = 2 ;
5555
56- /**
57- * Indicates that the widget supports no special features.
58- */
59- public static final int WIDGET_FEATURES_NONE = 0 ;
60-
61- /**
62- * Indicates that the widget is output only, ie. has nothing clickable. This may be enforced by
63- * the host. Presently, this flag is used by the keyguard to indicate that it can be placed
64- * in the first position.
65- */
66- public static final int WIDGET_FEATURES_STATUS = 1 ;
67-
6856 /**
6957 * Identity of this AppWidget component. This component should be a {@link
7058 * android.content.BroadcastReceiver}, and it will be sent the AppWidget intents
@@ -207,15 +195,6 @@ public class AppWidgetProviderInfo implements Parcelable {
207195 */
208196 public int widgetCategory ;
209197
210- /**
211- * A field which specifies any special features that this widget supports. See
212- * {@link #WIDGET_FEATURES_NONE}, {@link #WIDGET_FEATURES_STATUS}.
213- *
214- * <p>This field corresponds to the <code>widgetFeatures</code> attribute in
215- * the AppWidget meta-data file.
216- */
217- public int widgetFeatures ;
218-
219198 public AppWidgetProviderInfo () {
220199 }
221200
@@ -242,7 +221,6 @@ public AppWidgetProviderInfo(Parcel in) {
242221 this .autoAdvanceViewId = in .readInt ();
243222 this .resizeMode = in .readInt ();
244223 this .widgetCategory = in .readInt ();
245- this .widgetFeatures = in .readInt ();
246224 }
247225
248226 public void writeToParcel (android .os .Parcel out , int flags ) {
@@ -271,7 +249,6 @@ public void writeToParcel(android.os.Parcel out, int flags) {
271249 out .writeInt (this .autoAdvanceViewId );
272250 out .writeInt (this .resizeMode );
273251 out .writeInt (this .widgetCategory );
274- out .writeInt (this .widgetFeatures );
275252 }
276253
277254 @ Override
@@ -292,7 +269,6 @@ public AppWidgetProviderInfo clone() {
292269 that .autoAdvanceViewId = this .autoAdvanceViewId ;
293270 that .resizeMode = this .resizeMode ;
294271 that .widgetCategory = this .widgetCategory ;
295- that .widgetFeatures = this .widgetFeatures ;
296272 return that ;
297273 }
298274
0 commit comments