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

Commit 7b5f9cde authored by Bryce Lee's avatar Bryce Lee Committed by Android Git Automerger
Browse files

am 4cccd58e: Merge "Expose userActivityTimeout through @SystemApi...

am 4cccd58e: Merge "Expose userActivityTimeout through @SystemApi getter/setter." into lmp-mr1-modular-dev

* commit '4cccd58e':
  Expose userActivityTimeout through @SystemApi getter/setter.
parents c63efbd9 4cccd58e
Loading
Loading
Loading
Loading
+14 −1
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

package android.view;

import android.annotation.SystemApi;
import android.app.Presentation;
import android.content.Context;
import android.content.pm.ActivityInfo;
@@ -1591,6 +1592,18 @@ public interface WindowManager extends ViewManager {
            return mTitle;
        }

        /** @hide */
        @SystemApi
        public final void setUserActivityTimeout(long timeout) {
            userActivityTimeout = timeout;
        }

        /** @hide */
        @SystemApi
        public final long getUserActivityTimeout() {
            return userActivityTimeout;
        }

        public int describeContents() {
            return 0;
        }