Skip to content

Commit 0870e93

Browse files
DeviceInfracopybara-github
authored andcommitted
Internal change
PiperOrigin-RevId: 721331428
1 parent 3d85ac4 commit 0870e93

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

src/java/com/google/devtools/mobileharness/platform/android/lightning/accountmanager/AndroidAccountManager.java

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -186,28 +186,6 @@ public void addAccount(Device device, AddAccountArgs accountArgs, @Nullable LogC
186186
}
187187
}
188188

189-
/**
190-
* Adds a list of Google accounts on device.
191-
*
192-
* <p>Before adding accounts, this method will prepare device if needed.
193-
*
194-
* @param device the device on which the Google accounts are being added
195-
* @param accountsArgs list of {@link AddAccountArgs} for added Google accounts
196-
* @param log log of the currently running test, usually from {@code TestInfo}
197-
* @throws MobileHarnessException if fails in checking if device is rooted, or using LST to login
198-
* but device is unrooted, or fails to prepare device before adding account, or fails to log
199-
* in account. Can ignore the login error if {@code accountsArgs} sets ignoreLoginError with
200-
* {@code true}.
201-
* @throws InterruptedException if the thread executing the commands is interrupted.
202-
*/
203-
public void addAccounts(
204-
Device device, List<AddAccountArgs> accountsArgs, @Nullable LogCollector<?> log)
205-
throws MobileHarnessException, InterruptedException {
206-
for (AddAccountArgs accountArgs : accountsArgs) {
207-
addAccount(device, accountArgs, log);
208-
}
209-
}
210-
211189
/**
212190
* Remove existing Google accounts that are not included in new accounts on device. If force
213191
* remove option is true, remove all existing Google accounts in new account list on device.

0 commit comments

Comments
 (0)