Skip to content

Commit 0254723

Browse files
committed
chore: android tsc fixes
1 parent 6d24cf3 commit 0254723

File tree

3 files changed

+6086
-5815
lines changed

3 files changed

+6086
-5815
lines changed

src/ble/index.android.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2803,17 +2803,4 @@ export class Bluetooth extends BluetoothCommon {
28032803
const adapter = this.adapter;
28042804
return adapter && adapter.isEnabled();
28052805
}
2806-
2807-
private _getActivity() {
2808-
const activity = andApp.foregroundActivity || andApp.startActivity;
2809-
if (activity === null) {
2810-
// Throw this off into the future since an activity is not available....
2811-
setTimeout(() => {
2812-
this._getActivity();
2813-
}, 250);
2814-
return;
2815-
} else {
2816-
return activity;
2817-
}
2818-
}
28192806
}

tools

0 commit comments

Comments
 (0)