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

Commit 600c0866 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Deprecate Notification.Style constructor to fix lint" into main

parents 098e2391 f3175239
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
@@ -7381,6 +7381,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