commit | 9553fb3240f6d2e52012f94fb59271348a07b94d | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Tue May 23 18:53:44 2017 -0700 |
committer | Adam Lesinski <adamlesinski@google.com> | Wed May 24 15:39:23 2017 -0700 |
tree | 940aef6f53a0c3c5743840931dfb3d64c6f94658 | |
parent | 0418b72fd2c91f32c42e3a406df2a866888fc766 [diff] |
Add ResourceId validation helper method An invalid, 'null' resource ID is defined as 0. Apps often use -1. Add a helper method that makes checking valid IDs easy and more centralized. Eventually make it public API. Bug: 38393777 Test: manual Change-Id: I969ec4a45e86bdab3d7f57d357d475b77c7f8a78