Skip to content

Commit

Permalink
Pulse: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
DHD2280 committed Jun 18, 2024
1 parent 8972208 commit f8a96d6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,20 +146,6 @@ public void handleLoadPackage(XC_LoadPackage.LoadPackageParam lpparam) throws Th
CentralSurfacesImpl = findClass("com.android.systemui.statusbar.phone.CentralSurfacesImpl", lpparam.classLoader);

Class<?> NavigationBarView = findClass("com.android.systemui.navigationbar.NavigationBarView", lpparam.classLoader);
/*hookAllMethods(NavigationBarView, "onFinishInflate", new XC_MethodHook() {
@Override
protected void afterHookedMethod(MethodHookParam param) throws Throwable {
mNavigationBar = (FrameLayout) param.thisObject;
}
});
hookAllMethods(CentralSurfacesImpl, "makeStatusBarView", new XC_MethodHook() {
@Override
protected void afterHookedMethod(MethodHookParam param) throws Throwable {
mNotificationShadeView = (FrameLayout) callMethod(param.thisObject, "getNotificationShadeWindowView"); //callMethod(param.thisObject, "getNotificationShadeWindowView");//getObjectField(param.thisObject, "mNotificationShadeWindowView");
//mNotificationShadeView.addView(new VisualizerView(mContext));
}
});*/

Class<?> NotificationShadeWindowView;
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -471,20 +471,6 @@ private void doLinkVisualizer() {
log("doLinkVisualizer() done " + mLinked);
}

/*@Override
public void onPrimaryMetadataOrStateChanged(MediaMetadata metadata, @PlaybackState.State int state) {
boolean isPlaying = state == PlaybackState.STATE_PLAYING;
if (mIsMediaPlaying != isPlaying) {
mIsMediaPlaying = isPlaying;
doLinkage();
}
}
@Override
public void setMediaNotificationColor(int color) {
mColorController.setMediaNotificationColor(color);
}*/

@Override
public String toString() {
return TAG + " " + getState();
Expand Down

0 comments on commit f8a96d6

Please sign in to comment.