Skip to content

Commit 4e55e97

Browse files
committed
Update to 5.13.0 (1821)
1 parent 1eea3ab commit 4e55e97

File tree

5 files changed

+6
-8
lines changed

5 files changed

+6
-8
lines changed

TMessagesProj/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ android {
283283
}
284284
}
285285

286-
defaultConfig.versionCode = 1819
286+
defaultConfig.versionCode = 1821
287287

288288
applicationVariants.all { variant ->
289289
variant.outputs.all { output ->

TMessagesProj/src/main/AndroidManifest.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,6 @@
385385
android:name=".voip.CallNotificationSoundProvider"
386386
android:exported="true"/>
387387

388-
<uses-library android:name="org.apache.http.legacy" android:required="false"/>
389-
390388
<uses-library android:name="com.sec.android.app.multiwindow" android:required="false" />
391389
<meta-data android:name="com.sec.android.support.multiwindow" android:value="true" />
392390
<meta-data android:name="com.sec.android.multiwindow.DEFAULT_SIZE_W" android:value="632dp" />

TMessagesProj/src/main/java/org/telegram/messenger/BuildVars.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public class BuildVars {
1919
public static boolean USE_CLOUD_STRINGS = true;
2020
public static boolean CHECK_UPDATES = true;
2121
public static boolean TON_WALLET_STANDALONE = false;
22-
public static int BUILD_VERSION = 1820;
22+
public static int BUILD_VERSION = 1821;
2323
public static String BUILD_VERSION_STRING = "5.13.0";
2424
public static int APP_ID = 4;
2525
public static String APP_HASH = "014b35b6184100b085b0d0572f9b5103";

TMessagesProj/src/main/java/org/telegram/ui/Components/RadialProgress2.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,8 +330,8 @@ public void draw(Canvas canvas) {
330330
int centerX;
331331
int centerY;
332332
if (drawMiniIcon && miniDrawCanvas != null) {
333-
centerX = (int) (progressRect.width() / 2);
334-
centerY = (int) (progressRect.height() / 2);
333+
centerX = (int) Math.ceil(progressRect.width() / 2);
334+
centerY = (int) Math.ceil(progressRect.height() / 2);
335335
} else {
336336
centerX = (int) progressRect.centerX();
337337
centerY = (int) progressRect.centerY();

TMessagesProj/src/main/java/org/telegram/ui/LocationActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,8 @@ public boolean onTouchEvent(MotionEvent event) {
962962
public boolean dispatchTouchEvent(MotionEvent ev) {
963963
MotionEvent eventToRecycle = null;
964964
if (yOffset != 0) {
965-
ev = eventToRecycle = MotionEvent.obtain(ev.getDownTime(), ev.getEventTime(), ev.getAction(), ev.getX(), ev.getY() - yOffset / 2, ev.getMetaState());
965+
ev = eventToRecycle = MotionEvent.obtain(ev);
966+
eventToRecycle.offsetLocation(0, -yOffset / 2);
966967
}
967968
boolean result = super.dispatchTouchEvent(ev);
968969
if (eventToRecycle != null) {
@@ -1008,7 +1009,6 @@ public boolean onInterceptTouchEvent(MotionEvent ev) {
10081009
adapter.setCustomLocation(userLocation);
10091010
}
10101011
}
1011-
//FileLog.d("evY = " + ev.getY());
10121012
return super.onInterceptTouchEvent(ev);
10131013
}
10141014
};

0 commit comments

Comments
 (0)