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

Commit 48f5faa9 authored by Neal Eckard's avatar Neal Eckard
Browse files

Change setButton() documentation to indicate that the settings will apply to...

Change setButton() documentation to indicate that the settings will apply to the button specified, not just the positive button.

Change-Id: I181c2eb9db7aedd51a52beba92bd7cf843aa795b
Fixes: 149446677
Test: None
parent b3545530
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -325,7 +325,7 @@ public class AlertDialog extends Dialog implements DialogInterface {
    }
    }


    /**
    /**
     * Set a listener to be invoked when the positive button of the dialog is pressed.
     * Set a listener to be invoked when the specified button of the dialog is pressed.
     *
     *
     * @param whichButton Which button to set the listener on, can be one of
     * @param whichButton Which button to set the listener on, can be one of
     *            {@link DialogInterface#BUTTON_POSITIVE},
     *            {@link DialogInterface#BUTTON_POSITIVE},