diff options
| author | Guillaume Jacquart <guillaume.jacquart@hoodbrains.com> | 2022-09-07 12:30:40 +0000 |
|---|---|---|
| committer | Guillaume Jacquart <guillaume.jacquart@hoodbrains.com> | 2022-09-07 12:30:40 +0000 |
| commit | 29a750c22c07b9f7b9c8849a703c3160239e8782 (patch) | |
| tree | 2c3bedbbc7dad615af33a1e5d85df652791f6bb8 /privacymodule-api/src/main/java/foundation/e/privacymodules/location | |
| parent | 2945b690f98712d66e8dfc0f053e8efee7efa174 (diff) | |
| parent | df7f3d969e0338acbb7efff6a3361f9aed927cf7 (diff) | |
| download | advanced-privacy-29a750c22c07b9f7b9c8849a703c3160239e8782.tar.gz | |
Merge branch '2-fix_trackers_count_for_system_app' into 'main'
2 - Convert trackers to kotlin, fix trackers count for system app
See merge request e/os/advanced-privacy!84
Diffstat (limited to 'privacymodule-api/src/main/java/foundation/e/privacymodules/location')
| -rw-r--r-- | privacymodule-api/src/main/java/foundation/e/privacymodules/location/IFakeLocationModule.kt | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/privacymodule-api/src/main/java/foundation/e/privacymodules/location/IFakeLocationModule.kt b/privacymodule-api/src/main/java/foundation/e/privacymodules/location/IFakeLocationModule.kt deleted file mode 100644 index ecad2a4..0000000 --- a/privacymodule-api/src/main/java/foundation/e/privacymodules/location/IFakeLocationModule.kt +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2022 E FOUNDATION - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ - -package foundation.e.privacymodules.location - -/** - * Manage a fake location on the device. - */ -interface IFakeLocationModule { - /** - * Start to fake the location module. Call [setFakeLocation] after to set the fake - * position. - */ - fun startFakeLocation() - - /** - * Set or update the faked position. - * @param latitude the latitude of the fake position in degrees. - * @param longitude the longitude of the fake position in degrees. - */ - fun setFakeLocation(latitude: Double, longitude: Double) - - /** - * Stop the fake location module, giving back hand to the true location modules. - */ - fun stopFakeLocation() -} |
