Skip to content

Commit

Permalink
Remove unused methods in BundleUtils and GSAState
Browse files Browse the repository at this point in the history
They were left to not break downstream.

Bug: 846456
Change-Id: I03d050beffbb9cc8a5a30021270b139c277d5325
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4049484
Owners-Override: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Yaron Friedman <yfriedman@chromium.org>
Auto-Submit: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Yaron Friedman <yfriedman@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1075234}
  • Loading branch information
agrieve authored and Chromium LUCI CQ committed Nov 23, 2022
1 parent ca04d7a commit 3716507
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
5 changes: 0 additions & 5 deletions base/android/java/src/org/chromium/base/BundleUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,6 @@ public static boolean isIsolatedSplitInstalled(String splitName) {
return getSplitApkPath(splitName) != null;
}

// TODO(agrieve): Delete downstream references.
public static boolean isIsolatedSplitInstalled(Context unused, String splitName) {
return isIsolatedSplitInstalled(splitName);
}

/**
* The lock to hold when calling {@link Context#createContextForSplit(String)}.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

import android.annotation.SuppressLint;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageInfo;
import android.text.TextUtils;
Expand Down Expand Up @@ -83,11 +82,6 @@ public interface Observer {
*/
private @Nullable String mGsaAccount;

// TODO(agrieve): Delete internal references.
public static GSAState getInstance(Context unused) {
return getInstance();
}

/**
* Returns the singleton instance of GSAState and creates one if necessary.
*/
Expand Down

0 comments on commit 3716507

Please sign in to comment.