Exploit databaseDownload repository ZIP
GH-cd474985a1d611a2a689e02bc95daae0
satheesh575555/frameworks_base_aosp10_r33_cve-2022-20142
Sources for CVE-2022-20142
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files39
satheesh575555/frameworks_base_aosp10_r33_cve-2022-20142Revision 0b10dce4665c
- ↑..Parent directory
- ActivityCompat.java
- ActivityManagerWrapper.java
- ActivityOptionsCompat.java
- AssistDataReceiver.java
- BackgroundExecutor.java
- ChoreographerCompat.java
- ContextCompat.java
- DevicePolicyManagerWrapper.java
- DockedStackListenerCompat.java
- InputChannelCompat.java
- InputConsumerController.java
- InputMonitorCompat.java
- KeyguardManagerCompat.java
- LatencyTrackerCompat.java
- LauncherEventUtil.java
- MetricsLoggerCompat.java
- PackageManagerWrapper.java
- PinnedStackListenerForwarder.java
- QuickStepContract.java
- RecentsAnimationControllerCompat.java
- RecentsAnimationListener.java
- RemoteAnimationAdapterCompat.java
- RemoteAnimationDefinitionCompat.java
- RemoteAnimationRunnerCompat.java
- RemoteAnimationTargetCompat.java
- RotationWatcher.java
- StatsLogCompat.java
- SurfaceControlCompat.java
- SyncRtSurfaceTransactionApplierCompat.java
- SystemGestureExclusionListenerCompat.java
- TaskDescriptionCompat.java
- TaskInfoCompat.java
- TaskStackChangeListener.java
- TaskStackChangeListeners.java
- ThreadedRendererCompat.java
- TonalCompat.java
- TransactionCompat.java
- WindowCallbacksCompat.java
- WindowManagerWrapper.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
packages/SystemUI/shared/src/com/android/systemui/shared/system/RecentsAnimationControllerCompat.java
Java · 4,178 bytes/*
* Copyright (C) 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
*/
package com.android.systemui.shared.system;
import android.app.ActivityManager.TaskSnapshot;
import android.os.RemoteException;
import android.util.Log;
import android.view.IRecentsAnimationController;
import com.android.systemui.shared.recents.model.ThumbnailData;
public class RecentsAnimationControllerCompat {
private static final String TAG = RecentsAnimationControllerCompat.class.getSimpleName();
private IRecentsAnimationController mAnimationController;
public RecentsAnimationControllerCompat() { }
public RecentsAnimationControllerCompat(IRecentsAnimationController animationController) {
mAnimationController = animationController;
}
public ThumbnailData screenshotTask(int taskId) {
try {
TaskSnapshot snapshot = mAnimationController.screenshotTask(taskId);
return snapshot != null ? new ThumbnailData(snapshot) : new ThumbnailData();
} catch (RemoteException e) {
Log.e(TAG, "Failed to screenshot task", e);
return new ThumbnailData();
}
}
public void setInputConsumerEnabled(boolean enabled) {
try {
mAnimationController.setInputConsumerEnabled(enabled);
} catch (RemoteException e) {
Log.e(TAG, "Failed to set input consumer enabled state", e);
}
}
public void setAnimationTargetsBehindSystemBars(boolean behindSystemBars) {
try {
mAnimationController.setAnimationTargetsBehindSystemBars(behindSystemBars);
} catch (RemoteException e) {
Log.e(TAG, "Failed to set whether animation targets are behind system bars", e);
}
}
public void setSplitScreenMinimized(boolean minimized) {
try {
mAnimationController.setSplitScreenMinimized(minimized);
} catch (RemoteException e) {
Log.e(TAG, "Failed to set minimize dock", e);
}
}
public void hideCurrentInputMethod() {
try {
mAnimationController.hideCurrentInputMethod();
} catch (RemoteException e) {
Log.e(TAG, "Failed to set hide input method", e);
}
}
/**
* Finish the current recents animation.
* @param toHome Going to home or back to the previous app.
* @param sendUserLeaveHint determines whether userLeaveHint will be set true to the previous
* app.
*/
public void finish(boolean toHome, boolean sendUserLeaveHint) {
try {
mAnimationController.finish(toHome, sendUserLeaveHint);
} catch (RemoteException e) {
Log.e(TAG, "Failed to finish recents animation", e);
}
}
@Deprecated
public void setCancelWithDeferredScreenshot(boolean screenshot) {
try {
mAnimationController.setCancelWithDeferredScreenshot(screenshot);
} catch (RemoteException e) {
Log.e(TAG, "Failed to set cancel with deferred screenshot", e);
}
}
public void setDeferCancelUntilNextTransition(boolean defer, boolean screenshot) {
try {
mAnimationController.setDeferCancelUntilNextTransition(defer, screenshot);
} catch (RemoteException e) {
Log.e(TAG, "Failed to set deferred cancel with screenshot", e);
}
}
public void cleanupScreenshot() {
try {
mAnimationController.cleanupScreenshot();
} catch (RemoteException e) {
Log.e(TAG, "Failed to clean up screenshot of recents animation", e);
}
}
}