Page MenuHomePhorge

Added support for rounded corners on send message box
Needs ReviewPublic

Authored by nannanko on Sat, Sep 26, 1:03 PM.
Tags
None
Referenced Files
F85794406: D364.1790598078.diff
Sun, Sep 27, 5:21 AM
F85793595: IMG20260927032836.jpg
Sat, Sep 26, 1:42 PM
F85793596: IMG20260927032913.jpg
Sat, Sep 26, 1:42 PM
F85793600: IMG_20260719_100822.jpg
Sat, Sep 26, 1:42 PM
Subscribers
None

Details

Reviewers
tusooa
Group Reviewers
O1: the Kazv Project
Summary

Most modern Android devices feature physical rounded corners, which causes the Kazv UI to be clipped on these devices. This diff uses getRoundedCorner (introduced in Android SDK 31) to retrieve device corner information and applies appropriate margins to the SendMessageBox.

Type: add

Test Plan

Package the apk for android, verify the send message box is not clipped by rounded corners.

Diff Detail

Repository
rK kazv
Branch
servant
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 722
Build 1426: Invoke BuildbotBuildbot build #2713
Build 1425: arc lint + arc unit

Event Timeline

Please add a changelog type to the summary, using the following format:

Type: (add|remove|skip|security|fix)

nannanko removed a reviewer: servant.
src/kazv-util.cpp
124

Can we cache the result so that the operation gets executed only once? Thread switching is pretty expensive.