sdkcreationmw/sdkconnectivityfw/emuconnectmanager/epdt_java/src/com/nokia/epdt/plugins/s60/securityconf/SecConfModel.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2000 - 2006 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2000 - 2006 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of the License "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
8 * |
8 * |
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
83 if (!aIncludeHidden) { |
83 if (!aIncludeHidden) { |
84 // remove hidden domains from the list |
84 // remove hidden domains from the list |
85 domains = new ArrayList(iProtectionDomains); |
85 domains = new ArrayList(iProtectionDomains); |
86 for (int i=domains.size()-1; i>=0; i--) { |
86 for (int i=domains.size()-1; i>=0; i--) { |
87 ProtectionDomain domain = (ProtectionDomain)domains.get(i); |
87 ProtectionDomain domain = (ProtectionDomain)domains.get(i); |
|
88 |
|
89 if( i ==5 || i == 6) |
|
90 domains.remove(i); |
88 if (domain.isHidden()) domains.remove(i); |
91 if (domain.isHidden()) domains.remove(i); |
89 } |
92 } |
90 } |
93 } |
91 return (ProtectionDomain[]) domains.toArray( |
94 return (ProtectionDomain[]) domains.toArray( |
92 new ProtectionDomain[domains.size()]); |
95 new ProtectionDomain[domains.size()]); |