View Single Post
Old February 10th, 2012, 02:39 AM   #15 (permalink)
ROM Developer
Thread Author (OP)
varun.chitre15's Avatar
Join Date: Oct 2011
Location: Sangli
Posts: 1,682
Device(s): Micromax A70
Carrier: Not Provided

Thanks: 282
Thanked 646 Times in 297 Posts
Send a message via Yahoo to varun.chitre15

Open this xml 'handheld_core_hardware.xml' using notepad++ or wordpad. It is located in system/etc/permissions
In this let me point out some lines
    <feature name="" />
    <feature name="android.hardware.location" />
    <feature name="" />
    <feature name="android.hardware.sensor.compass" />
    <feature name="android.hardware.sensor.accelerometer" />
    <feature name="android.hardware.bluetooth" />
    <feature name="android.hardware.touchscreen" />
    <feature name="android.hardware.microphone" />
    <!-- devices with GPS must include android.hardware.location.gps.xml -->
    <!-- devices with an autofocus camera and/or flash must include either or  -->
    <!-- devices with WiFi must also include android.hardware.wifi.xml -->
    <!-- devices with limited/gestural multitouch must also include
         android.hardware.touchscreen.multitouch.xml -->
    <!-- devices with full multitouch must also include
         android.hardware.touchscreen.multitouch.distinct.xml -->
    <!-- devices with an ambient light sensor must also include
         android.hardware.sensor.light.xml -->
    <!-- devices with a proximity sensor must also include
         android.hardware.sensor.proximity.xml -->
    <!-- GSM phones must also include android.hardware.telephony.gsm.xml -->
    <!-- CDMA phones must also include android.hardware.telephony.cdma.xml -->
And we have that light sensor xml in the permissions directory
So if the device wont have the sensor then that xml should not be present, isn't it?
@insane_subro and sunil
Do u have any objection on this?
Found a Abusive/Spam post? Hit button
Found a useful post? Hit button
Found a post required to be featured? Hit button
varun.chitre15 is offline  
Reply With Quote
The Following 2 Users Say Thank You to varun.chitre15 For This Useful Post:
gargrishab (February 10th, 2012), ninadchaudhari (February 18th, 2012)