Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9767597a authored by Adam Cohen's avatar Adam Cohen Committed by Android (Google) Code Review
Browse files

Merge "Stripping dead API related to keyguard widgets" into jb-mr1-lockscreen-dev

parents 757d0d88 8f697d85
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1145,7 +1145,6 @@ package android {
    field public static final int weekSeparatorLineColor = 16843590; // 0x1010346
    field public static final int weightSum = 16843048; // 0x1010128
    field public static final int widgetCategory = 16843716; // 0x10103c4
    field public static final int widgetFeatures = 16843715; // 0x10103c3
    field public static final int widgetLayout = 16843243; // 0x10101eb
    field public static final int width = 16843097; // 0x1010159
    field public static final int windowActionBar = 16843469; // 0x10102cd
@@ -4497,8 +4496,6 @@ package android.appwidget {
    field public static final int RESIZE_VERTICAL = 2; // 0x2
    field public static final int WIDGET_CATEGORY_HOME_SCREEN = 1; // 0x1
    field public static final int WIDGET_CATEGORY_KEYGUARD = 2; // 0x2
    field public static final int WIDGET_FEATURES_NONE = 0; // 0x0
    field public static final int WIDGET_FEATURES_STATUS = 1; // 0x1
    field public int autoAdvanceViewId;
    field public android.content.ComponentName configure;
    field public int icon;
@@ -4514,7 +4511,6 @@ package android.appwidget {
    field public int resizeMode;
    field public int updatePeriodMillis;
    field public int widgetCategory;
    field public int widgetFeatures;
  }
}
+0 −4
Original line number Diff line number Diff line
@@ -1145,7 +1145,6 @@ package android {
    field public static final int weekSeparatorLineColor = 16843590; // 0x1010346
    field public static final int weightSum = 16843048; // 0x1010128
    field public static final int widgetCategory = 16843716; // 0x10103c4
    field public static final int widgetFeatures = 16843715; // 0x10103c3
    field public static final int widgetLayout = 16843243; // 0x10101eb
    field public static final int width = 16843097; // 0x1010159
    field public static final int windowActionBar = 16843469; // 0x10102cd
@@ -4497,8 +4496,6 @@ package android.appwidget {
    field public static final int RESIZE_VERTICAL = 2; // 0x2
    field public static final int WIDGET_CATEGORY_HOME_SCREEN = 1; // 0x1
    field public static final int WIDGET_CATEGORY_KEYGUARD = 2; // 0x2
    field public static final int WIDGET_FEATURES_NONE = 0; // 0x0
    field public static final int WIDGET_FEATURES_STATUS = 1; // 0x1
    field public int autoAdvanceViewId;
    field public android.content.ComponentName configure;
    field public int icon;
@@ -4514,7 +4511,6 @@ package android.appwidget {
    field public int resizeMode;
    field public int updatePeriodMillis;
    field public int widgetCategory;
    field public int widgetFeatures;
  }
}
+0 −24
Original line number Diff line number Diff line
@@ -53,18 +53,6 @@ public class AppWidgetProviderInfo implements Parcelable {
     */
    public static final int WIDGET_CATEGORY_KEYGUARD = 2;

    /**
     * Indicates that the widget supports no special features.
     */
    public static final int WIDGET_FEATURES_NONE = 0;

    /**
     * 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 = 1;

    /**
     * Identity of this AppWidget component.  This component should be a {@link
     * android.content.BroadcastReceiver}, and it will be sent the AppWidget intents
@@ -207,15 +195,6 @@ public class AppWidgetProviderInfo implements Parcelable {
     */
    public int widgetCategory;

    /**
     * A field which specifies any special features that this widget supports. See
     * {@link #WIDGET_FEATURES_NONE}, {@link #WIDGET_FEATURES_STATUS}.
     *
     * <p>This field corresponds to the <code>widgetFeatures</code> attribute in
     * the AppWidget meta-data file.
     */
    public int widgetFeatures;

    public AppWidgetProviderInfo() {
    }

@@ -242,7 +221,6 @@ public class AppWidgetProviderInfo implements Parcelable {
        this.autoAdvanceViewId = in.readInt();
        this.resizeMode = in.readInt();
        this.widgetCategory = in.readInt();
        this.widgetFeatures = in.readInt();
    }

    public void writeToParcel(android.os.Parcel out, int flags) {
@@ -271,7 +249,6 @@ public class AppWidgetProviderInfo implements Parcelable {
        out.writeInt(this.autoAdvanceViewId);
        out.writeInt(this.resizeMode);
        out.writeInt(this.widgetCategory);
        out.writeInt(this.widgetFeatures);
    }

    @Override
@@ -292,7 +269,6 @@ public class AppWidgetProviderInfo implements Parcelable {
        that.autoAdvanceViewId = this.autoAdvanceViewId;
        that.resizeMode = this.resizeMode;
        that.widgetCategory  = this.widgetCategory;
        that.widgetFeatures = this.widgetFeatures;
        return that;
    }

+0 −6
Original line number Diff line number Diff line
@@ -5231,12 +5231,6 @@
            <flag name="home_screen" value="0x1" />
            <flag name="keyguard" value="0x2" />
        </attr>
        <!-- Optional parameter which indicates any feature(s) that this widget
             supports. Supports combined values using | operator. -->
        <attr name="widgetFeatures" format="integer">
            <flag name="none" value="0x0" />
            <flag name="status" value="0x1" />
        </attr>
    </declare-styleable>

    <!-- =============================== -->
+0 −1
Original line number Diff line number Diff line
@@ -2013,7 +2013,6 @@
  <public type="attr" name="presentationTheme" id="0x010103c0" />
  <public type="attr" name="subtypeId" id="0x010103c1" />
  <public type="attr" name="initialKeyguardLayout" id="0x010103c2" />
  <public type="attr" name="widgetFeatures" id="0x010103c3" />
  <public type="attr" name="widgetCategory" id="0x010103c4" />
  <public type="attr" name="permissionGroupFlags" id="0x010103c5" />
  <public type="attr" name="labelFor" id="0x010103c6" />
Loading