-
Notifications
You must be signed in to change notification settings - Fork 0
/
vendor_hardware_overlay.patch
613 lines (545 loc) · 20.7 KB
/
vendor_hardware_overlay.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
From 7925f75dacb5f268de9b4c66d707fdd757234fff Mon Sep 17 00:00:00 2001
From: Daniel Zhang <danielzhang130@gmail.com>
Date: Fri, 16 Dec 2022 11:44:02 -0500
Subject: [PATCH 01/16] Add fairphone system ui overlay
- change volume dialog position
- remove unused oem overlays
Signed-off-by: Daniel Zhang <danielzhang130@gmail.com>
---
Fairphone/FP3-SystemUI/Android.mk | 8 ++++++++
Fairphone/FP3-SystemUI/AndroidManifest.xml | 8 ++++++++
Fairphone/FP3-SystemUI/res/values/integers.xml | 5 +++++
3 files changed, 21 insertions(+)
create mode 100644 Fairphone/FP3-SystemUI/Android.mk
create mode 100644 Fairphone/FP3-SystemUI/AndroidManifest.xml
create mode 100644 Fairphone/FP3-SystemUI/res/values/integers.xml
diff --git a/Fairphone/FP3-SystemUI/Android.mk b/Fairphone/FP3-SystemUI/Android.mk
new file mode 100644
index 0000000..94c4f75
--- /dev/null
+++ b/Fairphone/FP3-SystemUI/Android.mk
@@ -0,0 +1,8 @@
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+LOCAL_MODULE_TAGS := optional
+LOCAL_PACKAGE_NAME := treble-overlay-fairphone-fp3-systemui
+LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
+LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
+LOCAL_PRIVATE_PLATFORM_APIS := true
+include $(BUILD_PACKAGE)
diff --git a/Fairphone/FP3-SystemUI/AndroidManifest.xml b/Fairphone/FP3-SystemUI/AndroidManifest.xml
new file mode 100644
index 0000000..59a9e93
--- /dev/null
+++ b/Fairphone/FP3-SystemUI/AndroidManifest.xml
@@ -0,0 +1,8 @@
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="me.phh.treble.overlay.fairphone.fp3.systemui"
+ android:versionCode="1"
+ android:versionName="1.0">
+ <overlay android:targetPackage="com.android.systemui"
+ android:priority="720"
+ android:isStatic="true"/>
+</manifest>
diff --git a/Fairphone/FP3-SystemUI/res/values/integers.xml b/Fairphone/FP3-SystemUI/res/values/integers.xml
new file mode 100644
index 0000000..87ee5ac
--- /dev/null
+++ b/Fairphone/FP3-SystemUI/res/values/integers.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <!-- LEFT|CENTER_VERTICAL -->
+ <integer name="volume_dialog_gravity">19</integer>
+</resources>
--
2.34.1
From 932488098e6835300b80ab90130c5035be2c2924 Mon Sep 17 00:00:00 2001
From: Daniel Zhang <danielzhang130@gmail.com>
Date: Mon, 26 Dec 2022 23:38:31 -0500
Subject: [PATCH 02/16] Add target filters to FP3 overlays
Signed-off-by: Daniel Zhang <danielzhang130@gmail.com>
---
Fairphone/FP3-SystemUI/AndroidManifest.xml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Fairphone/FP3-SystemUI/AndroidManifest.xml b/Fairphone/FP3-SystemUI/AndroidManifest.xml
index 59a9e93..5710557 100644
--- a/Fairphone/FP3-SystemUI/AndroidManifest.xml
+++ b/Fairphone/FP3-SystemUI/AndroidManifest.xml
@@ -3,6 +3,8 @@
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="com.android.systemui"
- android:priority="720"
- android:isStatic="true"/>
+ android:requiredSystemPropertyName="ro.vendor.build.fingerprint"
+ android:requiredSystemPropertyValue="+Fairphone/FP3*"
+ android:priority="720"
+ android:isStatic="true"/>
</manifest>
--
2.34.1
From 2d4145c7d9eb67bc2cec13eb85c6cfb51b08fb71 Mon Sep 17 00:00:00 2001
From: Daniel Zhang <danielzhang130@gmail.com>
Date: Tue, 27 Dec 2022 15:19:25 -0500
Subject: [PATCH 03/16] Enable fingerprint on FP3
Signed-off-by: Daniel Zhang <danielzhang130@gmail.com>
---
Fairphone/FP3/res/values/config.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Fairphone/FP3/res/values/config.xml b/Fairphone/FP3/res/values/config.xml
index 84d0585..2b642de 100644
--- a/Fairphone/FP3/res/values/config.xml
+++ b/Fairphone/FP3/res/values/config.xml
@@ -475,4 +475,8 @@
* The device must be provisioned with HDCP keys (for protected content). -->
<!-- <bool name="config_enableWifiDisplay">true</bool>
-->
+
+ <string-array name="config_biometric_sensors" translatable="false" >
+ <item>0:2:15</item> <!-- ID0:Fingerprint:Strong -->
+ </string-array>
</resources>
--
2.34.1
From 8022543f1edd0dcde22a97ad5fdfda72dd486ea2 Mon Sep 17 00:00:00 2001
From: Daniel Zhang <danielzhang130@gmail.com>
Date: Wed, 28 Dec 2022 18:00:16 -0500
Subject: [PATCH 04/16] Add theme picker to settings with overlays
Signed-off-by: Daniel Zhang <danielzhang130@gmail.com>
---
Settings/Android.mk | 8 ++++++++
Settings/AndroidManifest.xml | 8 ++++++++
Settings/res/values/config.xml | 6 ++++++
3 files changed, 22 insertions(+)
create mode 100644 Settings/Android.mk
create mode 100644 Settings/AndroidManifest.xml
create mode 100644 Settings/res/values/config.xml
diff --git a/Settings/Android.mk b/Settings/Android.mk
new file mode 100644
index 0000000..a77ee3c
--- /dev/null
+++ b/Settings/Android.mk
@@ -0,0 +1,8 @@
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+LOCAL_MODULE_TAGS := optional
+LOCAL_PACKAGE_NAME := treble-overlay-settings
+LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
+LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
+LOCAL_PRIVATE_PLATFORM_APIS := true
+include $(BUILD_PACKAGE)
diff --git a/Settings/AndroidManifest.xml b/Settings/AndroidManifest.xml
new file mode 100644
index 0000000..632ef28
--- /dev/null
+++ b/Settings/AndroidManifest.xml
@@ -0,0 +1,8 @@
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="me.phh.treble.overlay.settings"
+ android:versionCode="1"
+ android:versionName="1.0">
+ <overlay android:targetPackage="com.android.settings"
+ android:priority="720"
+ android:isStatic="true"/>
+</manifest>
diff --git a/Settings/res/values/config.xml b/Settings/res/values/config.xml
new file mode 100644
index 0000000..b0e3472
--- /dev/null
+++ b/Settings/res/values/config.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <string name="config_wallpaper_picker_package" translatable="false">com.android.wallpaper</string>
+ <string name="config_wallpaper_picker_class" translatable="false"></string>
+ <string name="config_styles_and_wallpaper_picker_class" translatable="false">com.android.wallpaper.picker.PassThroughCustomizationPickerActivity</string>
+</resources>
--
2.34.1
From fa3af10ea74772dae0b6038101ec11ac574f7362 Mon Sep 17 00:00:00 2001
From: Daniel Zhang <danielzhang130@gmail.com>
Date: Wed, 28 Dec 2022 21:01:04 -0500
Subject: [PATCH 05/16] Increase number of quick tiles in notification shade
Signed-off-by: Daniel Zhang <danielzhang130@gmail.com>
---
Fairphone/FP3-SystemUI/res/values-land/integers.xml | 4 ++++
Fairphone/FP3-SystemUI/res/values/integers.xml | 2 ++
2 files changed, 6 insertions(+)
create mode 100644 Fairphone/FP3-SystemUI/res/values-land/integers.xml
diff --git a/Fairphone/FP3-SystemUI/res/values-land/integers.xml b/Fairphone/FP3-SystemUI/res/values-land/integers.xml
new file mode 100644
index 0000000..dfd1f8f
--- /dev/null
+++ b/Fairphone/FP3-SystemUI/res/values-land/integers.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <integer name="quick_settings_num_columns">6</integer>
+</resources>
diff --git a/Fairphone/FP3-SystemUI/res/values/integers.xml b/Fairphone/FP3-SystemUI/res/values/integers.xml
index 87ee5ac..25aa6f5 100644
--- a/Fairphone/FP3-SystemUI/res/values/integers.xml
+++ b/Fairphone/FP3-SystemUI/res/values/integers.xml
@@ -2,4 +2,6 @@
<resources>
<!-- LEFT|CENTER_VERTICAL -->
<integer name="volume_dialog_gravity">19</integer>
+ <integer name="quick_qs_panel_max_tiles">6</integer>
+ <integer name="quick_qs_panel_max_rows">3</integer>
</resources>
--
2.34.1
From c8d5816f59ae453c911355974c1bd936701b32f3 Mon Sep 17 00:00:00 2001
From: Daniel Zhang <danielzhang130@gmail.com>
Date: Sat, 7 Jan 2023 11:05:21 -0500
Subject: [PATCH 06/16] FP3 does not support swipe on fingerprint sensor
Signed-off-by: Daniel Zhang <danielzhang130@gmail.com>
---
Fairphone/FP3/res/values/config.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Fairphone/FP3/res/values/config.xml b/Fairphone/FP3/res/values/config.xml
index 2b642de..210c66b 100644
--- a/Fairphone/FP3/res/values/config.xml
+++ b/Fairphone/FP3/res/values/config.xml
@@ -44,7 +44,8 @@
<bool name="config_showNavigationBar">true</bool>
<!-- Enable system navigation keys. -->
- <bool name="config_supportSystemNavigationKeys">true</bool>
+ <!-- FP3 does not implement swipe on fingerprint sensor -->
+ <bool name="config_supportSystemNavigationKeys">false</bool>
<!-- When true use the linux /dev/input/event subsystem to detect the switch changes
on the headphone/microphone jack. When false use the older uevent framework. -->
--
2.34.1
From a9a6dbb2395a15671795a71068869a1ba4391654 Mon Sep 17 00:00:00 2001
From: Daniel Zhang <danielzhang130@gmail.com>
Date: Fri, 13 Jan 2023 22:39:15 -0500
Subject: [PATCH 07/16] Add open qr code scanner as default qr quick tile
Signed-off-by: Daniel Zhang <danielzhang130@gmail.com>
---
Fairphone/FP3/res/values/config.xml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Fairphone/FP3/res/values/config.xml b/Fairphone/FP3/res/values/config.xml
index 210c66b..fc91b97 100644
--- a/Fairphone/FP3/res/values/config.xml
+++ b/Fairphone/FP3/res/values/config.xml
@@ -480,4 +480,6 @@
<string-array name="config_biometric_sensors" translatable="false" >
<item>0:2:15</item> <!-- ID0:Fingerprint:Strong -->
</string-array>
+
+ <string name="config_defaultQrCodeComponent">com.mauriciogior.openqrcode/.MainActivity</string>
</resources>
--
2.34.1
From 2be9cb4ba1321236f1e2a7c949fe986acaa0e183 Mon Sep 17 00:00:00 2001
From: Daniel Zhang <danielzhang130@gmail.com>
Date: Sun, 15 Jan 2023 12:50:21 -0500
Subject: [PATCH 08/16] Add one more row to quick toggles expanded
Signed-off-by: Daniel Zhang <danielzhang130@gmail.com>
---
Fairphone/FP3-SystemUI/res/values-land/integers.xml | 1 +
Fairphone/FP3-SystemUI/res/values/integers.xml | 1 +
2 files changed, 2 insertions(+)
diff --git a/Fairphone/FP3-SystemUI/res/values-land/integers.xml b/Fairphone/FP3-SystemUI/res/values-land/integers.xml
index dfd1f8f..34424ba 100644
--- a/Fairphone/FP3-SystemUI/res/values-land/integers.xml
+++ b/Fairphone/FP3-SystemUI/res/values-land/integers.xml
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer name="quick_settings_num_columns">6</integer>
+ <integer name="quick_settings_max_rows">2</integer>
</resources>
diff --git a/Fairphone/FP3-SystemUI/res/values/integers.xml b/Fairphone/FP3-SystemUI/res/values/integers.xml
index 25aa6f5..fda12c2 100644
--- a/Fairphone/FP3-SystemUI/res/values/integers.xml
+++ b/Fairphone/FP3-SystemUI/res/values/integers.xml
@@ -4,4 +4,5 @@
<integer name="volume_dialog_gravity">19</integer>
<integer name="quick_qs_panel_max_tiles">6</integer>
<integer name="quick_qs_panel_max_rows">3</integer>
+ <integer name="quick_settings_max_rows">5</integer>
</resources>
--
2.34.1
From 87a7210368de47b184db7d725b93303c098aae27 Mon Sep 17 00:00:00 2001
From: Daniel Zhang <danielzhang130@gmail.com>
Date: Sat, 21 Jan 2023 17:04:59 -0500
Subject: [PATCH 09/16] Enable qr code scanner on lock screen
Signed-off-by: Daniel Zhang <danielzhang130@gmail.com>
---
Fairphone/FP3/res/values/config.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Fairphone/FP3/res/values/config.xml b/Fairphone/FP3/res/values/config.xml
index fc91b97..132dcb6 100644
--- a/Fairphone/FP3/res/values/config.xml
+++ b/Fairphone/FP3/res/values/config.xml
@@ -482,4 +482,5 @@
</string-array>
<string name="config_defaultQrCodeComponent">com.mauriciogior.openqrcode/.MainActivity</string>
+ <bool name="config_enableQrCodeScannerOnLockScreen">true</bool>
</resources>
--
2.34.1
From 83c9f5649c6ec28541a6d4fac7d6ed5d51eb15cc Mon Sep 17 00:00:00 2001
From: Daniel Zhang <danielzhang130@gmail.com>
Date: Sat, 21 Jan 2023 17:06:46 -0500
Subject: [PATCH 10/16] Increase landscape volume dialog height and seekbar
length
Signed-off-by: Daniel Zhang <danielzhang130@gmail.com>
---
Fairphone/FP3-SystemUI/res/values-land/dimens.xml | 4 ++++
Fairphone/FP3-SystemUI/res/values/dimens.xml | 4 ++++
2 files changed, 8 insertions(+)
create mode 100644 Fairphone/FP3-SystemUI/res/values-land/dimens.xml
create mode 100644 Fairphone/FP3-SystemUI/res/values/dimens.xml
diff --git a/Fairphone/FP3-SystemUI/res/values-land/dimens.xml b/Fairphone/FP3-SystemUI/res/values-land/dimens.xml
new file mode 100644
index 0000000..d725e87
--- /dev/null
+++ b/Fairphone/FP3-SystemUI/res/values-land/dimens.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <dimen name="volume_row_slider_height">184dp</dimen>
+</resources>
diff --git a/Fairphone/FP3-SystemUI/res/values/dimens.xml b/Fairphone/FP3-SystemUI/res/values/dimens.xml
new file mode 100644
index 0000000..c65b61d
--- /dev/null
+++ b/Fairphone/FP3-SystemUI/res/values/dimens.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <dimen name="rounded_slider_track_inset">0dp</dimen>
+</resources>
--
2.34.1
From e8a52e0f6c5818022e1c60262b97e650171007bb Mon Sep 17 00:00:00 2001
From: Daniel Zhang <danielzhang130@gmail.com>
Date: Thu, 9 Feb 2023 22:49:09 -0500
Subject: [PATCH 11/16] Add gitignore for generated cl.txt
Signed-off-by: Daniel Zhang <danielzhang130@gmail.com>
---
Settings/.gitignore | 2 ++
1 file changed, 2 insertions(+)
create mode 100644 Settings/.gitignore
diff --git a/Settings/.gitignore b/Settings/.gitignore
new file mode 100644
index 0000000..6c03d13
--- /dev/null
+++ b/Settings/.gitignore
@@ -0,0 +1,2 @@
+res/raw/cl.txt
+
--
2.34.1
From 28fa2c80a8a49b7c7b01004bfcafaf776f407611 Mon Sep 17 00:00:00 2001
From: Daniel Zhang <danielzhang130@gmail.com>
Date: Mon, 1 May 2023 13:18:24 -0400
Subject: [PATCH 12/16] Replace google captive portal url with v2ex
Signed-off-by: Daniel Zhang <danielzhang130@gmail.com>
---
NetworkStack/Android.mk | 8 ++++++++
NetworkStack/AndroidManifest.xml | 9 +++++++++
NetworkStack/res/values/config.xml | 5 +++++
3 files changed, 22 insertions(+)
create mode 100644 NetworkStack/Android.mk
create mode 100644 NetworkStack/AndroidManifest.xml
create mode 100644 NetworkStack/res/values/config.xml
diff --git a/NetworkStack/Android.mk b/NetworkStack/Android.mk
new file mode 100644
index 0000000..98dd3a4
--- /dev/null
+++ b/NetworkStack/Android.mk
@@ -0,0 +1,8 @@
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+LOCAL_MODULE_TAGS := optional
+LOCAL_PACKAGE_NAME := treble-overlay-networkstack
+LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
+LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
+LOCAL_PRIVATE_PLATFORM_APIS := true
+include $(BUILD_PACKAGE)
diff --git a/NetworkStack/AndroidManifest.xml b/NetworkStack/AndroidManifest.xml
new file mode 100644
index 0000000..5636ee3
--- /dev/null
+++ b/NetworkStack/AndroidManifest.xml
@@ -0,0 +1,9 @@
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="me.phh.treble.overlay.networkstack"
+ android:versionCode="1"
+ android:versionName="1.0">
+ <overlay android:targetPackage="com.android.networkstack"
+ android:targetName="NetworkStackConfig"
+ android:priority="720"
+ android:isStatic="true"/>
+</manifest>
diff --git a/NetworkStack/res/values/config.xml b/NetworkStack/res/values/config.xml
new file mode 100644
index 0000000..4a61b09
--- /dev/null
+++ b/NetworkStack/res/values/config.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <string name="config_captive_portal_http_url">http://captive.v2ex.co/generate_204</string>
+ <string name="config_captive_portal_https_url">https://captive.v2ex.co/generate_204</string>
+</resources>
--
2.34.1
From 3780a08098f6a4dfa184eb221955a836c5bbaaef Mon Sep 17 00:00:00 2001
From: Daniel Zhang <danielzhang130@gmail.com>
Date: Fri, 11 Aug 2023 14:36:26 -0400
Subject: [PATCH 13/16] Update one handed mode size
Signed-off-by: Daniel Zhang <danielzhang130@gmail.com>
---
Fairphone/FP3-SystemUI/res/values/config.xml | 4 ++++
1 file changed, 4 insertions(+)
create mode 100644 Fairphone/FP3-SystemUI/res/values/config.xml
diff --git a/Fairphone/FP3-SystemUI/res/values/config.xml b/Fairphone/FP3-SystemUI/res/values/config.xml
new file mode 100644
index 0000000..2b22266
--- /dev/null
+++ b/Fairphone/FP3-SystemUI/res/values/config.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <fraction name="config_one_handed_offset">50%</fraction>
+</resources>
--
2.34.1
From 34150271c557c2433b7ec8f1da762ba42183b231 Mon Sep 17 00:00:00 2001
From: Daniel Zhang <danielzhang130@gmail.com>
Date: Fri, 1 Dec 2023 22:19:04 -0500
Subject: [PATCH 14/16] Enable customizable lock screen shortcuts
Signed-off-by: Daniel Zhang <danielzhang130@gmail.com>
---
Fairphone/FP3-SystemUI/res/values/config.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Fairphone/FP3-SystemUI/res/values/config.xml b/Fairphone/FP3-SystemUI/res/values/config.xml
index 2b22266..0a03a41 100644
--- a/Fairphone/FP3-SystemUI/res/values/config.xml
+++ b/Fairphone/FP3-SystemUI/res/values/config.xml
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<fraction name="config_one_handed_offset">50%</fraction>
+ <bool name="custom_lockscreen_shortcuts_enabled">true</bool>
</resources>
--
2.34.1
From e9cefb893b34dcebe00f4a0c4d73780fc5dae20d Mon Sep 17 00:00:00 2001
From: Daniel Zhang <danielzhang130@gmail.com>
Date: Mon, 12 Feb 2024 16:09:56 -0500
Subject: [PATCH 15/16] Add dialer overlay
increase swipe distance to accept call
Signed-off-by: Daniel Zhang <danielzhang130@gmail.com>
---
Dialer/Android.mk | 8 ++++++++
Dialer/AndroidManifest.xml | 8 ++++++++
Dialer/res/values/config.xml | 4 ++++
3 files changed, 20 insertions(+)
create mode 100644 Dialer/Android.mk
create mode 100644 Dialer/AndroidManifest.xml
create mode 100644 Dialer/res/values/config.xml
diff --git a/Dialer/Android.mk b/Dialer/Android.mk
new file mode 100644
index 0000000..2d06c72
--- /dev/null
+++ b/Dialer/Android.mk
@@ -0,0 +1,8 @@
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+LOCAL_MODULE_TAGS := optional
+LOCAL_PACKAGE_NAME := treble-overlay-dialer
+LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
+LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
+LOCAL_PRIVATE_PLATFORM_APIS := true
+include $(BUILD_PACKAGE)
diff --git a/Dialer/AndroidManifest.xml b/Dialer/AndroidManifest.xml
new file mode 100644
index 0000000..43598c3
--- /dev/null
+++ b/Dialer/AndroidManifest.xml
@@ -0,0 +1,8 @@
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="me.phh.treble.overlay.dialer"
+ android:versionCode="1"
+ android:versionName="1.0">
+ <overlay android:targetPackage="com.google.android.dialer"
+ android:priority="173"
+ android:isStatic="true" />
+</manifest>
diff --git a/Dialer/res/values/config.xml b/Dialer/res/values/config.xml
new file mode 100644
index 0000000..c0023e4
--- /dev/null
+++ b/Dialer/res/values/config.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <dimen name="accept_threshold">350.0dip</dimen>
+</resources>
--
2.34.1
From 8418ec1a4d271e5fa059b0e9b185e1c66477dd72 Mon Sep 17 00:00:00 2001
From: Daniel Zhang <danielzhang130@gmail.com>
Date: Fri, 23 Feb 2024 21:39:44 -0500
Subject: [PATCH 16/16] simplify hardware overlay mk
---
my_overlay.mk | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
create mode 100644 my_overlay.mk
diff --git a/my_overlay.mk b/my_overlay.mk
new file mode 100644
index 0000000..0c88c6a
--- /dev/null
+++ b/my_overlay.mk
@@ -0,0 +1,41 @@
+PRODUCT_PACKAGES += \
+ HardwareOverlayPicker \
+ QtiAudio \
+ MyTrebleApp \
+ treble-overlay-settings \
+ treble-overlay-NavBar \
+ treble-overlay-NightMode \
+ treble-overlay-SystemUI-FalseLocks \
+ treble-overlay-Telephony-LTE \
+ treble-overlay-alldocube-xneo \
+ treble-overlay-bq-jeice \
+ treble-overlay-caf-ims \
+ treble-overlay-devinputjack \
+ treble-overlay-fairphone-fp3 \
+ treble-overlay-fairphone-fp3-systemui \
+ FP3Wallpapers \
+ treble-overlay-dialer \
+ treble-overlay-networkstack \
+ treble-overlay-highpriomisc \
+ treble-overlay-hw-ims \
+ treble-overlay-misc-aod \
+ treble-overlay-misc-aod-systemui \
+ treble-overlay-misc-dt2w \
+ treble-overlay-misc-minimal-brightness \
+ treble-overlay-misc-spen-pointer \
+ treble-overlay-misc-transparent-pointer \
+ treble-overlay-mtk-ims \
+ treble-overlay-onn-mid7019 \
+ treble-overlay-sec-ims \
+ treble-overlay-sprd-ims \
+ treble-overlay-telephony-caf-ims \
+ treble-overlay-telephony-floss-ims \
+ treble-overlay-telephony-hw-ims \
+ treble-overlay-telephony-mtk-ims \
+ treble-overlay-telephony-slsi-ims \
+ treble-overlay-telephony-sprd-ims \
+ treble-overlay-tethering \
+ treble-overlay-tethering-nobpf \
+ treble-overlay-wifi \
+ treble-overlay-wifi5g \
+
--
2.34.1