Skip to content

Commit

Permalink
Extract render services project system api (#7245)
Browse files Browse the repository at this point in the history
Bug: n/a
Test: n/a
Change-Id: I805164b169db6c4bb35ec0e769fc99bad7c8f2cb

AOSP: f3e881aec1ed3f4acafb462b99e1421fc8ccf702

Co-authored-by: Googler <[email protected]>
  • Loading branch information
LeFrosch and Googler authored Jan 23, 2025
1 parent 966488e commit 1fe8157
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

import com.android.tools.idea.projectsystem.ProjectSystemBuildManager;
import com.android.tools.idea.rendering.BuildTargetReference;
import com.android.tools.idea.run.deployment.liveedit.tokens.ApplicationLiveEditServices;
import com.google.idea.blaze.android.projectsystem.BazelProjectSystem;
import com.google.idea.blaze.android.projectsystem.BazelToken;
import com.intellij.openapi.Disposable;
Expand Down Expand Up @@ -52,6 +53,18 @@ public void buildArtifacts(
};
}

@Override
public @NotNull RenderingServices getRenderingServices(
@NotNull BazelBuildTargetReference buildTargetReference) {
return null;
}

@Override
public @NotNull ApplicationLiveEditServices getApplicationLiveEditServices(
@NotNull BazelBuildTargetReference buildTargetReference) {
return null;
}

@Override
public void subscribeBuildListener(Project project,
Disposable parentDisposable, BuildListener listener) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,6 @@ public ClassFileFinder getModuleClassFileFinder() {
return classFileFinder;
}

@Override
public ClassFileFinder getClassFileFinderForSourceFile(VirtualFile sourceFile) {
return classFileFinder;
}

@Override
@Nullable
public PathString getOrCreateSampleDataDirectory() throws IOException {
Expand Down

0 comments on commit 1fe8157

Please sign in to comment.