blob: 028616b4e94b65c9a74d337f7f27e4407fb3b0dc [file] [log] [blame]
Andreas Huber413f5232009-12-03 11:31:19 -08001/*
2 * Copyright (C) 2009 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Marco Nelissen544ad2b2013-11-13 14:18:21 -080017//#define LOG_NDEBUG 0
18#define LOG_TAG "MediaScannerClient"
19#include <utils/Log.h>
20
Andreas Huber413f5232009-12-03 11:31:19 -080021#include <media/mediascanner.h>
22
Pawin Vongmasa255735a2017-07-19 11:24:56 -070023#include <media/CharacterEncodingDetector.h>
24#include <media/StringArray.h>
Andreas Huber413f5232009-12-03 11:31:19 -080025
Andreas Huber413f5232009-12-03 11:31:19 -080026namespace android {
27
Marco Nelissen34581f42014-08-29 16:00:28 -070028MediaScannerClient::MediaScannerClient() {
Andreas Huber413f5232009-12-03 11:31:19 -080029}
30
Marco Nelissen34581f42014-08-29 16:00:28 -070031MediaScannerClient::~MediaScannerClient() {
Andreas Huber413f5232009-12-03 11:31:19 -080032}
33
34void MediaScannerClient::setLocale(const char* locale)
35{
Marco Nelissen544ad2b2013-11-13 14:18:21 -080036 mLocale = locale; // not currently used
Andreas Huber413f5232009-12-03 11:31:19 -080037}
38
Marco Nelissen34581f42014-08-29 16:00:28 -070039void MediaScannerClient::beginFile() {
Andreas Huber413f5232009-12-03 11:31:19 -080040}
41
Jeff Brown7188e552011-07-20 16:38:43 -070042status_t MediaScannerClient::addStringTag(const char* name, const char* value)
Andreas Huber413f5232009-12-03 11:31:19 -080043{
Marco Nelissen34581f42014-08-29 16:00:28 -070044 handleStringTag(name, value);
Marco Nelissen544ad2b2013-11-13 14:18:21 -080045 return OK;
Andreas Huber413f5232009-12-03 11:31:19 -080046}
47
Marco Nelissen34581f42014-08-29 16:00:28 -070048void MediaScannerClient::endFile() {
Andreas Huber413f5232009-12-03 11:31:19 -080049}
50
51} // namespace android