]> git.saurik.com Git - android/aapt.git/commitdiff
resolved conflicts for merge of bbca8133 to master
authorDianne Hackborn <hackbod@google.com>
Tue, 24 May 2011 18:27:11 +0000 (11:27 -0700)
committerDianne Hackborn <hackbod@google.com>
Tue, 24 May 2011 18:27:11 +0000 (11:27 -0700)
Change-Id: I81493674dceab848e41d380a77a37e5a9be06db6

AaptAssets.cpp

index 75535f8bfee6969554aa694908db1edbdcc255eb..48941961ccb9bca973e99c9c7232a55de73308d4 100644 (file)
@@ -913,6 +913,11 @@ bool AaptGroupEntry::getUiModeTypeName(const char* name,
               (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE)
               | ResTable_config::UI_MODE_TYPE_CAR;
         return true;
+    } else if (strcmp(name, "television") == 0) {
+      if (out) out->uiMode =
+              (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE)
+              | ResTable_config::UI_MODE_TYPE_TELEVISION;
+        return true;
     }
 
     return false;