Merge "Disable requestVisibleBehind." into oc-dev

This commit is contained in:
TreeHugger Robot
2017-06-29 00:17:19 +00:00
committed by Android (Google) Code Review

View File

@@ -6416,17 +6416,7 @@ public class Activity extends ContextThemeWrapper
*/
@Deprecated
public boolean requestVisibleBehind(boolean visible) {
if (!mResumed) {
// Do not permit paused or stopped activities to do this.
visible = false;
}
try {
mVisibleBehind = ActivityManager.getService()
.requestVisibleBehind(mToken, visible) && visible;
} catch (RemoteException e) {
mVisibleBehind = false;
}
return mVisibleBehind;
return false;
}
/**