diff options
| author | Matthew Ng <ngmatthew@google.com> | 2018-06-27 15:32:09 -0700 |
|---|---|---|
| committer | Matthew Ng <ngmatthew@google.com> | 2018-06-27 15:37:35 -0700 |
| commit | 9608748b5ec30ce9a5a79e75bba9c4f724ebe9d3 (patch) | |
| tree | 88a3288d9eff443b0b3b86a9671b4b75cbbb8913 /packages/SystemUI/src/com/android/systemui/OverviewProxyService.java | |
| parent | ead8ff3f5fe8a0e6e6c36e6dc370a50a4982c678 (diff) | |
Reduce overview proxy connection backoff time to hide back faster
Switching to guest user would show a dialog to continue or start the
guest profile again and this would show the back button. At the same
time the connection is being established with the launcher again. First
time would sometimes fail causing a timeout of 5 secs before trying to
reconnect again. During the 5 sec timeout the back button would continue
to be visible until it reconnects and hides it. If this is reduced to 1
sec then reconnection would occur quicker and as a result hide the back
button.
Fixes: 109662462
Test: switch to guest user, immediately press continue and wait for back
button disappear
Change-Id: Id81b7f175834fb1eae8a0787674bbc130c91a5a2
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/OverviewProxyService.java')
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/OverviewProxyService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/OverviewProxyService.java b/packages/SystemUI/src/com/android/systemui/OverviewProxyService.java index 9fc71c813d74..1e5b77ee3aa4 100644 --- a/packages/SystemUI/src/com/android/systemui/OverviewProxyService.java +++ b/packages/SystemUI/src/com/android/systemui/OverviewProxyService.java @@ -65,7 +65,7 @@ public class OverviewProxyService implements CallbackController<OverviewProxyLis public static final String TAG_OPS = "OverviewProxyService"; public static final boolean DEBUG_OVERVIEW_PROXY = false; - private static final long BACKOFF_MILLIS = 5000; + private static final long BACKOFF_MILLIS = 1000; private static final long DEFERRED_CALLBACK_MILLIS = 5000; private final Context mContext; |
