]> git.saurik.com Git - android/aapt.git/commit - AaptAssets.cpp
Make AaptGroupEntry::getMncName accept mnc00
authorJohan Redestig <johan.redestig@sonyericsson.com>
Tue, 9 Nov 2010 13:13:31 +0000 (14:13 +0100)
committerJohan Redestig <johan.redestig@sonyericsson.com>
Tue, 4 Jan 2011 06:30:32 +0000 (07:30 +0100)
commita4424abe14d908b8e08ffbabc508cc31448923bc
tree57bf065fe80949a831082f8c72dbf1268ce5ba01
parent034f2c9aac98c8c5d40667f1bf047211ed8f09f0
Make AaptGroupEntry::getMncName accept mnc00

MNC 00 is a valid network code and is used by
some operators, see http://en.wikipedia.org/wiki/Mobile_Network_Code.

Remove the test that checks if atoi returns zero.
The string is validated to contain only numbers
already.

Also discussed here:
https://code.google.com/p/android/issues/detail?id=3657

Change-Id: I3220d7980abe4067c9e7aa4cbc10b5fd0b8c9ea7
AaptAssets.cpp