Make EnableFailFastRefCounter a singleton.
Since there is only one DCT the mEnableFailFastRefCounter can be a static/singleton and thus properly refcount the CMD_SET_ENABLE_FAIL_FAST_MOBILE_DATA. There is still one problem and that is if the PhoneApp crashes the singleton will be reinstantiated and we'll have the same problem, but the frequency of this is small. Also, the consequence of this is the DCT will be behaving "normally" in that it will be attempting to do data-stall recovery although we might like it not to it is the "normal" behavior. Bug: 10304904 Change-Id: I4197c4236a402aa247f775e480e747620fd189bd
Loading
Please register or sign in to comment