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

Commit 6bdc667d authored by Raymond Tiong's avatar Raymond Tiong Committed by Automerger Merge Worker
Browse files

Merge "Add recommendation to use MediaActionSound class in a background thread...

Merge "Add recommendation to use MediaActionSound class in a background thread since it relies on binder." am: 23398e75 am: 2f04f34e am: d44a439e

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

Change-Id: I75901c3f89cbad5a4279d54a868947cf84a7446e
parents ad2aa525 d44a439e
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -25,7 +25,8 @@ import android.util.Log;

/**
 * <p>A class for producing sounds that match those produced by various actions
 * taken by the media and camera APIs.  </p>
 * taken by the media and camera APIs. It is recommended to call methods in this class
 * in a background thread since it relies on binder calls.</p>
 *
 * <p>This class is recommended for use with the {@link android.hardware.camera2} API, since the
 * camera2 API does not play any sounds on its own for any capture or video recording actions.</p>