diff options
| author | 2017-06-29 00:17:19 +0000 | |
|---|---|---|
| committer | 2017-06-29 00:17:19 +0000 | |
| commit | e33c33e38aec8667d9f3c0d02de7a8c22813df7f (patch) | |
| tree | a9ecd6368fce44b3b20bc19fab3ee5b8792ecfc1 | |
| parent | c55f7d21806d3a9bb423b6e82d62c3259548ee60 (diff) | |
| parent | 8661c5e519ef0f5ab2122f8280364d8e90caedf7 (diff) | |
Merge "Disable requestVisibleBehind." into oc-dev
| -rw-r--r-- | core/java/android/app/Activity.java | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java index bc6e9cd0ab7e..0ff3215e1271 100644 --- a/core/java/android/app/Activity.java +++ b/core/java/android/app/Activity.java @@ -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; } /** |