Commit 17ad0949 authored by Jeffrey I. Schiller's avatar Jeffrey I. Schiller

Location Sensor: Remove providerName and providerLocked as designer

properties. They can still be set from the blocks editor.
parent 652813f8
...@@ -239,8 +239,6 @@ public class LocationSensor extends AndroidNonvisibleComponent ...@@ -239,8 +239,6 @@ public class LocationSensor extends AndroidNonvisibleComponent
* Whatever happens now, the provider and the reported name may be switched to * Whatever happens now, the provider and the reported name may be switched to
* Android's preferred provider later. This is primarily for debugging. * Android's preferred provider later. This is primarily for debugging.
*/ */
@DesignerProperty(editorType = PropertyTypeConstants.PROPERTY_TYPE_STRING,
defaultValue = "")
@SimpleProperty @SimpleProperty
public void ProviderName(String providerName) { public void ProviderName(String providerName) {
this.providerName = providerName; this.providerName = providerName;
...@@ -261,8 +259,6 @@ public class LocationSensor extends AndroidNonvisibleComponent ...@@ -261,8 +259,6 @@ public class LocationSensor extends AndroidNonvisibleComponent
* manually change the provider (GPS, GSM, Wifi, etc.) * manually change the provider (GPS, GSM, Wifi, etc.)
* from which location updates are received. * from which location updates are received.
*/ */
@DesignerProperty(editorType = PropertyTypeConstants.PROPERTY_TYPE_BOOLEAN,
defaultValue = "False")
@SimpleProperty @SimpleProperty
public void ProviderLocked(boolean lock) { public void ProviderLocked(boolean lock) {
providerLocked = lock; providerLocked = lock;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment