This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ +39 ms] executing: [/Users/ka/dev/tools/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H | |
[ +51 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H | |
[ ] f139b11009aeb8ed2a3a3aa8b0066e482709dde3 | |
[ ] executing: [/Users/ka/dev/tools/flutter/] git describe --match v*.*.* --first-parent --long --tags | |
[ +108 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags | |
[ +2 ms] v1.12.13+hotfix.9-0-gf139b11009 | |
[ +8 ms] executing: [/Users/ka/dev/tools/flutter/] git rev-parse --abbrev-ref --symbolic @{u} | |
[ +6 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} | |
[ ] origin/stable | |
[ ] executing: [/Users/ka/dev/tools/flutter/] git ls-remote --get-url origin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ForegroundDetector implements Application.ActivityLifecycleCallbacks { | |
private int refs; | |
private boolean isChangingOrientation; | |
private PublishSubject<ForegroundState> subject = PublishSubject.create(); | |
public ForegroundDetector(Application app) { | |
app.registerActivityLifecycleCallbacks(this); | |
} |