Changeset 610


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

Yet another COVERAGE_CARRIER fix attempt

File:
1 edited

Legend:

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

    r609 r610  
    129129     */ 
    130130    protected void initializeCoverage() { 
    131         if(CoverageInfo.isCoverageSufficient(CoverageInfo.COVERAGE_CARRIER)){ 
     131        // CoverageInfo.COVERAGE_CARRIER does not exist on newer API versions, 
     132        // which would have prevented this method from compiling.  However, 
     133        // since its value and the newer constant are both 1, we will just 
     134        // use the value directly. 
     135        int COVERAGE_CARRIER = 1; 
     136        if(CoverageInfo.isCoverageSufficient(COVERAGE_CARRIER)){ 
    132137            coverageTCP=true; 
    133138            coverageWAP2=true; 
     
    136141            coverageMDS=true; 
    137142        }    
    138         if(CoverageInfo.isCoverageSufficient(CoverageInfo.COVERAGE_CARRIER, RadioInfo.WAF_WLAN, false)) { 
     143        if(CoverageInfo.isCoverageSufficient(COVERAGE_CARRIER, RadioInfo.WAF_WLAN, false)) { 
    139144            coverageWiFi = true; 
    140145        } 
Note: See TracChangeset for help on using the changeset viewer.