Fixes getLastResponseIndexLocked() always return last index

The lastResponseId does not changed to new value with the
lastResponseIdx at same time.

Bug: 156775277
Test: atest CtsAutoFillServiceTestCases
Change-Id: I6b26f5e82366745e2797c959fa52a7aa7f5bc883
1 file changed