commit | c3ef3ae5521b2bd5bac2a3da6666ac324d5ce930 | [log] [tgz] |
---|---|---|
author | Dianne Hackborn <hackbod@google.com> | Wed Aug 04 11:12:40 2010 -0700 |
committer | Dianne Hackborn <hackbod@google.com> | Wed Aug 11 00:29:59 2010 -0700 |
tree | 54124be793d2663e0443526c7f6fe1e32f4d6123 | |
parent | 5736292a1af45442f5087565b5262ffaff84c231 [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. *