updated icons
@ -1,13 +1,12 @@
|
||||
<vector android:height="30.287416dp" android:viewportHeight="1169.74"
|
||||
android:viewportWidth="965.533" android:width="25dp"
|
||||
<vector android:height="31dp" android:viewportHeight="1115"
|
||||
android:viewportWidth="910.28" android:width="25.308233dp"
|
||||
xmlns:aapt="http://schemas.android.com/aapt" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#FFFFFF"
|
||||
android:pathData="m937.33,922.52c0.01,0.16 0.01,0.32 0,0.46 -0.04,31.65 2.1,100.42 -1.89,133.26 0.01,0.01 0,0.03 0,0.03 -8.86,49.71 -51.31,84.66 -107.91,85.19 -111.09,1.05 -222.21,0.29 -333.32,0.29 0,0 -109.2,0.49 -163.79,0.49 0,0 -0.01,-0.01 -0.03,0 -48.3,0 -96.62,-0.04 -144.92,-0.17 -9.79,-0.03 -19.62,-0.32 -29.4,-0.9 -8.38,-0.47 -16.75,-1.19 -25.08,-2.15 -52.64,-6.06 -89.27,-38.11 -99.79,-85.57 0,-0.01 -0.01,-0.04 -0.01,-0.07 -1.91,-8.55 -2.95,-17.61 -3.1,-27.1 -0.69,-46.45 -0.54,-92.94 -0.26,-139.41v-0.19c0.03,-5.39 0.06,-10.76 0.1,-16.15 0.23,-33.27 4.4,-36.94 38.49,-37.67 17.29,-0.37 34.66,0.27 51.89,-1.06 103.35,-8.07 167.98,-114.53 122.18,-207.76 -22.77,-46.34 -62.96,-77.72 -119.02,-79.53 -22.75,-0.73 -45.52,-0.92 -68.29,-1.05 -16.91,-0.11 -25.09,-8.34 -25.03,-25.19 0.07,-18.83 -0.11,-37.69 -0.3,-56.53v-0.4c-0.33,-31.19 -0.64,-62.37 0.14,-93.5v-0.09c0.29,-11.75 1.6,-37.93 1.73,-39.28 0,0 0,-0.01 0,-0.03 5.53,-58.56 56.56,-92.89 115.32,-88.67 60.99,1.61 121.9,2.21 182.87,2.61 22.15,0.14 29.35,-13.14 30.51,-33.49 1.79,-31.7 2.45,-63.85 8.65,-94.8 8.88,-44.29 45.26,-86.63 104.39,-86.59 62.16,0.19 113.83,33 125.91,84.63 7.16,30.66 8.96,62.86 10.3,94.5 0.92,21.84 8.4,33.33 27.12,35.81h0.01c2.79,0.39 5.82,0.56 9.13,0.53 55.07,-0.4 110.13,-0.57 165.18,0.54 8.38,0.47 16.75,1.19 25.08,2.15 52.64,6.06 89.27,38.11 99.79,85.57 1.13,7.05 2.02,14.69 2.68,22.93 0.32,46.27 0.54,93.74 0.69,141.91v0.43c0.41,140.33 0.21,286.54 -0.02,426.02z" android:strokeWidth="55">
|
||||
<aapt:attr name="android:strokeColor">
|
||||
<gradient android:endX="1436.4504" android:endY="668.0306"
|
||||
android:startX="560.4707" android:startY="1544.0103" android:type="linear">
|
||||
<item android:color="#FF3370FA" android:offset="1.065558E-7"/>
|
||||
<item android:color="#FFF80439" android:offset="1"/>
|
||||
<path android:pathData="M909.73,895.2v0.5c0,31.7 2.1,100.4 -1.9,133.3h0c-8.9,49.7 -51.3,84.7 -107.9,85.2 -111.1,1.1 -222.2,0.3 -333.3,0.3 0,0 -109.2,0.5 -163.8,0.5h0q-72.45,0 -144.9,-0.2 -14.7,0 -29.4,-0.9c-8.4,-0.5 -16.8,-1.2 -25.1,-2.2 -52.6,-6.1 -89.3,-38.1 -99.8,-85.6v-0.1a131.48,131.48 0,0 1,-3.1 -27.1c-0.7,-46.4 -0.5,-92.9 -0.3,-139.4v-0.2c0,-5.4 0.1,-10.8 0.1,-16.2 0.2,-33.3 4.4,-36.9 38.5,-37.7 17.3,-0.4 34.7,0.3 51.9,-1.1 103.3,-8.1 168,-114.5 122.2,-207.8 -22.8,-46.3 -63,-77.7 -119,-79.5 -22.8,-0.7 -45.5,-0.9 -68.3,-1 -16.9,-0.1 -25.1,-8.3 -25,-25.2 0.1,-18.8 -0.1,-37.7 -0.3,-56.5v-0.4c-0.3,-31.2 -0.6,-62.4 0.1,-93.5v-0.1c0.3,-11.8 1.6,-37.9 1.7,-39.3h0c5.5,-58.6 56.6,-92.9 115.3,-88.7 61,1.6 121.9,2.2 182.9,2.6 22.2,0.1 29.3,-13.1 30.5,-33.5 1.8,-31.7 2.5,-63.8 8.7,-94.8 8.9,-44.3 45.3,-86.6 104.4,-86.6 62.2,0.2 113.8,33 125.9,84.6 7.2,30.7 9,62.9 10.3,94.5 0.9,21.8 8.4,33.3 27.1,35.8h0a52.59,52.59 0,0 0,9.1 0.5c55.1,-0.4 110.1,-0.6 165.2,0.5 8.4,0.5 16.8,1.2 25.1,2.2 52.6,6.1 89.3,38.1 99.8,85.6 1.1,7 2,14.7 2.7,22.9 0.3,46.3 0.5,93.7 0.7,141.9v0.4C910.13,609.5 909.93,755.7 909.73,895.2Z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient android:endX="872.2" android:endY="244.86"
|
||||
android:startX="34.99003" android:startY="1082.07" android:type="linear">
|
||||
<item android:color="#FF366EF7" android:offset="0"/>
|
||||
<item android:color="#FFF7043A" android:offset="1"/>
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
|
@ -1,24 +0,0 @@
|
||||
<vector android:height="25dp" android:viewportHeight="2000"
|
||||
android:viewportWidth="2000" android:width="25dp"
|
||||
xmlns:aapt="http://schemas.android.com/aapt" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#0C0C0F"
|
||||
android:pathData="M1000,1000m-852.75,0a852.75,852.75 0,1 1,1705.5 0a852.75,852.75 0,1 1,-1705.5 0" android:strokeWidth="70">
|
||||
<aapt:attr name="android:strokeColor">
|
||||
<gradient android:endX="1627.734" android:endY="372.266"
|
||||
android:startX="372.266" android:startY="1627.734" android:type="linear">
|
||||
<item android:color="#FF3370FA" android:offset="1.118836E-7"/>
|
||||
<item android:color="#FFF80439" android:offset="1"/>
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:fillColor="#00000000"
|
||||
android:pathData="M1454.65,1337.65c0.01,0.16 0.01,0.32 0,0.46c-0.04,31.65 2.1,100.42 -1.89,133.26c0.01,0.01 0,0.03 0,0.03c-8.86,49.71 -51.31,84.66 -107.91,85.19c-111.09,1.05 -222.21,0.29 -333.32,0.29c0,0 -109.2,0.49 -163.79,0.49c0,0 -0.01,-0.01 -0.03,0c-48.3,0 -96.62,-0.04 -144.92,-0.17c-9.79,-0.03 -19.62,-0.32 -29.4,-0.9c-8.38,-0.47 -16.75,-1.19 -25.08,-2.15c-52.64,-6.06 -89.27,-38.11 -99.79,-85.57c0,-0.01 -0.01,-0.04 -0.01,-0.07c-1.91,-8.55 -2.95,-17.61 -3.1,-27.1c-0.69,-46.45 -0.54,-92.94 -0.26,-139.41v-0.19c0.03,-5.39 0.06,-10.76 0.1,-16.15c0.23,-33.27 4.4,-36.94 38.49,-37.67c17.29,-0.37 34.66,0.27 51.89,-1.06c103.35,-8.07 167.98,-114.53 122.18,-207.76c-22.77,-46.34 -62.96,-77.72 -119.02,-79.53c-22.75,-0.73 -45.52,-0.92 -68.29,-1.05c-16.91,-0.11 -25.09,-8.34 -25.03,-25.19c0.07,-18.83 -0.11,-37.69 -0.3,-56.53v-0.4c-0.33,-31.19 -0.64,-62.37 0.14,-93.5v-0.09c0.29,-11.75 1.6,-37.93 1.73,-39.28c0,0 0,-0.01 0,-0.03c5.53,-58.56 56.56,-92.89 115.32,-88.67c60.99,1.61 121.9,2.21 182.87,2.61c22.15,0.14 29.35,-13.14 30.51,-33.49c1.79,-31.7 2.45,-63.85 8.65,-94.8c8.88,-44.29 45.26,-86.63 104.39,-86.59c62.16,0.19 113.83,33 125.91,84.63c7.16,30.66 8.96,62.86 10.3,94.5c0.92,21.84 8.4,33.33 27.12,35.81h0.01c2.79,0.39 5.82,0.56 9.13,0.53c55.07,-0.4 110.13,-0.57 165.18,0.54c8.38,0.47 16.75,1.19 25.08,2.15c52.64,6.06 89.27,38.11 99.79,85.57c1.13,7.05 2.02,14.69 2.68,22.93c0.32,46.27 0.54,93.74 0.69,141.91v0.43C1455.08,1051.96 1454.88,1198.17 1454.65,1337.65z" android:strokeWidth="55">
|
||||
<aapt:attr name="android:strokeColor">
|
||||
<gradient android:endX="1436.4504" android:endY="668.0306"
|
||||
android:startX="560.4707" android:startY="1544.0103" android:type="linear">
|
||||
<item android:color="#FF3370FA" android:offset="1.065558E-7"/>
|
||||
<item android:color="#FFF80439" android:offset="1"/>
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
</vector>
|
@ -319,24 +319,10 @@ public class McsService extends Service implements Handler.Callback {
|
||||
return START_REDELIVER_INTENT;
|
||||
}
|
||||
|
||||
@RequiresApi(api = Build.VERSION_CODES.O)
|
||||
private Notification buildForegroundNotification() {
|
||||
NotificationChannel channel = new NotificationChannel("foreground-service", "Foreground Service", NotificationManager.IMPORTANCE_MIN);
|
||||
channel.setLockscreenVisibility(Notification.VISIBILITY_SECRET);
|
||||
channel.setShowBadge(false);
|
||||
getSystemService(NotificationManager.class).createNotificationChannel(channel);
|
||||
return new Notification.Builder(this, channel.getId())
|
||||
.setOngoing(true)
|
||||
.setContentTitle("Running in background")
|
||||
.setSmallIcon(R.drawable.ic_microg)
|
||||
.build();
|
||||
}
|
||||
|
||||
private void handleSendMessage(Intent intent) {
|
||||
String messageId = intent.getStringExtra(EXTRA_MESSAGE_ID);
|
||||
String collapseKey = intent.getStringExtra(EXTRA_COLLAPSE_KEY);
|
||||
|
||||
Messenger messenger = intent.getParcelableExtra(EXTRA_MESSENGER);
|
||||
intent.removeExtra(EXTRA_MESSENGER);
|
||||
|
||||
Parcelable app = intent.getParcelableExtra(EXTRA_APP);
|
||||
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 16 KiB |