# Vanta patch series

`patches/<repo path>/NNNN-<Area>-<what>.patch`, applied in sort order by
`tools/patches.sh` (called from `tools/apply.sh`). Idempotent: an already-applied
patch is skipped, one that neither applies nor reverses fails the run.

Authored against the upstream revisions in `build/upstream/REVS`, mirrored
into `build/upstream/<repo path>/` (gitignored) so patches are written and
checked on Zo:

    cd build/upstream/frameworks/base && git apply --check ../../../../patches/frameworks/base/*.patch

Rules:
- Unified diff, `a/` `b/` paths relative to the repo root (frameworks/base,
  packages/apps/Settings, packages/apps/Launcher3).
- New behaviour in NEW files wherever possible (`Vanta*.kt|java`,
  `res/values/vanta_*.xml`, `res/layout/vanta_*.xml`). Edits to existing
  files are small hooks into the new code, so an upstream sync is a rebase.
- Number ranges: 0001–0099 navigation, 0100 lock screen/AOD/charging, 0200
  quick settings + shade, 0300 volume/power/status bar, Settings and Launcher3
  in their own dirs.
- Colour: the Monet accent (`android.R.color.system_accent1_*`, Vanta ships it
  cyan) on true black `#000000`; glass = near-black `#0A0D10`→`#12181D` body
  with a 1.2dp rim fading from accent to `#1B6F80`. Never a Material grey.
