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

Commit a54af2ac authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Controls API - Update template docs" into rvc-dev am: e1ed6dcf

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11898402

Change-Id: I5e2fb272c013e69438f9e6e1368de51fc41125fe
parents c53ba4e8 e1ed6dcf
Loading
Loading
Loading
Loading
+7 −0
Original line number Original line Diff line number Diff line
@@ -789,6 +789,13 @@ public final class Control implements Parcelable {
        }
        }


        /**
        /**
         * Set the {@link ControlTemplate} to define the primary user interaction
         *
         * Devices may support a variety of user interactions, and all interactions cannot be
         * represented with a single {@link ControlTemplate}. Therefore, the selected template
         * should be most closely aligned with what the expected primary device action will be.
         * Any secondary interactions can be done via the {@link #setAppIntent(PendingIntent)}.
         *
         * @param controlTemplate instance of {@link ControlTemplate}, that defines how the
         * @param controlTemplate instance of {@link ControlTemplate}, that defines how the
         *                        {@link Control} will behave and what interactions are
         *                        {@link Control} will behave and what interactions are
         *                        available to the user
         *                        available to the user