Changeset 609


Ignore:
Timestamp:
01/15/10 22:37:04 (2 years ago)
Author:
octorian
Message:

Fix for compilation issues against 4.5+ API versions

Location:
trunk
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LogicMail/src/org/logicprobe/LogicMail/util/ConnectionBB42.java

    r608 r609  
    5050    private ServiceRecord srMDS, srWAP2, srWiFi; 
    5151    /** Flags indicating the coverage status of each transport */ 
    52     private boolean coverageTCP=false, coverageMDS=false, coverageWAP2=false, coverageWiFi=false; 
     52    protected boolean coverageTCP=false, coverageMDS=false, coverageWAP2=false, coverageWiFi=false; 
    5353 
    5454    private int transportSelection = TRANSPORT_AUTO; 
     
    119119                } 
    120120            }    
    121         }        
     121        } 
     122         
     123        initializeCoverage(); 
     124    } 
     125 
     126    /** 
     127     * Coverage check APIs change on different OS versions, so this method 
     128     * exists to allow subclasses to override as necessary. 
     129     */ 
     130    protected void initializeCoverage() { 
    122131        if(CoverageInfo.isCoverageSufficient(CoverageInfo.COVERAGE_CARRIER)){ 
    123132            coverageTCP=true; 
     
    130139            coverageWiFi = true; 
    131140        } 
    132     }    
    133  
     141    } 
     142     
    134143    private StreamConnection attemptWiFi(String urlBase) { 
    135144        String connectStr = urlBase + ";interface=wifi"; 
  • trunk/LogicMail/src/org/logicprobe/LogicMail/util/UtilFactory.java

    r608 r609  
    4949        "org.logicprobe.LogicMail.util.UtilFactoryBB50", 
    5050        "org.logicprobe.LogicMail.util.UtilFactoryBB47", 
     51        "org.logicprobe.LogicMail.util.UtilFactoryBB46", 
    5152        "org.logicprobe.LogicMail.util.UtilFactoryBB42" 
    5253    }; 
Note: See TracChangeset for help on using the changeset viewer.