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

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

Merge "Update Java doc of SensorManager.createDirectChannel" into oc-dev

parents f75d22dc 19668c0b
Loading
Loading
Loading
Loading
+4 −3
Original line number Original line Diff line number Diff line
@@ -894,8 +894,9 @@ public abstract class SensorManager {
     * to free up resource in sensor system associated with the direct channel.
     * to free up resource in sensor system associated with the direct channel.
     *
     *
     * @param mem A {@link android.os.MemoryFile} shared memory object.
     * @param mem A {@link android.os.MemoryFile} shared memory object.
     * @return A {@link android.hardware.SensorDirectChannel} object if successful, null otherwise.
     * @return A {@link android.hardware.SensorDirectChannel} object.
     * @throws NullPointerException when mem is null.
     * @throws NullPointerException when mem is null.
     * @throws UncheckedIOException if not able to create channel.
     * @see SensorDirectChannel#close()
     * @see SensorDirectChannel#close()
     * @see #configureDirectChannel(SensorDirectChannel, Sensor, int)
     * @see #configureDirectChannel(SensorDirectChannel, Sensor, int)
     */
     */
@@ -916,9 +917,9 @@ public abstract class SensorManager {
     * to free up resource in sensor system associated with the direct channel.
     * to free up resource in sensor system associated with the direct channel.
     *
     *
     * @param mem A {@link android.hardware.HardwareBuffer} shared memory object.
     * @param mem A {@link android.hardware.HardwareBuffer} shared memory object.
     * @return A {@link android.hardware.SensorDirectChannel} object if successful,
     * @return A {@link android.hardware.SensorDirectChannel} object.
     *         null otherwise.
     * @throws NullPointerException when mem is null.
     * @throws NullPointerException when mem is null.
     * @throws UncheckedIOException if not able to create channel.
     * @see SensorDirectChannel#close()
     * @see SensorDirectChannel#close()
     * @see #configureDirectChannel(SensorDirectChannel, Sensor, int)
     * @see #configureDirectChannel(SensorDirectChannel, Sensor, int)
     */
     */