commit | 0537db078bf7cd57dd8887fda548049d20594ca1 | [log] [tgz] |
---|---|---|
author | Dianne Hackborn <hackbod@google.com> | Wed Aug 04 11:12:40 2010 -0700 |
committer | Alex Ray <aray@google.com> | Tue Jul 30 13:56:54 2013 -0700 |
tree | 811c280644b41abffd3ef00fd996a7a820f33623 | |
parent | 23b4a0936f1ee11e587b7be9dc3bcae5b55d31cf [diff] |
More native work. Implement save/restore of state, and add native APIs for configuration information. Change-Id: I2a3ddc2ba605db58d7c8b2b31b9215fb323f90b5
diff --git a/libs/utils/AssetManager.cpp b/libs/utils/AssetManager.cpp index 60a0d82..e09e755 100644 --- a/libs/utils/AssetManager.cpp +++ b/libs/utils/AssetManager.cpp
@@ -232,6 +232,12 @@ } } +void AssetManager::getConfiguration(ResTable_config* outConfig) const +{ + AutoMutex _l(mLock); + *outConfig = *mConfig; +} + /* * Open an asset. *