Skip to content

Commit 1d14eb1

Browse files
committed
Increase visibility for some serialization items
1 parent d1dda2c commit 1d14eb1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

com.unity.mobile.notifications/Runtime/Android/Plugins/com/unity/androidnotifications/UnityNotificationUtilities.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class UnityNotificationUtilities {
4040
In real life app can get updated having old serialized notifications present, so we should be able to deserialize them.
4141
*/
4242
// magic stands for "Unity Mobile Notifications Notification"
43-
private static final byte[] UNITY_MAGIC_NUMBER = new byte[] { 'U', 'M', 'N', 'N'};
43+
static final byte[] UNITY_MAGIC_NUMBER = new byte[] { 'U', 'M', 'N', 'N'};
4444
private static final byte[] UNITY_MAGIC_NUMBER_PARCELLED = new byte[] { 'U', 'M', 'N', 'P'};
4545
private static final int NOTIFICATION_SERIALIZATION_VERSION = 1;
4646
private static final int INTENT_SERIALIZATION_VERSION = 0;
@@ -175,7 +175,7 @@ private static boolean serializeNotificationCustom(Notification notification, Da
175175
}
176176
}
177177

178-
private static void serializeString(DataOutputStream out, String s) throws IOException {
178+
static void serializeString(DataOutputStream out, String s) throws IOException {
179179
if (s == null || s.length() == 0)
180180
out.writeInt(0);
181181
else {
@@ -185,7 +185,7 @@ private static void serializeString(DataOutputStream out, String s) throws IOExc
185185
}
186186
}
187187

188-
private static byte[] serializeParcelable(Parcelable obj) {
188+
static byte[] serializeParcelable(Parcelable obj) {
189189
try {
190190
Parcel p = Parcel.obtain();
191191
Bundle b = new Bundle();

0 commit comments

Comments
 (0)