Target android min sdk version 24 (the lowest that libuv claims to support), and specify the target SDK version as 34.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4570 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2023-10-22 17:51:16 +00:00
parent 17c0266998
commit baf69355a5
3 changed files with 8 additions and 5 deletions

View File

@ -3,14 +3,15 @@
package="com.unprompted.tildefriends"
android:versionCode="12"
android:versionName="0.0.12-wip">
<uses-sdk android:minSdkVersion="26"/>
<uses-sdk android:minSdkVersion="24" android:targetSdkVersion="34"/>
<uses-permission android:name="android.permission.INTERNET"/>
<application android:label="Tilde Friends" android:usesCleartextTraffic="true" android:debuggable="true">
<meta-data android:name="android.max_aspect" android:value="2.1"/>
<activity
android:name=".MainActivity"
android:icon="@drawable/icon"
android:configChanges="orientation|screenSize">
android:configChanges="orientation|screenSize"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>

View File

@ -213,7 +213,7 @@ static tf_trace_thread_t* _tf_trace_get_thread(tf_trace_t* trace, pthread_t self
{
.id = self,
};
#if defined(__linux__)
#if defined(__linux__) && !defined(__ANDROID__)
pthread_getname_np(self, found->name, sizeof(found->name));
#endif
trace->threads = tf_resize_vec(trace->threads, sizeof(tf_trace_thread_t*) * (trace->threads_count + 1));