commit | 552b2fc04134ef37309982a69fdaf078f185651f | [log] [tgz] |
---|---|---|
author | Jared Duke <jdduke@google.com> | Fri Oct 15 09:21:19 2021 -0700 |
committer | Jared Duke <jdduke@google.com> | Tue Oct 26 17:32:03 2021 +0000 |
tree | a59393a7fa19b9871ac70b8203b7462bec0962af | |
parent | 135207fe276c8bd520984ae5f2f5906c1eb7cd3a [diff] |
Add final modifier to private static DEBUG constants Marking final allows the gated debug code (generally logging) to be stripped from production builds. This saves ~20KB from system server. Follow-up work will explore presubmit guards for similar DEBUG cases (including guarding against DEBUG = true). Bug: 203143243 Test: m Change-Id: Ic87a8d8bf183ac0b36c790a2f4a4661ae5e1a87f