appium-uiautomator2-driver 2.32.1 → 2.32.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,9 +26,6 @@ const UIAUTOMATOR2_CONSTRAINTS = {
26
26
  skipServerInstallation: {
27
27
  isBoolean: true,
28
28
  },
29
- androidCoverageEndIntent: {
30
- isString: true,
31
- },
32
29
  disableSuppressAccessibilityService: {
33
30
  isBoolean: true,
34
31
  },
package/lib/driver.ts CHANGED
@@ -686,14 +686,6 @@ class AndroidUiautomator2Driver
686
686
  `and waiting for '${appWaitPackage}/${appWaitActivity}'`
687
687
  );
688
688
 
689
- if (this.caps.androidCoverage) {
690
- this.log.info(
691
- `androidCoverage is configured. ` +
692
- ` Starting instrumentation of '${this.caps.androidCoverage}'...`
693
- );
694
- await this.adb!.androidCoverage(this.caps.androidCoverage, appWaitPackage!, appWaitActivity!);
695
- return;
696
- }
697
689
  if (
698
690
  this.opts.noReset &&
699
691
  !this.opts.forceAppLaunch &&
@@ -771,21 +763,6 @@ class AndroidUiautomator2Driver
771
763
  })
772
764
  );
773
765
 
774
- if (this.caps.androidCoverage) {
775
- this.log.info('Shutting down the adb process of instrumentation...');
776
- await this.adb.endAndroidCoverage();
777
- // Use this broadcast intent to notify it's time to dump coverage to file
778
- if (this.caps.androidCoverageEndIntent) {
779
- this.log.info(
780
- `Sending intent broadcast '${this.caps.androidCoverageEndIntent}' at the end of instrumenting.`
781
- );
782
- await this.adb.broadcast(this.caps.androidCoverageEndIntent);
783
- } else {
784
- this.log.warn(
785
- 'No androidCoverageEndIntent is configured in caps. Possibly you cannot get coverage file.'
786
- );
787
- }
788
- }
789
766
  if (this.opts.appPackage) {
790
767
  if (
791
768
  !this.isChromeSession &&