Changeset 7ec2d63 in orbit for android


Ignore:
Timestamp:
12/25/13 15:11:14 (7 years ago)
Author:
Steve Castellotti <sc@…>
Branches:
master, Servo
Children:
de61e47
Parents:
8b32216
Message:
  • Toast warning message added for HTC Droid DNA and HTC One
File:
1 edited

Legend:

Unmodified
Added
Removed
  • android/src/info/puzzlebox/orbit/FragmentTabAdvanced.java

    r8b32216 r7ec2d63  
    920920                }  
    921921 
     922                // HTC Droid DNA 
     923                else if ((deviceManufacturer.contains("HTC")) && 
     924                                (deviceModel.contains("HTC6435LVW"))) { 
     925                        Log.v(TAG, "Device detected: HTC Droid DNA"); 
     926                        if (! checkBoxInvertControlSignal.isChecked()) 
     927                                checkBoxInvertControlSignal.performClick(); 
     928                        Toast.makeText(((OrbitTabActivity)getActivity()),  
     929                                        "Warning: HTC Droid DNA detected, which has known compatability issues with infrared transmitter. Contact Support for more information.", Toast.LENGTH_LONG).show(); 
     930                }  
     931                 
     932                // HTC One 
     933                else if ((deviceManufacturer.contains("HTC")) && 
     934                                (deviceModel.contains("HTC One"))) { 
     935                        Log.v(TAG, "Device detected: HTC One"); 
     936                        if (! checkBoxInvertControlSignal.isChecked()) 
     937                                checkBoxInvertControlSignal.performClick(); 
     938                        Toast.makeText(((OrbitTabActivity)getActivity()),  
     939                                        "Warning: HTC One detected, which has known compatability issues with infrared transmitter. Contact Support for more information.", Toast.LENGTH_LONG).show(); 
     940                }  
     941                 
     942                 
    922943                else { 
    923944                        Log.v(TAG, "No custom device settings found."); 
Note: See TracChangeset for help on using the changeset viewer.