]> git.saurik.com Git - android/aapt.git/commitdiff
am 816b873d: Move the automatic namespace outside of the res namespace. do not merge.
authorXavier Ducrohet <xav@android.com>
Fri, 24 Feb 2012 02:42:04 +0000 (18:42 -0800)
committerAndroid Git Automerger <android-git-automerger@android.com>
Fri, 24 Feb 2012 02:42:04 +0000 (18:42 -0800)
* commit '816b873df1ab98d0e79913cf589b7b1fbaf14e85':
  Move the automatic namespace outside of the res namespace. do not merge.

AaptAssets.cpp

index 3d6537a9013e41725bbeb4cfe2cca31a353973dc..f0c215eeffa5ce686d2059744a1ec047ba944793 100644 (file)
@@ -1019,6 +1019,11 @@ bool AaptGroupEntry::getUiModeTypeName(const char* name,
               (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE)
               | ResTable_config::UI_MODE_TYPE_TELEVISION;
         return true;
+    } else if (strcmp(name, "appliance") == 0) {
+      if (out) out->uiMode =
+              (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE)
+              | ResTable_config::UI_MODE_TYPE_APPLIANCE;
+        return true;
     }
 
     return false;