Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
Simple-Sms
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhangchengbo
Simple-Sms
Commits
5478fdc7
Commit
5478fdc7
authored
Nov 11, 2024
by
zhangchengbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:替换项目包名
parent
30ffb940
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
12 deletions
+12
-12
proguard-rules.pro
app/proguard-rules.pro
+2
-2
AndroidManifest.xml
app/src/main/AndroidManifest.xml
+3
-3
Constants.kt
app/src/main/kotlin/com/secspace/sms/helpers/Constants.kt
+1
-1
SendStatusReceiver.kt
...n/kotlin/com/secspace/sms/receivers/SendStatusReceiver.kt
+2
-2
MyContactsContentProvider.kt
...emobiletools/commons/helpers/MyContactsContentProvider.kt
+4
-4
No files found.
app/proguard-rules.pro
View file @
5478fdc7
...
@@ -31,8 +31,8 @@
...
@@ -31,8 +31,8 @@
# Gson
# Gson
-
keep
class
com
.
simplemobiletools
.
commons
.
models
.
SimpleContact
{
*
;
}
-
keep
class
com
.
simplemobiletools
.
commons
.
models
.
SimpleContact
{
*
;
}
-
keep
class
com
.
s
implemobiletools
.
smsmessenger
.
models
.
Attachment
{
*
;
}
-
keep
class
com
.
s
ecspace
.
sms
.
models
.
Attachment
{
*
;
}
-
keep
class
com
.
s
implemobiletools
.
smsmessenger
.
models
.
MessageAttachment
{
*
;
}
-
keep
class
com
.
s
ecspace
.
sms
.
models
.
MessageAttachment
{
*
;
}
# Please add these rules to your existing keep rules in order to suppress warnings.
# Please add these rules to your existing keep rules in order to suppress warnings.
...
...
app/src/main/AndroidManifest.xml
View file @
5478fdc7
...
@@ -207,7 +207,7 @@
...
@@ -207,7 +207,7 @@
android:enabled=
"true"
android:enabled=
"true"
android:exported=
"true"
>
android:exported=
"true"
>
<intent-filter>
<intent-filter>
<action
android:name=
"com.s
implemobiletools.smsmessenger
.action.mark_as_read"
/>
<action
android:name=
"com.s
ecspace.sms
.action.mark_as_read"
/>
</intent-filter>
</intent-filter>
</receiver>
</receiver>
...
@@ -216,7 +216,7 @@
...
@@ -216,7 +216,7 @@
android:enabled=
"true"
android:enabled=
"true"
android:exported=
"true"
>
android:exported=
"true"
>
<intent-filter>
<intent-filter>
<action
android:name=
"com.s
implemobiletools.smsmessenger
.action.reply"
/>
<action
android:name=
"com.s
ecspace.sms
.action.reply"
/>
</intent-filter>
</intent-filter>
</receiver>
</receiver>
...
@@ -225,7 +225,7 @@
...
@@ -225,7 +225,7 @@
android:enabled=
"true"
android:enabled=
"true"
android:exported=
"true"
>
android:exported=
"true"
>
<intent-filter>
<intent-filter>
<action
android:name=
"com.s
implemobiletools.smsmessenger
.action.delete"
/>
<action
android:name=
"com.s
ecspace.sms
.action.delete"
/>
</intent-filter>
</intent-filter>
</receiver>
</receiver>
...
...
app/src/main/kotlin/com/secspace/sms/helpers/Constants.kt
View file @
5478fdc7
...
@@ -46,7 +46,7 @@ const val LAST_RECYCLE_BIN_CHECK = "last_recycle_bin_check"
...
@@ -46,7 +46,7 @@ const val LAST_RECYCLE_BIN_CHECK = "last_recycle_bin_check"
const
val
IS_RECYCLE_BIN
=
"is_recycle_bin"
const
val
IS_RECYCLE_BIN
=
"is_recycle_bin"
const
val
IS_ARCHIVE_AVAILABLE
=
"is_archive_available"
const
val
IS_ARCHIVE_AVAILABLE
=
"is_archive_available"
private
const
val
PATH
=
"com.s
implemobiletools.smsmessenger
.action."
private
const
val
PATH
=
"com.s
ecspace.sms
.action."
const
val
MARK_AS_READ
=
PATH
+
"mark_as_read"
const
val
MARK_AS_READ
=
PATH
+
"mark_as_read"
const
val
REPLY
=
PATH
+
"reply"
const
val
REPLY
=
PATH
+
"reply"
...
...
app/src/main/kotlin/com/secspace/sms/receivers/SendStatusReceiver.kt
View file @
5478fdc7
...
@@ -21,8 +21,8 @@ abstract class SendStatusReceiver : BroadcastReceiver() {
...
@@ -21,8 +21,8 @@ abstract class SendStatusReceiver : BroadcastReceiver() {
}
}
companion
object
{
companion
object
{
const
val
SMS_SENT_ACTION
=
"com.s
implemobiletools.smsmessenger
.receiver.SMS_SENT"
const
val
SMS_SENT_ACTION
=
"com.s
ecspace.sms
.receiver.SMS_SENT"
const
val
SMS_DELIVERED_ACTION
=
"com.s
implemobiletools.smsmessenger
.receiver.SMS_DELIVERED"
const
val
SMS_DELIVERED_ACTION
=
"com.s
ecspace.sms
.receiver.SMS_DELIVERED"
// Defined by platform, but no constant provided. See docs for SmsManager.sendTextMessage.
// Defined by platform, but no constant provided. See docs for SmsManager.sendTextMessage.
const
val
EXTRA_ERROR_CODE
=
"errorCode"
const
val
EXTRA_ERROR_CODE
=
"errorCode"
...
...
commons/src/main/kotlin/com/simplemobiletools/commons/helpers/MyContactsContentProvider.kt
View file @
5478fdc7
...
@@ -28,8 +28,8 @@ class MyContactsContentProvider {
...
@@ -28,8 +28,8 @@ class MyContactsContentProvider {
fun
getSimpleContacts
(
context
:
Context
,
cursor
:
Cursor
?):
ArrayList
<
SimpleContact
>
{
fun
getSimpleContacts
(
context
:
Context
,
cursor
:
Cursor
?):
ArrayList
<
SimpleContact
>
{
val
contacts
=
ArrayList
<
SimpleContact
>()
val
contacts
=
ArrayList
<
SimpleContact
>()
val
packageName
=
context
.
packageName
.
removeSuffix
(
".debug"
)
val
packageName
=
context
.
packageName
/*.removeSuffix(".debug")*/
if
(
packageName
!=
"com.simplemobiletools.dialer"
/* && packageName != "com.simplemobiletools.smsmessenger"
&& packageName != "com.simplemobiletools.calendar.pro"*/
)
{
if
(
/*packageName != "com.simplemobiletools.dialer" &&*/
packageName
!=
"com.secspace.sms"
/*
&& packageName != "com.simplemobiletools.calendar.pro"*/
)
{
return
contacts
return
contacts
}
}
...
@@ -64,8 +64,8 @@ class MyContactsContentProvider {
...
@@ -64,8 +64,8 @@ class MyContactsContentProvider {
fun
getContacts
(
context
:
Context
,
cursor
:
Cursor
?):
ArrayList
<
Contact
>
{
fun
getContacts
(
context
:
Context
,
cursor
:
Cursor
?):
ArrayList
<
Contact
>
{
val
contacts
=
ArrayList
<
Contact
>()
val
contacts
=
ArrayList
<
Contact
>()
val
packageName
=
context
.
packageName
.
removeSuffix
(
".debug"
)
val
packageName
=
context
.
packageName
/*.removeSuffix(".debug")*/
if
(
packageName
!=
"com.simplemobiletools.dialer"
/* && packageName != "com.simplemobiletools.smsmessenger"
&& packageName != "com.simplemobiletools.calendar.pro"*/
)
{
if
(
/*packageName != "com.simplemobiletools.dialer"&&*/
packageName
!=
"com.secspace.sms"
/*
&& packageName != "com.simplemobiletools.calendar.pro"*/
)
{
return
contacts
return
contacts
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment