blob: b13535f75aeea3ca5719bebff460a8f7b56a6fd6 [file] [log] [blame]
/*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package com.android.systemui.utils.leaks;
import com.android.internal.statusbar.StatusBarIcon;
import com.android.systemui.statusbar.phone.StatusBarIconController;
import com.android.systemui.statusbar.phone.StatusBarIconController.IconManager;
public class FakeStatusBarIconController extends BaseLeakChecker<IconManager>
implements StatusBarIconController {
public FakeStatusBarIconController(LeakCheckedTest test) {
super(test, "StatusBarGroup");
}
@Override
public void addIconGroup(IconManager iconManager) {
addCallback(iconManager);
}
@Override
public void removeIconGroup(IconManager iconManager) {
removeCallback(iconManager);
}
@Override
public void setExternalIcon(String slot) {
}
@Override
public void setIcon(String slot, int resourceId, CharSequence contentDescription) {
}
@Override
public void setIcon(String slot, StatusBarIcon icon) {
}
@Override
public void setIconVisibility(String slotTty, boolean b) {
}
@Override
public void removeIcon(String slot) {
}
}