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

Commit f3175239 authored by Jeff DeCew's avatar Jeff DeCew
Browse files

Deprecate Notification.Style constructor to fix lint

Bug: 327204644
Test: presubmit
Flag: NONE
Change-Id: I6baa39389fa4c2ac1b2e663fe50691d7347c5853
parent 5024b7a0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6849,7 +6849,7 @@ package android.app {
  }
  public abstract static class Notification.Style {
    ctor public Notification.Style();
    ctor @Deprecated public Notification.Style();
    method public android.app.Notification build();
    method protected void checkBuilder();
    method protected android.widget.RemoteViews getStandardView(int);
+9 −0
Original line number Diff line number Diff line
@@ -7378,6 +7378,15 @@ public class Notification implements Parcelable
     */
    public static abstract class Style {
        /**
         * @deprecated public access to the constructor of Style() is only useful for creating
         * custom subclasses, but that has actually been impossible due to hidden abstract
         * methods, so this constructor is now officially deprecated to clarify that this is
         * intended to be disallowed.
         */
        @Deprecated
        public Style() {}
        /**
         * The number of items allowed simulatanously in the remote input history.
         * @hide