Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixes the ugly asynctask crash and improves the UI.

  • Loading branch information...
commit 96d9de7f6559db0b22b2f6368bc236f3055b6d79 1 parent 653e026
Carlos Yaconi H. cyaconi authored
54 AndroidManifest.xml
View
@@ -1,13 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.prey"
- android:versionName="0.5" android:versionCode="32">
+ android:versionName="0.5" android:versionCode="33">
<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="13" />
<!-- Only this application can receive the messages and registration result -->
<permission android:name="com.prey.permission.C2D_MESSAGE" android:protectionLevel="signature" />
<uses-permission android:name="com.prey.permission.C2D_MESSAGE" />
+
+ <uses-feature android:name="android.hardware.location.network" android:required="true" />
+ <uses-feature android:name="android.hardware.telephony" android:required="false" />
+ <uses-feature android:name="android.hardware.location" android:required="true" />
+ <uses-feature android:name="android.hardware.location.gps" android:required="false" />
+ <uses-feature android:name="android.hardware.touchscreen" android:required="false" />
+
+
+ <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
+ <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
+ <uses-permission android:name="android.permission.INTERNET"/>
+ <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
+ <uses-permission android:name="android.permission.ACTION_SHUTDOWN" />
+ <uses-permission android:name="android.permission.RECEIVE_SMS"/>
+ <uses-permission android:name="android.permission.READ_CONTACTS"/>
+ <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
+ <uses-permission android:name="android.permission.SEND_SMS"/>
+ <uses-permission android:name="android.permission.BIND_DEVICE_ADMIN"/>
+ <uses-permission android:name="android.permission.WRITE_SETTINGS"/>
+ <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
+
+ <!-- This app has permission to register and receive message -->
+ <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
+
<application android:icon="@drawable/logo" android:label="@string/preyForAndroid_name">
@@ -106,32 +131,7 @@
<category android:name="com.prey" />
</intent-filter>
</receiver>
-
+
</application>
-
- <uses-feature android:name="android.hardware.location.network" android:required="true" />
- <uses-feature android:name="android.hardware.telephony" android:required="false" />
- <uses-feature android:name="android.hardware.location" android:required="true" />
- <uses-feature android:name="android.hardware.location.gps" android:required="false" />
- <uses-feature android:name="android.hardware.touchscreen" android:required="false" />
-
-
- <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
- <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
- <uses-permission android:name="android.permission.INTERNET"/>
- <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
- <uses-permission android:name="android.permission.ACTION_SHUTDOWN" />
- <uses-permission android:name="android.permission.RECEIVE_SMS"/>
- <uses-permission android:name="android.permission.READ_CONTACTS"/>
- <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
- <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
- <uses-permission android:name="android.permission.SEND_SMS"/>
- <uses-permission android:name="android.permission.BIND_DEVICE_ADMIN"/>
- <uses-permission android:name="android.permission.WRITE_SETTINGS"/>
- <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
-
- <!-- This app has permission to register and receive message -->
- <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
-
</manifest>
14 res/layout/add_device_to_account.xml
View
@@ -18,11 +18,11 @@
android:orientation="vertical" android:fadingEdge="horizontal|vertical"
android:scrollbars="vertical" android:background="@drawable/border"
android:layout_height="wrap_content"
- android:layout_width="fill_parent" android:padding="0px" android:layout_margin="10px" android:layout_gravity="center_vertical">
+ android:layout_width="280dp" android:padding="0dp" android:layout_margin="10dp" android:layout_gravity="center_horizontal|center_vertical">
<!-- Data entry layout -->
- <ScrollView android:id="@+id/ScrollView01" android:layout_height="wrap_content" android:layout_width="fill_parent" android:layout_margin="0px">
+ <ScrollView android:id="@+id/ScrollView01" android:layout_height="wrap_content" android:layout_width="fill_parent" android:layout_margin="0dp">
@@ -37,16 +37,16 @@
<ImageView android:id="@+id/ImageView01"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:background="@drawable/logo"
- android:paddingTop="5px" android:layout_marginTop="10px" android:layout_marginLeft="10px"></ImageView>
+ android:paddingTop="5dp" android:layout_marginTop="10dp" android:layout_marginLeft="10dp"></ImageView>
<TextView android:id="@+id/TextView01" android:layout_height="fill_parent"
android:layout_width="fill_parent" android:text="@string/set_old_user_dialog_title"
- android:paddingRight="10px" android:textAppearance="?android:attr/textAppearanceMedium" android:gravity="center_vertical" android:paddingLeft="10px"></TextView>
+ android:paddingRight="10dp" android:textAppearance="?android:attr/textAppearanceMedium" android:gravity="center_vertical" android:paddingLeft="10dp"></TextView>
</LinearLayout>
<View android:id="@+id/divider"
android:background="@drawable/gradient_line"
android:layout_width="fill_parent"
- android:layout_height="1dp" android:layout_marginTop="10px" android:layout_marginLeft="15dp" android:layout_marginRight="15dp"/>
+ android:layout_height="1dp" android:layout_marginTop="10dp" android:layout_marginLeft="15dp" android:layout_marginRight="15dp"/>
<TextView
@@ -57,7 +57,7 @@
android:layout_marginRight="20dip"
android:text="@string/set_old_user_dialog_email"
android:gravity="left"
- android:textAppearance="?android:attr/textAppearanceMedium" android:paddingTop="10px"/>
+ android:textAppearance="?android:attr/textAppearanceMedium" android:paddingTop="10dp"/>
<EditText
android:id="@+id/set_old_user_dialog_email_edit"
@@ -94,7 +94,7 @@
<TextView android:layout_height="wrap_content" android:layout_width="fill_parent" android:layout_gravity="center_horizontal" android:gravity="center_horizontal" android:layout_marginBottom="15dip" android:layout_marginLeft="20dip" android:layout_marginRight="20dip" android:id="@+id/add_device_info_text" android:text="@string/add_device_info_text"></TextView><LinearLayout android:layout_height="wrap_content"
android:id="@+id/LinearLayoutButtons" android:orientation="horizontal"
android:layout_width="fill_parent"
- android:background="#CCC" android:gravity="center_vertical|center_horizontal|center" android:paddingTop="4px" android:paddingBottom="1px" android:layout_marginLeft="3px" android:layout_marginRight="3px" android:layout_marginBottom="3px">
+ android:background="#CCC" android:gravity="center_vertical|center_horizontal|center" android:paddingTop="4dp" android:paddingBottom="1dp" android:layout_marginLeft="3dp" android:layout_marginRight="3dp" android:layout_marginBottom="3dp">
<Button android:text="@string/set_old_user_dialog_create"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_gravity="center_horizontal"
20 res/layout/check_password2.xml
View
@@ -16,11 +16,11 @@
android:orientation="vertical" android:fadingEdge="horizontal|vertical"
android:scrollbars="vertical" android:background="@drawable/border"
android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal|center_vertical" android:layout_width="280px" android:padding="0px" android:layout_marginTop="10px" android:layout_marginBottom="10px">
+ android:layout_gravity="center_horizontal|center_vertical" android:layout_width="280dp" android:padding="0dp" android:layout_marginTop="10dp" android:layout_marginBottom="10dp">
<!-- Data entry layout -->
- <ScrollView android:id="@+id/ScrollView01" android:layout_height="wrap_content" android:layout_width="fill_parent" android:layout_margin="0px">
+ <ScrollView android:id="@+id/ScrollView01" android:layout_height="wrap_content" android:layout_width="fill_parent" android:layout_margin="0dp">
@@ -35,19 +35,19 @@
<ImageView android:id="@+id/ImageView01"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:background="@drawable/logo"
- android:paddingTop="5px" android:layout_marginTop="10px" android:layout_marginLeft="10px"></ImageView>
+ android:paddingTop="5dp" android:layout_marginTop="10dp" android:layout_marginLeft="10dp"></ImageView>
<TextView android:id="@+id/TextView01" android:layout_height="fill_parent"
- android:layout_width="fill_parent" android:paddingRight="10px" android:gravity="center_vertical" android:paddingLeft="10px" android:text="@string/password_dialog_title" android:textAppearance="?android:attr/textAppearanceLarge"></TextView>
+ android:layout_width="fill_parent" android:paddingRight="10dp" android:gravity="center_vertical" android:paddingLeft="10dp" android:text="@string/password_dialog_title" android:textAppearance="?android:attr/textAppearanceLarge"></TextView>
</LinearLayout>
<View android:id="@+id/divider"
android:background="@drawable/gradient_line"
android:layout_width="fill_parent"
- android:layout_height="1dp" android:layout_marginTop="10px" android:layout_marginLeft="15dp" android:layout_marginRight="15dp"/>
+ android:layout_height="1dp" android:layout_marginTop="10dp" android:layout_marginLeft="15dp" android:layout_marginRight="15dp"/>
<TextView android:id="@+id/username_label" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip" android:gravity="left" android:paddingTop="10px" android:textAppearance="?android:attr/textAppearanceMedium" android:text="@string/password_dialog_label"/>
+ android:layout_marginRight="20dip" android:gravity="left" android:paddingTop="10dp" android:textAppearance="?android:attr/textAppearanceMedium" android:text="@string/password_dialog_label"/>
@@ -78,19 +78,19 @@
android:layout_gravity="center_vertical|center_horizontal"
android:text="@string/password_dialog_forgot_text2"
android:clickable="true"
- android:id="@+id/check_password_forgot_text2" android:gravity="center_vertical" android:paddingLeft="3px"/>
+ android:id="@+id/check_password_forgot_text2" android:gravity="center_vertical" android:paddingLeft="3dp"/>
</LinearLayout>
<LinearLayout android:layout_height="wrap_content"
android:id="@+id/LinearLayoutButtons" android:orientation="horizontal"
android:layout_width="fill_parent"
- android:background="#CCC" android:gravity="center_vertical|center_horizontal|center" android:paddingTop="4px" android:paddingBottom="1px" android:layout_marginLeft="3px" android:layout_marginRight="3px" android:layout_marginBottom="3px">
+ android:background="#CCC" android:gravity="center_vertical|center_horizontal|center" android:paddingTop="4dp" android:paddingBottom="1dp" android:layout_marginLeft="3dp" android:layout_marginRight="3dp" android:layout_marginBottom="3dp">
<Button android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_gravity="center_horizontal"
- android:gravity="center_vertical|center_horizontal|center" android:text="@string/ok" android:id="@+id/check_password_ok_button" android:minWidth="100px"></Button>
+ android:gravity="center_vertical|center_horizontal|center" android:text="@string/ok" android:id="@+id/check_password_ok_button" android:minWidth="100dp"></Button>
<Button android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_gravity="center_horizontal"
- android:gravity="center_vertical|center_horizontal|center" android:text="@string/cancel" android:id="@+id/check_password_cancel_button" android:minWidth="100px"></Button>
+ android:gravity="center_vertical|center_horizontal|center" android:text="@string/cancel" android:id="@+id/check_password_cancel_button" android:minWidth="100dp"></Button>
</LinearLayout>
16 res/layout/create_account.xml
View
@@ -15,11 +15,11 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:scrollbars="vertical" android:background="@drawable/border"
android:layout_height="wrap_content"
- android:padding="0px" android:layout_width="fill_parent" android:layout_margin="10px" android:layout_gravity="center_vertical">
+ android:padding="0dp" android:layout_width="280dp" android:layout_margin="10dp" android:layout_gravity="center_horizontal|center_vertical">
<!-- Data entry layout -->
- <ScrollView android:id="@+id/ScrollView01" android:layout_height="wrap_content" android:layout_width="fill_parent" android:layout_margin="0px">
+ <ScrollView android:id="@+id/ScrollView01" android:layout_height="wrap_content" android:layout_width="fill_parent" android:layout_margin="0dp">
@@ -34,21 +34,21 @@
<ImageView android:id="@+id/ImageView01"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:background="@drawable/logo"
- android:paddingTop="5px" android:layout_marginTop="10px" android:layout_marginLeft="10px"></ImageView>
+ android:paddingTop="5dp" android:layout_marginTop="10dp" android:layout_marginLeft="10dp"></ImageView>
<TextView android:id="@+id/TextView01" android:layout_height="fill_parent"
android:layout_width="fill_parent" android:text="@string/set_new_user_dialog_title"
- android:paddingRight="10px" android:textAppearance="?android:attr/textAppearanceMedium" android:gravity="center_vertical" android:paddingLeft="10px"></TextView>
+ android:paddingRight="10dp" android:textAppearance="?android:attr/textAppearanceMedium" android:gravity="center_vertical" android:paddingLeft="10dp"></TextView>
</LinearLayout>
<View android:id="@+id/divider"
android:background="@drawable/gradient_line"
android:layout_width="fill_parent"
- android:layout_height="1dp" android:layout_marginTop="10px" android:layout_marginLeft="15dp" android:layout_marginRight="15dp"/>
+ android:layout_height="1dp" android:layout_marginTop="10dp" android:layout_marginLeft="15dp" android:layout_marginRight="15dp"/>
<TextView android:id="@+id/username_label" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:layout_marginLeft="20dip"
android:layout_marginRight="20dip" android:text="@string/set_new_user_dialog_name"
- android:gravity="left" android:paddingTop="10px" android:textAppearance="?android:attr/textAppearanceMedium"/>
+ android:gravity="left" android:paddingTop="10dp" android:textAppearance="?android:attr/textAppearanceMedium"/>
@@ -62,7 +62,7 @@
<TextView android:id="@+id/email_view" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:text="@string/set_new_user_dialog_email"
- android:gravity="left" android:textAppearance="?android:attr/textAppearanceMedium" android:layout_marginLeft="20dip" android:width="200px"/>
+ android:gravity="left" android:textAppearance="?android:attr/textAppearanceMedium" android:layout_marginLeft="20dip" android:width="200dp"/>
<EditText android:id="@+id/set_new_user_dialog_email_edit"
android:layout_height="wrap_content" android:layout_width="fill_parent"
@@ -88,7 +88,7 @@
<LinearLayout android:layout_height="wrap_content"
android:id="@+id/LinearLayoutButtons" android:orientation="horizontal"
android:layout_width="fill_parent"
- android:background="#CCC" android:gravity="center_vertical|center_horizontal|center" android:paddingTop="4px" android:paddingBottom="1px" android:layout_marginLeft="3px" android:layout_marginRight="3px" android:layout_marginBottom="3px">
+ android:background="#CCC" android:gravity="center_vertical|center_horizontal|center" android:paddingTop="4dp" android:paddingBottom="1dp" android:layout_marginLeft="3dp" android:layout_marginRight="3dp" android:layout_marginBottom="3dp">
<Button android:text="@string/set_new_user_dialog_create"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_gravity="center_horizontal"
48 res/values/strings.xml
View
@@ -21,16 +21,16 @@
<string name="agreements_message2"><u>Read Agreement</u></string>
<!-- First dialog - Prey Configuration -->
<string name="first_dialog_title">Welcome to\nPrey for Android™!</string>
- <string name="first_dialog_message">Prey helps you find your phone by reporting its
+ <string name="first_dialog_message">Prey helps you find your device by reporting its
location to a web control panel, activated by a SMS message of your choice.\n\nHave you already registered on preyproject.com?
</string>
<!-- Add device to an already created account -->
<string name="set_old_user_dialog_title">Please enter your\naccount information</string>
- <string name="add_device_info_text">By clicking below your phone will be added to your Control Panel account.</string>
+ <string name="add_device_info_text">By clicking below your device will be added to your Control Panel account.</string>
<string name="set_old_user_dialog_email">Email</string>
<string name="set_old_user_dialog_password">Password</string>
- <string name="set_old_user_dialog_create"> Track my phone </string>
+ <string name="set_old_user_dialog_create"> Track my device </string>
<string name="set_old_user_loading">Attaching device to account...\nJust a sec!</string>
<string name="set_old_user_no_more_devices_title">Hold your horses!</string>
<string name="set_old_user_no_more_devices_text">It seems you\'ve run out of free slots for devices on your Prey account.\n\nPlease try removing an existing device on the Control Panel or create a new account.</string>
@@ -42,27 +42,27 @@
<string name="set_new_user_dialog_email">Valid email</string>
<string name="set_new_user_dialog_password">Password</string>
<string name="set_new_user_dialog_repassword_title">Please double check\nyour password</string>
- <string name="set_new_user_dialog_repassword">You\'ll need this password to manage Prey on this phone, and to log into your Control Panel at preyproject.com.\n\nPlease double check it by entering it again.</string>
+ <string name="set_new_user_dialog_repassword">You\'ll need this password to manage Prey on this device, and to log into your Control Panel at preyproject.com.\n\nPlease double check it by entering it again.</string>
<string name="set_new_user_dialog_repassword_confirm">Confirm</string>
<string name="set_new_user_dialog_create">Create new account</string>
<string name="set_new_user_dialog_creating_popup">Creating account. Please wait...</string>
<!-- Congratulations Dialog -->
- <string name="congratulations_title">Phone Added!</string>
- <string name="new_account_congratulations_text">You\'ve successfully installed Prey on your phone.\nTo finish the setup process you need to verify your email address by following the link we just sent to %s.</string>
- <string name="device_added_congratulations_text">You have successfully associated this phone with your Prey account. Now take a minute to set it up.</string>
+ <string name="congratulations_title">Device Added!</string>
+ <string name="new_account_congratulations_text">You\'ve successfully installed Prey on your device.\nTo finish the setup process you need to verify your email address by following the link we just sent to %s.</string>
+ <string name="device_added_congratulations_text">You have successfully associated this device with your Prey account. Now take a minute to set it up.</string>
<!-- Prey SMS Preferences -->
<string name="preferences_sms_title">Main configuration</string>
<string name="preferences_sms_run">SMS activation message</string>
<string name="preferences_sms_run_summary">Word or phrase that will wake up Prey</string>
- <string name="preferences_sms_run_edittext">Send this text from another phone to start Prey</string>
+ <string name="preferences_sms_run_edittext">Send this text from another device to start Prey</string>
<string name="preferences_sms_stop">SMS deactivation message</string>
<string name="preferences_sms_stop_summary">Word or phrase that will stop Prey</string>
- <string name="preferences_sms_stop_edittext">Send this text from another phone to stop Prey</string>
+ <string name="preferences_sms_stop_edittext">Send this text from another device to stop Prey</string>
<string name="preferences_show_notification_title">Display notifications</string>
<string name="preferences_show_notification_summary">Shows onscreen message if Prey sent a successful report</string>
@@ -77,16 +77,16 @@
<string name="preferences_check_sim_change_summary">Activate Prey if SIM card is replaced</string>
<string name="preferences_destination_sms">Contact to notify</string>
- <string name="preferences_destination_sms_summary">Will be notified by SMS of new phone number</string>
- <string name="preferences_destination_sms_edittext">Please choose the contact which will be notified when a new SIM card is detected. He will receive an SMS from your device\'s new phone number.</string>
+ <string name="preferences_destination_sms_summary">Will be notified by SMS of new device number</string>
+ <string name="preferences_destination_sms_edittext">Please choose the contact which will be notified when a new SIM card is detected. He will receive an SMS from your device\'s new device number.</string>
<string name="preferences_destination_sms_edittext_hint">type name</string>
<string name="preferences_destination_sms_not_valid">The number you entered doesn\'t seem to be valid</string>
- <string name="sms_to_send_text">Your friend\'s phone has a new number as its SIM card has been replaced. Please contact him at %s if you think it may have been stolen.</string>
+ <string name="sms_to_send_text">Your friend\'s device has a new number as its SIM card has been replaced. Please contact him at %s if you think it may have been stolen.</string>
<string name="preferences_update_sim_title">Assign to current SIM</string>
<string name="preferences_update_sim_summary">Assign current SIM as valid</string>
<string name="preferences_update_sim_dialog_title">Change valid SIM</string>
- <string name="preferences_update_sim_dialog_message">You\'re about to change the registered SIM on this phone. By clicking \'Yes\' Prey will assume current one as valid.\n\nAre you sure?</string>
+ <string name="preferences_update_sim_dialog_message">You\'re about to change the registered SIM on this device. By clicking \'Yes\' Prey will assume current one as valid.\n\nAre you sure?</string>
@@ -108,12 +108,12 @@
<string name="preferences_passwords_successfully_changed">Your Prey password was successfully changed</string>
<!-- Prey Detach Device Preferences -->
- <string name="preferences_detach_title">Detach phone</string>
- <string name="preferences_detach_summary">Remove this phone from your Control Panel account</string>
- <string name="preferences_detach_dialog_title">Detaching phone</string>
- <string name="preferences_detach_dialog_message">Your phone will be detached from the Control Panel. This will also delete all its stored reports.\n\nAre you sure?</string>
- <string name="preferences_detach_confirmation_message">Your phone was successfully detached from your account.\nNow you can set up Prey again.</string>
- <string name="preferences_detach_dettaching_message">Detaching phone, please wait...</string>
+ <string name="preferences_detach_title">Detach device</string>
+ <string name="preferences_detach_summary">Remove this device from your Control Panel account</string>
+ <string name="preferences_detach_dialog_title">Detaching device</string>
+ <string name="preferences_detach_dialog_message">Your device will be detached from the Control Panel. This will also delete all its stored reports.\n\nAre you sure?</string>
+ <string name="preferences_detach_confirmation_message">Your device was successfully detached from your account.\nNow you can set up Prey again.</string>
+ <string name="preferences_detach_dettaching_message">Detaching device, please wait...</string>
<string name="preferences_go_to_control_panel_title">View generated reports</string>
@@ -124,7 +124,7 @@
<!-- Prey Operation Preferences -->
<string name="preferences_category_operations_title">Execution control</string>
- <string name="preferences_category_operations_summary">Start and stop Prey from your phone</string>
+ <string name="preferences_category_operations_summary">Start and stop Prey from your device</string>
<string name="preferences_start_title">Start Prey</string>
<string name="preferences_start_summary">Mark this device as missing</string>
@@ -146,13 +146,13 @@
<string name="preferences_admin_disabled_summary">Allows lock and uninstall protection</string>
<string name="preferences_admin_enabled_dialog_title">Please note</string>
- <string name="preferences_admin_enabled_dialog_message">By clicking \'Yes\' you will revoke Prey administration privileges on this device. Without these privileges, Prey won\'t be able to lock your phone.\nAre you sure?</string>
+ <string name="preferences_admin_enabled_dialog_message">By clicking \'Yes\' you will revoke Prey administration privileges on this device. Without these privileges, Prey won\'t be able to lock your device.\nAre you sure?</string>
<string name="preferences_admin_disabled_dialog_title">Extra permissions</string>
- <string name="preferences_admin_disabled_dialog_message">You\'re about to grant Prey special security privileges, that will allow you to remotely lock your phone.\nClick Yes to continue.</string>
+ <string name="preferences_admin_disabled_dialog_message">You\'re about to grant Prey special security privileges, that will allow you to remotely lock your device.\nClick Yes to continue.</string>
<string name="device_admin_label">Prey extra security</string>
- <string name="device_admin_description">These privileges are needed to remotely lockdown your phone, and will prevent Prey from being uninstalled. You need to revoke these rights later if you wish to uninstall Prey.</string>
+ <string name="device_admin_description">These privileges are needed to remotely lockdown your device, and will prevent Prey from being uninstalled. You need to revoke these rights later if you wish to uninstall Prey.</string>
<!-- Prey Ringtone Preferences (Deprecated) -->
<string name="preferences_category_title_ringtone">Alarm Module</string>
@@ -203,7 +203,7 @@
<!-- Lock module -->
<string name="lock_label">Please type the password to unlock:</string>
- <string name="lock_label_title">This phone has been locked.</string>
+ <string name="lock_label_title">This device has been locked.</string>
<!-- Device Admin API -->
2  src/com/prey/net/PreyWebServices.java
View
@@ -283,7 +283,7 @@ public void run() {
PreyLogger.e("Couldn't update missing state", e);
}
}
- });
+ }).run();
//new SetAsMissingTask().execute(ctx,parameters);
} catch (Exception e) {
2  src/com/prey/preferences/StopPreyPreference.java
View
@@ -37,7 +37,7 @@ public void run() {
PreyLogger.e("Couldn't stop Prey", e);
}
}
- });
+ }).run();
// new StopPreyTask().execute();
Please sign in to comment.
Something went wrong with that request. Please try again.