mirror of
https://github.com/DrKLO/Telegram.git
synced 2024-12-22 06:25:14 +01:00
Update to 5.13.0 (1821)
This commit is contained in:
parent
1eea3ab6f7
commit
4e55e974f8
5 changed files with 6 additions and 8 deletions
|
@ -283,7 +283,7 @@ android {
|
|||
}
|
||||
}
|
||||
|
||||
defaultConfig.versionCode = 1819
|
||||
defaultConfig.versionCode = 1821
|
||||
|
||||
applicationVariants.all { variant ->
|
||||
variant.outputs.all { output ->
|
||||
|
|
|
@ -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" />
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -330,8 +330,8 @@ public class RadialProgress2 {
|
|||
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();
|
||||
|
|
|
@ -962,7 +962,8 @@ public class LocationActivity extends BaseFragment implements NotificationCenter
|
|||
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) {
|
||||
|
@ -1008,7 +1009,6 @@ public class LocationActivity extends BaseFragment implements NotificationCenter
|
|||
adapter.setCustomLocation(userLocation);
|
||||
}
|
||||
}
|
||||
//FileLog.d("evY = " + ev.getY());
|
||||
return super.onInterceptTouchEvent(ev);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue