Skip to content

Commit

Permalink
Update to 5.13.0 (1821)
Browse files Browse the repository at this point in the history
  • Loading branch information
DrKLO committed Jan 1, 2020
1 parent 1eea3ab commit 4e55e97
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion TMessagesProj/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ android {
}
}

defaultConfig.versionCode = 1819
defaultConfig.versionCode = 1821

applicationVariants.all { variant ->
variant.outputs.all { output ->
Expand Down
2 changes: 0 additions & 2 deletions TMessagesProj/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,6 @@
android:name=".voip.CallNotificationSoundProvider"
android:exported="true"/>

<uses-library android:name="org.apache.http.legacy" android:required="false"/>

<uses-library android:name="com.sec.android.app.multiwindow" android:required="false" />
<meta-data android:name="com.sec.android.support.multiwindow" android:value="true" />
<meta-data android:name="com.sec.android.multiwindow.DEFAULT_SIZE_W" android:value="632dp" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class BuildVars {
public static boolean USE_CLOUD_STRINGS = true;
public static boolean CHECK_UPDATES = true;
public static boolean TON_WALLET_STANDALONE = false;
public static int BUILD_VERSION = 1820;
public static int BUILD_VERSION = 1821;
public static String BUILD_VERSION_STRING = "5.13.0";
public static int APP_ID = 4;
public static String APP_HASH = "014b35b6184100b085b0d0572f9b5103";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,8 @@ public void draw(Canvas canvas) {
int centerX;
int centerY;
if (drawMiniIcon && miniDrawCanvas != null) {
centerX = (int) (progressRect.width() / 2);
centerY = (int) (progressRect.height() / 2);
centerX = (int) Math.ceil(progressRect.width() / 2);
centerY = (int) Math.ceil(progressRect.height() / 2);
} else {
centerX = (int) progressRect.centerX();
centerY = (int) progressRect.centerY();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,8 @@ public boolean onTouchEvent(MotionEvent event) {
public boolean dispatchTouchEvent(MotionEvent ev) {
MotionEvent eventToRecycle = null;
if (yOffset != 0) {
ev = eventToRecycle = MotionEvent.obtain(ev.getDownTime(), ev.getEventTime(), ev.getAction(), ev.getX(), ev.getY() - yOffset / 2, ev.getMetaState());
ev = eventToRecycle = MotionEvent.obtain(ev);
eventToRecycle.offsetLocation(0, -yOffset / 2);
}
boolean result = super.dispatchTouchEvent(ev);
if (eventToRecycle != null) {
Expand Down Expand Up @@ -1008,7 +1009,6 @@ public boolean onInterceptTouchEvent(MotionEvent ev) {
adapter.setCustomLocation(userLocation);
}
}
//FileLog.d("evY = " + ev.getY());
return super.onInterceptTouchEvent(ev);
}
};
Expand Down

0 comments on commit 4e55e97

Please sign in to comment.