Skip to content

Commit

Permalink
[XB1] Add required arg to function call (#1834)
Browse files Browse the repository at this point in the history
b/306674453

Change-Id: I63826cf662089a58a29387e697a51c58fd5bf1f0
(cherry picked from commit 7dfffea)
  • Loading branch information
TyHolc authored and anonymous1-me committed Oct 25, 2023
1 parent a191c54 commit 48009ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions starboard/xb1/tools/xb1_launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ def UninstallSubPackages(self):
package_full_name = package['PackageFullName']
if package_full_name.find(
_DEFAULT_PACKAGE_NAME) != -1 or package_full_name.find(
_STUB_PACKAGE_NAME):
_STUB_PACKAGE_NAME) != -1:
if package_full_name not in uninstalled_packages:
self._LogLn('Existing YouTube app found on device. Uninstalling: ' +
package_full_name)
Expand All @@ -425,7 +425,7 @@ def UninstallSubPackages(self):
self._LogLn(err.output)

def DeleteLooseApps(self):
self._network_api.ClearLooseAppsFiles()
self._network_api.ClearLooseAppFiles()

def Deploy(self):
# starboard_arguments.txt is packaged with the appx. It instructs the app
Expand Down Expand Up @@ -466,7 +466,7 @@ def Deploy(self):

# Validate that app was installed correctly by checking to make sure
# that the full package name can now be found.
def CheckPackageIsDeployed(self, package_name):
def CheckPackageIsDeployed(self, package_name=_DEFAULT_PACKAGE_NAME):
package_list = self.WinAppDeployCmd('list')
package_index = package_list.find(package_name)
if package_index == -1:
Expand Down

0 comments on commit 48009ba

Please sign in to comment.