Change Panels creation interface to take a bundle
Fixes: 124399577 Test: robolectric adb shell am start -a android.settings.panel.action.WIFI adb shell am start -a android.settings.panel.action.VOLUME Change-Id: I9e13357444e4ebeee50fb8cc68fbc974ce5fffb6
This commit is contained in:
@@ -17,12 +17,12 @@
|
||||
package com.android.settings.panel;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Bundle;
|
||||
|
||||
public interface PanelFeatureProvider {
|
||||
|
||||
/**
|
||||
* Returns {@link PanelContent} as specified by the {@param panelType}, and
|
||||
* {@param mediaPackageName}.
|
||||
* Returns {@link PanelContent} as specified by the {@param bundle}
|
||||
*/
|
||||
PanelContent getPanel(Context context, String panelType, String mediaPackageName);
|
||||
PanelContent getPanel(Context context, Bundle bundle);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user