commit | ae5a219b955d63cbfcc15465d145a9303aafb807 | [log] [tgz] |
---|---|---|
author | Jing Ji <jji@google.com> | Tue Jun 15 11:44:23 2021 -0700 |
committer | Jing Ji <jji@google.com> | Tue Jun 15 11:44:23 2021 -0700 |
tree | 44d0cb6d0fd724180f766051aa97dd936413d072 | |
parent | aa9c6c2de6b6cf5228f8e95bdd43825ce19ad56e [diff] |
Validate the ServiceRecord state while handling misbehaving FGS Fix a race condition where the previous misbehaving FGS's notifcation is being posted, but that FGS's being stopped, and meanwhile a new FGS is coming up, the system would get confused and results in IllegalStateException. Bug: 182160371 Test: atest CtsAppTestCases:ServiceTest Change-Id: If18e1d7ba88aef693349b82dc6e70f7d98c68665 Merged-In: If18e1d7ba88aef693349b82dc6e70f7d98c68665