Enable/disable support buttons based on operation hours.
Also update support title based on whether support operation is available. Bug: 28827790 Change-Id: I65eb70d18ba16ccc263bce019fcbbe5e10ffa596
This commit is contained in:
@@ -48,6 +48,16 @@ public interface SupportFeatureProvider {
|
||||
*/
|
||||
boolean isSupportTypeEnabled(Context context, @SupportType int type);
|
||||
|
||||
/**
|
||||
* Whether or not a support type is in operation 24/7.
|
||||
*/
|
||||
boolean isAlwaysOperating(@SupportType int type);
|
||||
|
||||
/**
|
||||
* Whether or not a support type is operating now.
|
||||
*/
|
||||
boolean isOperatingNow(@SupportType int type);
|
||||
|
||||
/**
|
||||
* Returns a localized string indicating estimated wait time for a support time.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user