Merge "PHASE_IME_APPLY_VISIBILITY_INSETS_CONSUMER timeout" into udc-qpr-dev
This commit is contained in:
@@ -2986,8 +2986,6 @@ public class InputMethodService extends AbstractInputMethodService {
|
||||
ImeTracing.getInstance().triggerServiceDump(
|
||||
"InputMethodService#applyVisibilityInInsetsConsumerIfNecessary", mDumper,
|
||||
null /* icProto */);
|
||||
ImeTracker.forLogging().onProgress(mCurStatsToken,
|
||||
ImeTracker.PHASE_IME_APPLY_VISIBILITY_INSETS_CONSUMER);
|
||||
mPrivOps.applyImeVisibilityAsync(setVisible
|
||||
? mCurShowInputToken : mCurHideInputToken, setVisible, mCurStatsToken);
|
||||
}
|
||||
|
||||
@@ -386,8 +386,12 @@ public final class InputMethodPrivilegedOperations {
|
||||
@Nullable ImeTracker.Token statsToken) {
|
||||
final IInputMethodPrivilegedOperations ops = mOps.getAndWarnIfNull();
|
||||
if (ops == null) {
|
||||
ImeTracker.forLogging().onFailed(statsToken,
|
||||
ImeTracker.PHASE_IME_APPLY_VISIBILITY_INSETS_CONSUMER);
|
||||
return;
|
||||
}
|
||||
ImeTracker.forLogging().onProgress(statsToken,
|
||||
ImeTracker.PHASE_IME_APPLY_VISIBILITY_INSETS_CONSUMER);
|
||||
try {
|
||||
ops.applyImeVisibilityAsync(showOrHideInputToken, setVisible, statsToken);
|
||||
} catch (RemoteException e) {
|
||||
|
||||
Reference in New Issue
Block a user