mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1013847 - Part 1-1: getEFPath() don't need to check appType for common files. r=hsinyi
This commit is contained in:
parent
ad50580355
commit
65cd974344
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user