Fixes timestamp passed to the Assistant

Test: Tested locally
BUG:134204043
Change-Id: Ib7d94c3d548ede8cad4f9458b3cf361662ff239d
FIX:134204043
This commit is contained in:
Govinda Wasserman
2019-06-04 09:37:32 -04:00
parent 9369357e1d
commit 6445e6846e

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);
}