Skip to content

Commit

Permalink
Remove the option to only turn on wifi scanning. Eventually, we'll wa…
Browse files Browse the repository at this point in the history
…nt to send cell info as well
dougt committed Jan 9, 2014
1 parent cf0972b commit 59eedc8
Showing 3 changed files with 0 additions and 22 deletions.
4 changes: 0 additions & 4 deletions src/org/mozilla/mozstumbler/Scanner.java
Original file line number Diff line number Diff line change
@@ -42,10 +42,6 @@ void startScanning() {
mContext.sendBroadcast(startIntent);
}

void startWifiOnly() {
mWifiScanner.start();
}

void stopScanning() {
if (!mIsScanning) {
return;
17 changes: 0 additions & 17 deletions src/org/mozilla/mozstumbler/ScannerService.java
Original file line number Diff line number Diff line change
@@ -88,23 +88,6 @@ public void run() {
});
}

@Override
public void startWifiScanningOnly() throws RemoteException {
if (mScanner.isScanning()) {
return;
}

mLooper.post(new Runnable() {
@Override
public void run() {
try {
Log.d(LOGTAG, "Running looper...");
mScanner.startWifiOnly();
} catch (Exception e) {}
}
});
}

@Override
public void stopScanning() throws RemoteException {
if (!mScanner.isScanning()) {
1 change: 0 additions & 1 deletion src/org/mozilla/mozstumbler/ScannerServiceInterface.aidl
Original file line number Diff line number Diff line change
@@ -3,7 +3,6 @@ package org.mozilla.mozstumbler;
interface ScannerServiceInterface {
boolean isScanning();
void startScanning();
void startWifiScanningOnly();
void stopScanning();
int getLocationCount();
double getLatitude();

0 comments on commit 59eedc8

Please sign in to comment.