This commit is contained in:
wangcongtao
2020-01-10 13:44:37 +08:00
parent 5510ecd57f
commit 0b9d1c08b7
2 changed files with 30 additions and 3 deletions

View File

@@ -69,6 +69,12 @@ public class MogoStatusManager implements IMogoStatusManager {
return get_bool_val( StatusDescriptor.USER_INTERACTED );
}
@Override
public boolean isSearchUIShow() {
return get_bool_val( StatusDescriptor.SEARCH_UI );
}
private boolean get_bool_val( StatusDescriptor descriptor ) {
Boolean val = mStatus.get( descriptor );
return val == null ? false : val;