diff options
| author | TreeHugger Robot <treehugger-gerrit@google.com> | 2018-02-28 16:25:31 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2018-02-28 16:25:31 +0000 |
| commit | 2f3adb4d275dcf36762282c66afa58876fd3b045 (patch) | |
| tree | cea7db17a48965792314a94e0988c454df305dcf /core/java | |
| parent | 8b7ac4969823b10657f08b37ea30205ffb066a73 (diff) | |
| parent | a8b48ab7332f61afe37b2e866e9cb67421fab1c0 (diff) | |
Merge "Revert "Elevate remote/recents animation priority""
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/app/ActivityManagerInternal.java | 12 | ||||
| -rw-r--r-- | core/java/android/view/RemoteAnimationAdapter.java | 17 | ||||
| -rw-r--r-- | core/java/android/view/RemoteAnimationDefinition.java | 10 |
3 files changed, 0 insertions, 39 deletions
diff --git a/core/java/android/app/ActivityManagerInternal.java b/core/java/android/app/ActivityManagerInternal.java index cab6744e3c81..c78255f31341 100644 --- a/core/java/android/app/ActivityManagerInternal.java +++ b/core/java/android/app/ActivityManagerInternal.java @@ -27,7 +27,6 @@ import android.os.IBinder; import android.os.SystemClock; import android.service.voice.IVoiceInteractionSession; import android.util.SparseIntArray; -import android.view.RemoteAnimationAdapter; import com.android.internal.app.IVoiceInteractor; @@ -265,17 +264,6 @@ public abstract class ActivityManagerInternal { public abstract void setHasOverlayUi(int pid, boolean hasOverlayUi); /** - * Sets if the given pid is currently running a remote animation, which is taken a signal for - * determining oom adjustment and scheduling behavior. - * - * @param pid The pid we are setting overlay UI for. - * @param runningRemoteAnimation True if the process is running a remote animation, false - * otherwise. - * @see RemoteAnimationAdapter - */ - public abstract void setRunningRemoteAnimation(int pid, boolean runningRemoteAnimation); - - /** * Called after the network policy rules are updated by * {@link com.android.server.net.NetworkPolicyManagerService} for a specific {@param uid} and * {@param procStateSeq}. diff --git a/core/java/android/view/RemoteAnimationAdapter.java b/core/java/android/view/RemoteAnimationAdapter.java index a864e550c256..d597e597b119 100644 --- a/core/java/android/view/RemoteAnimationAdapter.java +++ b/core/java/android/view/RemoteAnimationAdapter.java @@ -52,9 +52,6 @@ public class RemoteAnimationAdapter implements Parcelable { private final long mDuration; private final long mStatusBarTransitionDelay; - /** @see #getCallingPid */ - private int mCallingPid; - /** * @param runner The interface that gets notified when we actually need to start the animation. * @param duration The duration of the animation. @@ -86,20 +83,6 @@ public class RemoteAnimationAdapter implements Parcelable { return mStatusBarTransitionDelay; } - /** - * To be called by system_server to keep track which pid is running this animation. - */ - public void setCallingPid(int pid) { - mCallingPid = pid; - } - - /** - * @return The pid of the process running the animation. - */ - public int getCallingPid() { - return mCallingPid; - } - @Override public int describeContents() { return 0; diff --git a/core/java/android/view/RemoteAnimationDefinition.java b/core/java/android/view/RemoteAnimationDefinition.java index 8def43512e51..381f6926a1e8 100644 --- a/core/java/android/view/RemoteAnimationDefinition.java +++ b/core/java/android/view/RemoteAnimationDefinition.java @@ -70,16 +70,6 @@ public class RemoteAnimationDefinition implements Parcelable { mTransitionAnimationMap = in.readSparseArray(null /* loader */); } - /** - * To be called by system_server to keep track which pid is running the remote animations inside - * this definition. - */ - public void setCallingPid(int pid) { - for (int i = mTransitionAnimationMap.size() - 1; i >= 0; i--) { - mTransitionAnimationMap.valueAt(i).setCallingPid(pid); - } - } - @Override public int describeContents() { return 0; |
