Merge "Fixes timestamp passed to the Assistant" into qt-r1-dev

This commit is contained in:
TreeHugger Robot
2019-06-04 21:38:33 +00:00
committed by Android (Google) Code Review

View File

@@ -258,7 +258,7 @@ public class AssistManager implements ConfigurationChangedReceiver {
}
int phoneState = mPhoneStateMonitor.getPhoneState();
args.putInt(INVOCATION_PHONE_STATE_KEY, phoneState);
args.putLong(INVOCATION_TIME_MS_KEY, SystemClock.uptimeMillis());
args.putLong(INVOCATION_TIME_MS_KEY, SystemClock.elapsedRealtime());
logStartAssist(invocationType, phoneState);
startAssistInternal(args, assistComponent, isService);
}