No description. Add one?
  • Java 78%
  • Kotlin 11.8%
  • AIDL 4.4%
  • C++ 3.7%
  • C 1.5%
  • Other 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
paulhu 4418c8e2ed Implement Settings#checkAndNoteChangeNetworkStateOperation on CS
Connectivity is becoming a mainline module in S and
ConnectivityManager#enforceChangePermission is using
Settings#checkAndNoteChangeNetworkStateOperation for performing a
strict and comprehensive check of whether a calling package is
allowed to change the state of network. However, Mainline modules
are not allowed to use non-formal APIs, fortunately CS is the
only caller of this ConnectivityManager#enforceChangePermission.
Thus, implement the Settings API on ConnectivityService and remove
the ConnectivityManager#enforceChangePermission and
Settings#checkAndNoteChangeNetworkStateOperation.

Bug: 178565313
Test: atest FrameworksNetTests
Change-Id: I6f03398c1735b89470ad5bdbe3a036929daeb53c
Merged-In: I6f03398c1735b89470ad5bdbe3a036929daeb53c
2021-02-23 08:35:38 +00:00
core Merge "[FUI15] Remove networkId in NetworkState" 2021-02-20 14:00:19 +00:00
framework Implement Settings#checkAndNoteChangeNetworkStateOperation on CS 2021-02-23 08:35:38 +00:00
service [LSC] Add LOCAL_LICENSE_KINDS to frameworks/base 2021-02-16 04:09:57 -08:00
services/core/java/com/android/server Implement Settings#checkAndNoteChangeNetworkStateOperation on CS 2021-02-23 08:35:38 +00:00
tests/net Merge changes I852e3a53,I86755647,I0ed8b0c6 2021-02-22 06:49:39 +00:00
OWNERS Add OWNERS for packages/Connectivity 2020-12-14 18:34:39 +09:00