+10
−0
+15
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Using SDK (current, system_current, module_current, or <api_version>) while at the same time depending on "framework" doesn't make sense because framework anyway provides all APIs including hidden ones. This is not only uncessary but also error prone because the availability of a private method in a class depends on whether the class is part of the SDK or not. Add a neverallow rule for prohibiting that. Note that "core_*" SDKs are allowed because there's no overlap between "framework" and the core-Java SDKs. Bug: 227528906 Test: m nothing on git_master Change-Id: I0605075aef20c75db084beeedcbf49a642573e69