1ac117ad70762672243573f9c8a5ea3220c4884bfJi-Hwan Lee/* 2ac117ad70762672243573f9c8a5ea3220c4884bfJi-Hwan Lee * Copyright (C) 2014 The Android Open Source Project 3ac117ad70762672243573f9c8a5ea3220c4884bfJi-Hwan Lee * 4ac117ad70762672243573f9c8a5ea3220c4884bfJi-Hwan Lee * Licensed under the Apache License, Version 2.0 (the "License"); 5ac117ad70762672243573f9c8a5ea3220c4884bfJi-Hwan Lee * you may not use this file except in compliance with the License. 6ac117ad70762672243573f9c8a5ea3220c4884bfJi-Hwan Lee * You may obtain a copy of the License at 7ac117ad70762672243573f9c8a5ea3220c4884bfJi-Hwan Lee * 8ac117ad70762672243573f9c8a5ea3220c4884bfJi-Hwan Lee * http://www.apache.org/licenses/LICENSE-2.0 9ac117ad70762672243573f9c8a5ea3220c4884bfJi-Hwan Lee * 10ac117ad70762672243573f9c8a5ea3220c4884bfJi-Hwan Lee * Unless required by applicable law or agreed to in writing, software 11ac117ad70762672243573f9c8a5ea3220c4884bfJi-Hwan Lee * distributed under the License is distributed on an "AS IS" BASIS, 12ac117ad70762672243573f9c8a5ea3220c4884bfJi-Hwan Lee * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13ac117ad70762672243573f9c8a5ea3220c4884bfJi-Hwan Lee * See the License for the specific language governing permissions and 14ac117ad70762672243573f9c8a5ea3220c4884bfJi-Hwan Lee * limitations under the License. 15ac117ad70762672243573f9c8a5ea3220c4884bfJi-Hwan Lee */ 16ac117ad70762672243573f9c8a5ea3220c4884bfJi-Hwan Lee 17ac117ad70762672243573f9c8a5ea3220c4884bfJi-Hwan Leepackage com.android.providers.tv; 18ac117ad70762672243573f9c8a5ea3220c4884bfJi-Hwan Lee 19ac117ad70762672243573f9c8a5ea3220c4884bfJi-Hwan Leeclass TvProviderForTesting extends TvProvider { 20ac117ad70762672243573f9c8a5ea3220c4884bfJi-Hwan Lee @Override 21ac117ad70762672243573f9c8a5ea3220c4884bfJi-Hwan Lee void scheduleEpgDataCleanup() {} 22ac117ad70762672243573f9c8a5ea3220c4884bfJi-Hwan Lee 23ac117ad70762672243573f9c8a5ea3220c4884bfJi-Hwan Lee @Override 24ac117ad70762672243573f9c8a5ea3220c4884bfJi-Hwan Lee String getCallingPackage_() { 25ac117ad70762672243573f9c8a5ea3220c4884bfJi-Hwan Lee return getContext().getPackageName(); 26ac117ad70762672243573f9c8a5ea3220c4884bfJi-Hwan Lee } 27ac117ad70762672243573f9c8a5ea3220c4884bfJi-Hwan Lee} 28