Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Commit

Permalink
Added setting for height
Browse files Browse the repository at this point in the history
Refs #1179
  • Loading branch information
M66B committed Feb 3, 2014
1 parent a6299a8 commit 2149f64
Show file tree
Hide file tree
Showing 45 changed files with 117 additions and 30 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Test and beta releases will have experimental functions enabled by default.
* Fixed on demand choice not sticking
* Fixed on demand asking for same restriction
* Fixed reboot problem in relation to on demand ([issue](https://github.com/M66B/XPrivacy/issues/1238))
* Fake locations get a height of 686 meter +/- accuracy ([issue](https://github.com/M66B/XPrivacy/issues/1179))
* Added setting for height ([issue](https://github.com/M66B/XPrivacy/issues/1179))
* Added restriction for *getGpsStatus* ([issue](https://github.com/M66B/XPrivacy/issues/1179))
* Removed restriction *Srv.getConfiguredNetworks*

Expand Down
15 changes: 15 additions & 0 deletions res/layout/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,21 @@
android:singleLine="true" />
</TableRow>

<TableRow>

<CheckBox android:id="@+id/cbAlt" />

<TextView
android:text="@string/settings_alt"
android:textIsSelectable="false" />

<EditText
android:id="@+id/etAlt"
android:hint="686"
android:inputType="numberDecimal|numberSigned"
android:singleLine="true" />
</TableRow>

<TableRow>

<View />
Expand Down
1 change: 1 addition & 0 deletions res/values-ar/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
<string name="settings_serial">السيريال#</string>
<string name="settings_lat">خط العرض</string>
<string name="settings_lon">خط الطول</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">عنوان الماك</string>
<string name="settings_ip">عنوان الايبي</string>
<string name="settings_phone">رقم الهاتف</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-bg/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
<string name="settings_serial">Serial#</string>
<string name="settings_lat">Геогр. ширина</string>
<string name="settings_lon">Геогр. дължина</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">MAC адрес</string>
<string name="settings_ip">IP address</string>
<string name="settings_phone">Телефонен номер</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-ca/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
<string name="settings_serial">Número de sèrie</string>
<string name="settings_lat">Latitud</string>
<string name="settings_lon">Longitud</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">Adreça MAC</string>
<string name="settings_ip">IP address</string>
<string name="settings_phone">Número de telèfon</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-cs/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ nicméně je nemožné zaručit bezchybnou funkčnost na všech zařízeních a
<string name="settings_serial">Sériové číslo</string>
<string name="settings_lat">Zeměpisná šířka</string>
<string name="settings_lon">Zeměpisná délka</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">MAC adresa</string>
<string name="settings_ip">IP adresa</string>
<string name="settings_phone">Telefonní číslo</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-da/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
<string name="settings_serial">Serienummer</string>
<string name="settings_lat">Breddegrad</string>
<string name="settings_lon">Længdegrad</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">MAC-adresse</string>
<string name="settings_ip">IP-adresse</string>
<string name="settings_phone">Telefonnummer</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
<string name="settings_serial">Seriennummer</string>
<string name="settings_lat">Breitengrad</string>
<string name="settings_lon">Längengrad</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">MAC-Adresse</string>
<string name="settings_ip">IP-Adresse</string>
<string name="settings_phone">Telefonnummer</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-ee/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ kuid on võimatu garanteerida, et see töötab igal seadmel ja iga rakendusega.
<string name="settings_serial">Seeria#</string>
<string name="settings_lat">Laiuskraad</string>
<string name="settings_lon">Pikkuskraad</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">MAC aadress</string>
<string name="settings_ip">IP aadress</string>
<string name="settings_phone">Telefoninumber</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-el/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
<string name="settings_serial">Σειριακός αριθμός</string>
<string name="settings_lat">Γεωγρ. πλάτος</string>
<string name="settings_lon">Γεωγρ. μήκος</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">Διεύθυνση MAC</string>
<string name="settings_ip">IP address</string>
<string name="settings_phone">Αριθμός τηλεφώνου</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-es/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ sin embargo no puedo garantizar que funcione sin ningún fallo para cada disposi
<string name="settings_serial"># de serie</string>
<string name="settings_lat">Latitud</string>
<string name="settings_lon">Longitud</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">Dirección MAC</string>
<string name="settings_ip">Dirección IP</string>
<string name="settings_phone">Número de Teléfono</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-fa/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@
<string name="settings_serial">شماره سریال</string>
<string name="settings_lat">عرض جغرافیایی</string>
<string name="settings_lon">طول جغرافیایی</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">آدرس مک</string>
<string name="settings_ip">آدرس آی پی</string>
<string name="settings_phone">شماره تلفن</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-fi/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
<string name="settings_serial">sarjanumero#</string>
<string name="settings_lat">Latituudi</string>
<string name="settings_lon">Longituudi</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">MAC osoite</string>
<string name="settings_ip">IP osoite</string>
<string name="settings_phone">Puhelinnumero</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ il est impossible de garantir un fonctionnement parfait sur chaque appareil et p
<string name="settings_serial">N° de série</string>
<string name="settings_lat">Latitude</string>
<string name="settings_lon">Longitude</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">Adresse MAC</string>
<string name="settings_ip">Adresse IP</string>
<string name="settings_phone">N° de téléphone</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-ga/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
<string name="settings_serial">Sraithuimhir#</string>
<string name="settings_lat">TX</string>
<string name="settings_lon">Domhanfhad</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">MAC seoladh</string>
<string name="settings_ip">seoladh IP</string>
<string name="settings_phone">uimhir Fón</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-he/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ however it is impossible to guarantee it will work flawless on each and every de
<string name="settings_serial">Serial#</string>
<string name="settings_lat">קו אורך</string>
<string name="settings_lon">קו רוחב</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">כתובת MAC</string>
<string name="settings_ip">IP address</string>
<string name="settings_phone">מספר טלפון</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-hi/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
<string name="settings_serial">क्रमांक#</string>
<string name="settings_lat">अक्षांश</string>
<string name="settings_lon">रेखांश</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">MAC address</string>
<string name="settings_ip">IP address</string>
<string name="settings_phone">फ़ोन संख्या</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-hu/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ de lehetetlen garantálni hogy tökéletesen működjön az összes eszközön
<string name="settings_serial">Sorozatszám#</string>
<string name="settings_lat">Szélesség</string>
<string name="settings_lon">Hosszúság</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">MAC-cím</string>
<string name="settings_ip">IP cím</string>
<string name="settings_phone">Telefonszám</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-it/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ ma è impossibile garantire che funzionerà in modo impeccabile su ogni disposit
<string name="settings_serial">Numero di serie#</string>
<string name="settings_lat">Latitudine</string>
<string name="settings_lon">Longitudine</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">Indirizzo MAC</string>
<string name="settings_ip">Indirizzo IP</string>
<string name="settings_phone">Numero di Telefono</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-iw/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ however it is impossible to guarantee it will work flawless on each and every de
<string name="settings_serial">Serial#</string>
<string name="settings_lat">קו אורך</string>
<string name="settings_lon">קו רוחב</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">כתובת MAC</string>
<string name="settings_ip">IP address</string>
<string name="settings_phone">מספר טלפון</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-ja/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
<string name="settings_serial">シリアル番号</string>
<string name="settings_lat">緯度</string>
<string name="settings_lon">経度</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">MAC アドレス</string>
<string name="settings_ip">IP アドレス</string>
<string name="settings_phone">電話番号</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-lt/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ Tačiau neįmanoma garantuoti, kad dirbs nepriekaištingai su kiekvienu prietais
<string name="settings_serial">Serial#</string>
<string name="settings_lat">Platuma</string>
<string name="settings_lon">Ilguma</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">MAC adresas</string>
<string name="settings_ip">IP addresas</string>
<string name="settings_phone">Telefono nr.</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-nb-rNO/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
<string name="settings_serial">Serienummer</string>
<string name="settings_lat">Breddegrad</string>
<string name="settings_lon">Lengdegrad</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">MAC adresse</string>
<string name="settings_ip">IP adresse</string>
<string name="settings_phone">Telefonnummer</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-nl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ maar het is onmogelijk om te garanderen dat het op elk apparaat en voor elke app
<string name="settings_serial">Serienummer</string>
<string name="settings_lat">Breedtegraad</string>
<string name="settings_lon">Lengtegraad</string>
<string name="settings_alt">Hoogte</string>
<string name="settings_mac">MAC adres</string>
<string name="settings_ip">IP adres</string>
<string name="settings_phone">Telefoonnummer</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-nn-rNO/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
<string name="settings_serial">Serienummer</string>
<string name="settings_lat">Breddegrad</string>
<string name="settings_lon">Lengdegrad</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">MAC adresse</string>
<string name="settings_ip">IP adresse</string>
<string name="settings_phone">Telefonnummer</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-no-rNO/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
<string name="settings_serial">Serienummer</string>
<string name="settings_lat">Breddegrad</string>
<string name="settings_lon">Lengdegrad</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">MAC adresse</string>
<string name="settings_ip">IP adresse</string>
<string name="settings_phone">Telefonnummer</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-pl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
<string name="settings_serial">Numer seryjny</string>
<string name="settings_lat">Szerokość geograficzna</string>
<string name="settings_lon">Długość geograficzna</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">Adres MAC</string>
<string name="settings_ip">Adres IP</string>
<string name="settings_phone">Numer telefonu</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-pt/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ porém é impossível garantir que irá funcionar sem problemas em todos os disp
<string name="settings_serial">Serial#</string>
<string name="settings_lat">Latitude</string>
<string name="settings_lon">Longitude</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">Endereço MAC</string>
<string name="settings_ip">Endereço IP</string>
<string name="settings_phone">Número de telefone</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-ro/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ however it is impossible to guarantee it will work flawless on each and every de
<string name="settings_serial">Serial#</string>
<string name="settings_lat">Latitudine</string>
<string name="settings_lon">Longitudine</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">MAC address</string>
<string name="settings_ip">IP address</string>
<string name="settings_phone">Phone number</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-ru/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
<string name="settings_serial">Серийный номер</string>
<string name="settings_lat">Широта</string>
<string name="settings_lon">Долгота</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">MAC-адрес</string>
<string name="settings_ip">IP адрес</string>
<string name="settings_phone">Номер телефона</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-sk/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ avšak nie je nemožné zaručiť, že bude fungovať bezchybne na každom zaria
<string name="settings_serial">Sériové číslo</string>
<string name="settings_lat">Zemepisná šírka</string>
<string name="settings_lon">Zemepisná dĺžka</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">Adresa MAC</string>
<string name="settings_ip">Adresa IP</string>
<string name="settings_phone">Telefónne číslo</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-sl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@
<string name="settings_serial">Serijska št.</string>
<string name="settings_lat">Geografska širina</string>
<string name="settings_lon">Geografska dolžina</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">MAC naslov</string>
<string name="settings_ip">IP naslov</string>
<string name="settings_phone">Telefonska številka</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-sr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ however it is impossible to guarantee it will work flawless on each and every de
<string name="settings_serial">Serial#</string>
<string name="settings_lat">Ширина</string>
<string name="settings_lon">Дужина</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">МЕК адреса</string>
<string name="settings_ip">IP address</string>
<string name="settings_phone">Број телефона</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-sv/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ Det är emellertid omöjligt att garantera att appen fungerar på alla enheter o
<string name="settings_serial">Serial#</string>
<string name="settings_lat">Latitud</string>
<string name="settings_lon">Longitud</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">MAC-adress</string>
<string name="settings_ip">IP-adress</string>
<string name="settings_phone">Telefonnummer</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-tl-rPH/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
<string name="settings_serial">Ang iyong Seryal#</string>
<string name="settings_lat">Latitud</string>
<string name="settings_lon">Longhitud</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">MAC address</string>
<string name="settings_ip">IP address</string>
<string name="settings_phone">Numero ng iyong telepono</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-tr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
<string name="settings_serial">Seri no</string>
<string name="settings_lat">Enlem</string>
<string name="settings_lon">Boylam</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">MAC adresi</string>
<string name="settings_ip">IP adresi</string>
<string name="settings_phone">Telefon numarası</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-ua/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
<string name="settings_serial">Серійний номер</string>
<string name="settings_lat">Широта</string>
<string name="settings_lon">Довгота</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">MAC-адреса</string>
<string name="settings_ip">IP адреса</string>
<string name="settings_phone">Номер телефону</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-vi/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
<string name="settings_serial">Serial#</string>
<string name="settings_lat">Vĩ độ</string>
<string name="settings_lon">Kinh độ</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">Địa chỉ MAC</string>
<string name="settings_ip">Địa chỉ IP</string>
<string name="settings_phone">Số điện thoại</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-zh-rCN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
<string name="settings_serial">序列号</string>
<string name="settings_lat">纬度</string>
<string name="settings_lon">经度</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">MAC 地址</string>
<string name="settings_ip">IP 地址</string>
<string name="settings_phone">电话号码</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-zh-rTW/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
<string name="settings_serial">序號</string>
<string name="settings_lat">緯度</string>
<string name="settings_lon">經度</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">MAC 位置</string>
<string name="settings_ip">IP 位置</string>
<string name="settings_phone">手機號碼</string>
Expand Down
1 change: 1 addition & 0 deletions res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ however it is impossible to guarantee it will work flawlessly on each and every
<string name="settings_serial">Serial#</string>
<string name="settings_lat">Latitude</string>
<string name="settings_lon">Longitude</string>
<string name="settings_alt">Altitude</string>
<string name="settings_mac">MAC address</string>
<string name="settings_ip">IP address</string>
<string name="settings_imei" translatable="false">IMEI</string>
Expand Down
Loading

0 comments on commit 2149f64

Please sign in to comment.