Skip to content

Commit

Permalink
update to 9.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xaxtix committed Nov 5, 2022
1 parent e9a35ce commit 67b1fd1
Show file tree
Hide file tree
Showing 318 changed files with 47,085 additions and 16,747 deletions.
10 changes: 9 additions & 1 deletion TMessagesProj/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.gradle.nativeplatform.platform.internal.DefaultNativePlatform

apply plugin: 'com.android.library'

repositories {
Expand Down Expand Up @@ -42,6 +44,7 @@ dependencies {
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
}

def isWindows = String.valueOf(DefaultNativePlatform.currentOperatingSystem.toFamilyName() == OperatingSystemFamily.WINDOWS)
android {
compileSdkVersion 31
buildToolsVersion '31.0.0'
Expand Down Expand Up @@ -102,7 +105,8 @@ android {
ndk.debugSymbolLevel = 'FULL'
buildConfigField "String", "APP_CENTER_HASH", "\"\""
buildConfigField "boolean", "DEBUG_VERSION", "true"
buildConfigField "boolean", "DEBUG_PRIVATE_VERSION", "false"
buildConfigField "boolean", "DEBUG_PRIVATE_VERSION", "true"
buildConfigField "boolean", "BUILD_HOST_IS_WINDOWS", isWindows
}

HA_private {
Expand All @@ -115,6 +119,7 @@ android {
buildConfigField "String", "APP_CENTER_HASH", "\"" + getProps("APP_CENTER_HASH_PRIVATE") + "\""
buildConfigField "boolean", "DEBUG_VERSION", "true"
buildConfigField "boolean", "DEBUG_PRIVATE_VERSION", "true"
buildConfigField "boolean", "BUILD_HOST_IS_WINDOWS", isWindows
}

HA_public {
Expand All @@ -127,6 +132,7 @@ android {
buildConfigField "String", "APP_CENTER_HASH", "\"" + getProps("APP_CENTER_HASH_PUBLIC") + "\""
buildConfigField "boolean", "DEBUG_VERSION", "true"
buildConfigField "boolean", "DEBUG_PRIVATE_VERSION", "false"
buildConfigField "boolean", "BUILD_HOST_IS_WINDOWS", isWindows
}

standalone {
Expand All @@ -139,6 +145,7 @@ android {
buildConfigField "String", "APP_CENTER_HASH", "\"\""
buildConfigField "boolean", "DEBUG_VERSION", "false"
buildConfigField "boolean", "DEBUG_PRIVATE_VERSION", "false"
buildConfigField "boolean", "BUILD_HOST_IS_WINDOWS", isWindows
}

release {
Expand All @@ -152,6 +159,7 @@ android {
buildConfigField "String", "APP_CENTER_HASH", "\"\""
buildConfigField "boolean", "DEBUG_VERSION", "false"
buildConfigField "boolean", "DEBUG_PRIVATE_VERSION", "false"
buildConfigField "boolean", "BUILD_HOST_IS_WINDOWS", isWindows
}
}
}
Expand Down
80 changes: 80 additions & 0 deletions TMessagesProj/config/release/AndroidManifest_standalone.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,86 @@
android:requestLegacyExternalStorage="true"
tools:replace="android:supportsRtl">

<activity-alias
android:enabled="false"
android:name="org.telegram.messenger.VintageIcon"
android:targetActivity="org.telegram.ui.LaunchActivity"
android:icon="@mipmap/icon_6_launcher_sa"
android:roundIcon="@mipmap/icon_6_launcher_sa"
android:exported="true"
tools:node="replace">

<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
</intent-filter>
</activity-alias>

<activity-alias
android:enabled="false"
android:name="org.telegram.messenger.AquaIcon"
android:targetActivity="org.telegram.ui.LaunchActivity"
android:icon="@mipmap/icon_4_launcher_sa"
android:roundIcon="@mipmap/icon_4_launcher_sa"
android:exported="true"
tools:node="replace">

<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
</intent-filter>
</activity-alias>

<activity-alias
android:enabled="false"
android:name="org.telegram.messenger.PremiumIcon"
android:targetActivity="org.telegram.ui.LaunchActivity"
android:icon="@mipmap/icon_3_launcher_sa"
android:roundIcon="@mipmap/icon_3_launcher_sa"
android:exported="true"
tools:node="replace">

<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
</intent-filter>
</activity-alias>

<activity-alias
android:enabled="false"
android:name="org.telegram.messenger.TurboIcon"
android:targetActivity="org.telegram.ui.LaunchActivity"
android:icon="@mipmap/icon_5_launcher_sa"
android:roundIcon="@mipmap/icon_5_launcher_sa"
android:exported="true"
tools:node="replace">

<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
</intent-filter>
</activity-alias>

<activity-alias
android:enabled="false"
android:name="org.telegram.messenger.NoxIcon"
android:targetActivity="org.telegram.ui.LaunchActivity"
android:icon="@mipmap/icon_2_launcher_sa"
android:roundIcon="@mipmap/icon_2_launcher_sa"
android:exported="true"
tools:node="replace">

<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
</intent-filter>
</activity-alias>

<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="AIzaSyA-t0jLPjUt2FxrA8VPK2EiYHcYcboIR6k" />

<service
Expand Down
Loading

0 comments on commit 67b1fd1

Please sign in to comment.