Bug 1013847 - Part 1-1: getEFPath() don't need to check appType for common files. r=hsinyi

This commit is contained in:
Edgar Chen 2014-08-20 15:56:50 +08:00
parent ad50580355
commit 65cd974344

View File

@ -12539,17 +12539,12 @@ ICCFileHelperObject.prototype = {
* @return The pathId or null in case of an error or invalid input.
*/
getEFPath: function(fileId) {
let appType = this.context.RIL.appType;
if (appType == null) {
return null;
}
let path = this.getCommonEFPath(fileId);
if (path) {
return path;
}
switch (appType) {
switch (this.context.RIL.appType) {
case CARD_APPTYPE_SIM:
return this.getSimEFPath(fileId);
case CARD_APPTYPE_USIM: