Skip to content

Commit d10f029

Browse files
committed
update to android-15.0.0_r23
1 parent 6732d8d commit d10f029

File tree

12 files changed

+50
-11
lines changed

12 files changed

+50
-11
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pkg_check_modules(libpng REQUIRED IMPORTED_TARGET libpng)
4343

4444
option(ANDROID_BUILD_TOOLS_MUSL_LIBC "Enable workaround absence of sys/cdefs.h for musl libc" OFF)
4545

46-
set(ANDROID_VERSION "android-15.0.0_r17")
46+
set(ANDROID_VERSION "android-15.0.0_r23")
4747
configure_file(version.h.in build/version.h @ONLY)
4848
if(ANDROID_BUILD_TOOLS_MUSL_LIBC)
4949
configure_file(cdefs.h.in sys/cdefs.h @ONLY)

clone.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -x
44

5-
GIT_BRANCH="${1:-"android-15.0.0_r17"}"
5+
GIT_BRANCH="${1:-"android-15.0.0_r23"}"
66

77
cd vendor
88

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
From fb9041c7d8927f3938905e464c27d919dcaacbaa Mon Sep 17 00:00:00 2001
2+
From: Biswapriyo Nath <[email protected]>
3+
Date: Wed, 1 Jan 2025 00:00:00 +0000
4+
Subject: [PATCH] libbase: Mark methods const explicitly
5+
6+
This fixes the following compiler error.
7+
8+
properties.cpp:89:26: note: in instantiation of function template specialization
9+
'std::set<prop_info, prop_info_cmp>::find<const char *>' requested here
10+
89 | auto it = g_properties.find(key);
11+
| ^
12+
properties.cpp:64:8: note: candidate function not viable: 'this' argument has type
13+
'const prop_info_cmp', but method is not marked const
14+
64 | bool operator()(std::string_view lhs, const prop_info& rhs) { return lhs < rhs.key; }
15+
| ^
16+
---
17+
properties.cpp | 6 +++---
18+
1 file changed, 3 insertions(+), 3 deletions(-)
19+
20+
diff --git a/properties.cpp b/properties.cpp
21+
index e217c9e..9fd44a8 100644
22+
--- a/properties.cpp
23+
+++ b/properties.cpp
24+
@@ -60,9 +60,9 @@ struct prop_info {
25+
26+
struct prop_info_cmp {
27+
using is_transparent = void;
28+
- bool operator()(const prop_info& lhs, const prop_info& rhs) { return lhs.key < rhs.key; }
29+
- bool operator()(std::string_view lhs, const prop_info& rhs) { return lhs < rhs.key; }
30+
- bool operator()(const prop_info& lhs, std::string_view rhs) { return lhs.key < rhs; }
31+
+ bool operator()(const prop_info& lhs, const prop_info& rhs) const { return lhs.key < rhs.key; }
32+
+ bool operator()(std::string_view lhs, const prop_info& rhs) const { return lhs < rhs.key; }
33+
+ bool operator()(const prop_info& lhs, std::string_view rhs) const { return lhs.key < rhs; }
34+
};
35+
36+
static auto& g_properties_lock = *new std::mutex;
37+
--
38+
2.48.1
39+

vendor/aidl

Submodule aidl updated from bbd8195 to f75a604

vendor/base

Submodule base updated from d41da23 to 4a5ee7b

vendor/build

Submodule build updated from 75bb8ba to 3916a75

vendor/core

Submodule core updated from 32ecbe3 to 00c7fec

vendor/incremental_delivery

Submodule incremental_delivery updated from e2fe749 to 9190c2a

vendor/libbase

Submodule libbase updated from ebf18ae to 8f0ba41

vendor/libziparchive

Submodule libziparchive updated from a3a1707 to adcb0a6

0 commit comments

Comments
 (0)