[MS55.2] Move NetworkStateSnapshot into module folder
framework-connectivity need to see the aidl files when compiling IConnectivityManager.aidl, and it can only include the files by specifying aidl include_dirs. Thus, move the file into the module since the one outside of the module is going to be deleted soon. Ignore-AOSP-First: Avoiding conflicts; cherry-pick will follow Test: TH Bug: 197717846 Change-Id: Ide7431d0c98aebd389bee86d13ff44f5ef8b8283 Merged-In: Ide7431d0c98aebd389bee86d13ff44f5ef8b8283
This commit is contained in:
parent
668aff4a8d
commit
d6a6a4ebf3
2 changed files with 28 additions and 0 deletions
|
|
@ -62,6 +62,15 @@ java_defaults {
|
|||
// non-jarjard names of widely-used packages such as com.android.net.module.util.
|
||||
"framework-connectivity-pre-jarjar",
|
||||
],
|
||||
aidl: {
|
||||
generate_get_transaction_name: true,
|
||||
include_dirs: [
|
||||
// For connectivity-framework classes such as Network.aidl,
|
||||
// and connectivity-framework-t classes such as
|
||||
// NetworkStateSnapshot.aidl
|
||||
"packages/modules/Connectivity/framework/aidl-export",
|
||||
],
|
||||
},
|
||||
apex_available: [
|
||||
"com.android.tethering",
|
||||
],
|
||||
|
|
|
|||
19
framework/aidl-export/android/net/NetworkStateSnapshot.aidl
Normal file
19
framework/aidl-export/android/net/NetworkStateSnapshot.aidl
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
/**
|
||||
* Copyright (c) 2021, 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;
|
||||
|
||||
parcelable NetworkStateSnapshot;
|
||||
Loading…
Reference in a new issue