diff options
| author | Yi Jiang <eejiang@google.com> | 2021-02-09 00:39:40 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2021-02-09 00:39:40 +0000 |
| commit | abffec262db8816ab3955276816ec895490c64b5 (patch) | |
| tree | 12c08ccc1f4dad5fad86f865d83319183b7fbff2 /core/java | |
| parent | 076669f905517c3637066dfa3caf6821e400358c (diff) | |
| parent | 10d2031e1b47dc0753cd718902866df5f2482013 (diff) | |
Merge "Gets suggested screen rotations from RotationResolverService." into sc-dev
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/rotationresolver/RotationResolverInternal.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/java/android/rotationresolver/RotationResolverInternal.java b/core/java/android/rotationresolver/RotationResolverInternal.java index db879a7e3f8f..1f1a66c17d97 100644 --- a/core/java/android/rotationresolver/RotationResolverInternal.java +++ b/core/java/android/rotationresolver/RotationResolverInternal.java @@ -46,7 +46,6 @@ public abstract class RotationResolverInternal { * error is captured. {@link RotationResolverCallbackInternal} * @param proposedRotation the screen rotation that is proposed by the system. * @param currentRotation the current screen rotation. - * @param packageName the package name of the current activity that is running in foreground. * @param timeoutMillis the timeout in millisecond for the query. If the query doesn't get * fulfilled within this amount of time. It will be discarded and the * callback will receive a failure result code {@link @@ -55,8 +54,7 @@ public abstract class RotationResolverInternal { */ public abstract void resolveRotation(@NonNull RotationResolverCallbackInternal callback, @Surface.Rotation int proposedRotation, @Surface.Rotation int currentRotation, - String packageName, @DurationMillisLong long timeoutMillis, - @NonNull CancellationSignal cancellationSignal); + @DurationMillisLong long timeoutMillis, @NonNull CancellationSignal cancellationSignal); /** * Internal interfaces for the rotation resolver callback. |
