Skip to content

Commit 22daee6

Browse files
committed
Merge pull request #24 from xLaMbChOpSx/master
Universal Compatibility Commit
2 parents 92abce6 + 8161a22 commit 22daee6

File tree

16 files changed

+316
-770
lines changed

16 files changed

+316
-770
lines changed

AndroidManifest.xml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
33
package="com.SecUpwN.AIMSICD"
4-
android:versionName="0.1.1"
5-
android:versionCode="3"
6-
android:sharedUserId="android.uid.phone">
4+
android:versionName="0.1.5"
5+
android:versionCode="5">
76

87
<uses-sdk
98
android:minSdkVersion="9"
@@ -15,9 +14,10 @@
1514
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
1615
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"/>
1716
<uses-permission android:name="android.permission.INTERNET"/>
17+
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
1818

1919
<application
20-
android:icon="@drawable/icon"
20+
android:icon="@drawable/sense_alarm"
2121
android:label="@string/app_name"
2222
android:theme="@style/AppTheme"
2323
android:allowBackup="false">
@@ -26,7 +26,6 @@
2626
<activity
2727
android:name=".AIMSICD"
2828
android:label="@string/app_name_short"
29-
android:process="com.android.phone"
3029
android:screenOrientation="portrait"
3130
android:exported="true">
3231
<intent-filter>
@@ -39,7 +38,6 @@
3938

4039
<service
4140
android:name=".service.AimsicdService"
42-
android:process="com.android.phone"
4341
android:enabled="true"
4442
android:exported="false">
4543
</service>
@@ -60,15 +58,16 @@
6058
android:name="android.support.PARENT_ACTIVITY"
6159
android:value=".AIMSICD"/>
6260
</activity>
61+
6362
<activity
64-
android:name=".ATRilHook"
65-
android:label="@string/at_ril_injection"
63+
android:name=".SettingsActivity"
64+
android:label="@string/preferences"
65+
android:icon="@drawable/ic_action_settings"
6666
android:parentActivityName=".AIMSICD"
67-
android:process="com.android.phone"
6867
android:exported="true">
69-
<meta-data
70-
android:name="android.support.PARENT_ACTIVITY"
71-
android:value=".AIMSICD"/>
68+
<intent-filter>
69+
<category android:name="android.intent.category.DEFAULT"/>
70+
</intent-filter>
7271
</activity>
7372

7473
</application>

libs/frameworks_all.jar

-104 KB
Binary file not shown.

libs/telephony.jar.REMOVED.git-id

Lines changed: 0 additions & 1 deletion
This file was deleted.
807 Bytes
Loading

res/layout/list_item.xml

Lines changed: 0 additions & 21 deletions
This file was deleted.

res/layout/riloemhook_layout.xml

Lines changed: 0 additions & 107 deletions
This file was deleted.

res/menu/main_menu.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
android:icon="@drawable/ic_action_import_export"
2222
android:title="@string/export_database"
2323
android:showAsAction="ifRoom" />
24-
<item android:id="@+id/at_injector"
25-
android:icon="@drawable/ic_action_computer"
26-
android:title="@string/at_ril_injection"
24+
<item android:id="@+id/preferences"
25+
android:icon="@drawable/ic_action_settings"
26+
android:title="@string/preferences"
2727
android:showAsAction="ifRoom" />
2828
<item android:id="@+id/app_exit"
2929
android:icon="@drawable/ic_action_remove"

res/values/arrays.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<string-array name="pref_ui_icons_entries">
4+
<item>"Flat"</item>
5+
<item>"Sense"</item>
6+
<item>"White"</item>
7+
</string-array>
8+
9+
<string-array name="pref_ui_icons_values">
10+
<item>"1"</item>
11+
<item>"2"</item>
12+
<item>"3"</item>
13+
</string-array>
14+
15+
<array name="pref_ui_icon_display">
16+
<item>@drawable/flat_good</item>
17+
<item>@drawable/sense_good</item>
18+
<item>@drawable/white_good</item>
19+
</array>
20+
21+
</resources>

res/values/attrs.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<declare-styleable name="IconListPreference">
4+
<attr name="entryIcons" format="reference" />
5+
</declare-styleable>
6+
</resources>

res/values/strings.xml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<resources>
33

44
<string name="app_name_short">AIMSICD</string>
5-
<string name="app_name">Android IMSI Catcher Detector</string>
5+
<string name="app_name">Android IMSI-Catcher Detector</string>
66
<string name="strength">Signal strength</string>
77
<string name="quit">Quit</string>
88
<string name="text_ok">OK</string>
@@ -30,7 +30,7 @@
3030
<string name="untrack_signal">Untrack Signal</string>
3131
<string name="show_map">Show Map</string>
3232
<string name="export_database">Export Database tables</string>
33-
<string name="at_ril_injection">AT Command Injection</string>
33+
<string name="preferences">Preferences</string>
3434
<string name="press_once_again_to_exit">Press again to exit</string>
3535

3636
<!-- MAIN LAYOUT -->
@@ -54,21 +54,22 @@
5454
<string name="data_activity">Data Activity:</string>
5555
<string name="data_status">Data Status:</string>
5656

57-
58-
59-
<!-- Location Helper -->
57+
<!-- LOCATION HELPER -->
6058
<string name="location_error_title">Location Services Disabled</string>
6159
<string name="location_error_message">You cannot track GPS data without enabling Location Services.</string>
6260

63-
<!-- AT Injection Activity -->
64-
<string name="testing_RIL_OEMHook">RIL OEM Hook Test</string>
65-
<string name="ril_oem_choose">Choose a RIL OEM Hook API to test:</string>
66-
<string name="radio_api1">CRSM - RilStrings</string>
67-
<string name="radio_api2">API 2 (datalen=1)</string>
68-
<string name="radio_api3">API 3 (datalen=6)</string>
69-
<string name="radio_api4">API 4 Type command :</string>
70-
<string name="radio_api5">Ciphering Indicator - RilRAW</string>
71-
<string name="radio_api6">Ciphering Indicator - ServiceMode</string>
72-
<string name="radio_run">RUN</string>
73-
<string name="ril_oem_response">Module response:</string>
61+
<!-- PREFERENCES -->
62+
<string name="pref_system_title">System Settings</string>
63+
<string name="pref_autostart_title">Auto Start</string>
64+
<string name="pref_autostart_summ">Automatically start service on boot</string>
65+
<string name="pref_protection_title">Protection Settings</string>
66+
<string name="pref_femto_title">FemtoCell</string>
67+
<string name="pref_femto_summ">FemtoCell Detection (CDMA Phones ONLY)</string>
68+
<string name="pref_femto_action_title">FemtoCell Protection</string>
69+
<string name="pref_femto_action_summ">Enforce Airplane Mode when FemtoCell detected</string>
70+
<string name="pref_ui_title">Interface Settings</string>
71+
<string name="pref_ui_icons_title">Icons</string>
72+
<string name="pref_ui_icons_summ">Icon Theme Selection</string>
73+
74+
7475
</resources>

0 commit comments

Comments
 (0)