tool Memory
Per-tool memory: each drawing mode (PEN, RECTANGLE, CIRCLE, TRIANGLE, ARROW, LINE, TEXT) snapshots its own color / width / style / fill / corner / text settings. On Intent.SetMode the outgoing mode's current top-level fields are captured here, and the incoming mode's saved settings are restored to the top-level fields. Non-drawing modes (SELECT, ERASER, PAN) don't participate — they pass through settings untouched. Users get the "each pen remembers its own color" behavior Samsung Notes / OPPO Notes use.