commit | 1332b0035caf416d4d9b275e6bfead48fe0b9cac | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue Apr 07 17:11:30 2015 -0700 |
committer | Colin Cross <ccross@android.com> | Wed Apr 08 15:19:24 2015 -0700 |
tree | 588b0698a2d6288e383bf314aae5282f89bbb69c | |
parent | 8df14ac3f097ae09e536a58b9e8f7505dd2b5550 [diff] |
Move config into common and provide helper Using ctx.Config().(Config) everywhere is a mouthful, and it is inefficient to do the type assertion. Put the Config interface into the context, and provide an AConfig() to return the Config already converted to the right type. Change-Id: I301a1fd7d2a005580aabca7866a37c5d42ad8c69