Sastish,

Didn't work but I was able to solve it. I basically based it from the
DIRECTORY_MUSIC in the Environment.java file and did a 'grep -rnw -e
'DIRECTORY_MUSIC' through the source and found the following file, and
commented out the directories I didn't want to see and it worked perfectly!

http://androidxref.com/7.1.1_r6/xref/packages/providers/MediaProvider/src/com/android/providers/media/MediaProvider.java#547

On Mon, Jul 31, 2017 at 10:43 AM Joey Troy <[email protected]> wrote:

> Thanks Satish. I will give that a try and update the post.
>
> On Mon, Jul 31, 2017 at 10:17 AM Satish Patel <[email protected]>
> wrote:
>
>> Hi,
>>
>> This would be best place to check
>>
>> http://androidxref.com/7.1.1_r6/xref/frameworks/base/services/core/java/com/android/server/MountService.java#3004
>>
>> check for the path and filter out what you do not need.
>>
>> Other possibility is to look for -
>> http://androidxref.com/7.1.1_r6/xref/frameworks/base/core/java/android/os/Environment.java
>> and remove unwanted build path.
>>
>> --
>> satish
>>
>> On Mon, Jul 31, 2017 at 6:28 AM, Joey Troy <[email protected]> wrote:
>>
>>> I am porting android to a no Audio device and trying to figure out how
>>> to remove the Alarms, Movies, Music, Notifications, Podcasts, and Ringtones
>>> folders from the SDCard. I have tried to edit the sdcard.c file in
>>> system/core/sdcard but no dice.
>>>
>>> --
>>> --
>>> unsubscribe: [email protected]
>>> website: http://groups.google.com/group/android-porting
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "android-porting" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Regards,
>> satish patel
>>
>

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to