blob: 0b208ac97f3da6029f1fd16e26abbe513be7b241 [file] [log] [blame]
junyulai66ed3db2022-02-16 16:43:32 +08001/*
2 * Copyright (C) 2022 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
17package android.net;
18
19import android.content.Context;
20
21/**
22 * Fake TrafficStats class for sc-mainline-prod,
23 * to allow building the T service-connectivity before sources
24 * are moved to the branch.
25 */
26public final class TrafficStats {
27 /** Init */
28 public static void init(Context context) {
29 throw new RuntimeException("This is a stub class");
30 }
31}