commit | 018bb2af0c93aca81e37f0e43e8888ce0f8a46ac | [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 | 97a426285be69d4e6a9896fa4ec66d21495610ea | |
parent | bbd05d765e4bd5bc22baf74c5c087048d4b2ca8b [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