Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01c8740c authored by Wasi Ahmed's avatar Wasi Ahmed Committed by Anubha Kushwaha
Browse files

Add array resource for watchface permission list

We are creating a new role for watchfaces - allowing specific
permissions to them when they're active.

With the deprecation of public AndroidX library for watchfaces,
wear platform-level blocking of 3P watchfaces in Wear OS 5+
(Android U+), and the introduction of codeless Watch Face Format
for 3P, only a few trusted watchfaces built with code can be run
on watches. We'd like to allow these watchfaces do more privileged
things - only when they are active.

A flag is added as well.

More info: https://support.google.com/wearos/thread/284572445

This array will contain non-AOSP permissions (Wear specific) and
overlayable by OEMs.

Bug: 396429548
Bug: 399345350
Test: m -j64
Flag: android.permission.flags.watch_face_role_enabled
Change-Id: I01acceaca6114983a12bcb00eb3893e77013c7ce
FIXED_READ_ONLY_FLAG_REASON: Not needed for server side config
parent 6368174d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment