diff options
author | markchien <markchien@google.com> | 2019-12-06 15:24:53 +0800 |
---|---|---|
committer | markchien <markchien@google.com> | 2020-01-07 21:29:52 +0800 |
commit | 986750b3275ec56b2b17aa111c1a1e73635b4448 (patch) | |
tree | 8e1b09468cf861d80319fcf09a5f37cfb0531d0d /packages/Tethering/src/android/net/util/TetheringMessageBase.java | |
parent | 3e16a10a3e8ba9512df4ebccc676b990d003212c (diff) |
Fix some @hide usage in Tethering
Using alternative way to replace some @hide API.
Bug: 144814072
Test: build, flash, boot
atest TetheringTests
Change-Id: I1e12d69db1ad91dff553e142e17c6a70808e1639
Diffstat (limited to 'packages/Tethering/src/android/net/util/TetheringMessageBase.java')
-rw-r--r-- | packages/Tethering/src/android/net/util/TetheringMessageBase.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/Tethering/src/android/net/util/TetheringMessageBase.java b/packages/Tethering/src/android/net/util/TetheringMessageBase.java new file mode 100644 index 000000000000..1b763ce920da --- /dev/null +++ b/packages/Tethering/src/android/net/util/TetheringMessageBase.java @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2020 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package android.net.util; + +/** + * This class defines Message.what base addresses for various state machine. + */ +public class TetheringMessageBase { + public static final int BASE_MASTER = 0; + public static final int BASE_IPSERVER = 100; + +} |