commit | bd1a2d7500f5b99778863574f6d965653b5bdb12 | [log] [tgz] |
---|---|---|
author | Kuen Yuet Cheung <kuenyuet@google.com> | Wed Oct 25 14:59:33 2023 +0800 |
committer | kuenyuet <kuenyuet@google.com> | Wed Nov 08 15:13:42 2023 +0800 |
tree | 28fb80479c219030c1619c84c23db11d92999431 | |
parent | c3aef5afa08bad16505308e7f6db4b84112892bf [diff] |
Refactor ErrorInfo in ErrorPolicyManager This change refactor the ErrorInfo into 2 different immutable subclass for RetryIndex based and Tunnel configured back off time based, separating the logic for better readability. Also simplified some conditions like null checking. Bug: 307486851 Test: atest Change-Id: I708e186b23f0880d0fb546d94331b72262a0cc6d