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

Commit bc537dbc authored by Michael Wright's avatar Michael Wright Committed by Android Git Automerger
Browse files

am 5239ebe3: Add missing documentation for createVirtualDisplay

* commit '5239ebe357401da5380489db1eeb7720ddb32091':
  Add missing documentation for createVirtualDisplay
parents 8c80c834 5438e4e1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -467,7 +467,7 @@ import java.util.HashMap;
 *
 *     static final int PICK_CONTACT_REQUEST = 0;
 *
 *     protected boolean onKeyDown(int keyCode, KeyEvent event) {
 *     public boolean onKeyDown(int keyCode, KeyEvent event) {
 *         if (keyCode == KeyEvent.KEYCODE_DPAD_CENTER) {
 *             // When the user center presses, let them pick a contact.
 *             startActivityForResult(
+2 −0
Original line number Diff line number Diff line
@@ -487,6 +487,8 @@ public final class DisplayManager {
     * {@link #VIRTUAL_DISPLAY_FLAG_SECURE}, {@link #VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY},
     * or {@link #VIRTUAL_DISPLAY_FLAG_SCREEN_SHARE}.
     * @param callbacks Callbacks to call when the state of the {@link VirtualDisplay} changes
     * @param handler The handler on which the listener should be invoked, or null
     * if the listener should be invoked on the calling thread's looper.
     * @return The newly created virtual display, or null if the application could
     * not create the virtual display.
     *