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

Commit c078e6b6 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add @TestApi to KeyEvent.actionToString(..)"

parents 4f95004b 4c96a5e2
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -1259,6 +1259,10 @@ package android.view {
    method public void enable();
    method public void enable();
  }
  }


  public class KeyEvent extends android.view.InputEvent implements android.os.Parcelable {
    method public static java.lang.String actionToString(int);
  }

  public final class KeyboardShortcutGroup implements android.os.Parcelable {
  public final class KeyboardShortcutGroup implements android.os.Parcelable {
    ctor public KeyboardShortcutGroup(java.lang.CharSequence, java.util.List<android.view.KeyboardShortcutInfo>, boolean);
    ctor public KeyboardShortcutGroup(java.lang.CharSequence, java.util.List<android.view.KeyboardShortcutInfo>, boolean);
    ctor public KeyboardShortcutGroup(java.lang.CharSequence, boolean);
    ctor public KeyboardShortcutGroup(java.lang.CharSequence, boolean);
+2 −0
Original line number Original line Diff line number Diff line
@@ -16,6 +16,7 @@


package android.view;
package android.view;


import android.annotation.TestApi;
import android.os.Parcel;
import android.os.Parcel;
import android.os.Parcelable;
import android.os.Parcelable;
import android.text.method.MetaKeyKeyListener;
import android.text.method.MetaKeyKeyListener;
@@ -2857,6 +2858,7 @@ public class KeyEvent extends InputEvent implements Parcelable {
     * @return The symbolic name of the specified action.
     * @return The symbolic name of the specified action.
     * @hide
     * @hide
     */
     */
    @TestApi
    public static String actionToString(int action) {
    public static String actionToString(int action) {
        switch (action) {
        switch (action) {
            case ACTION_DOWN:
            case ACTION_DOWN: