- Nov 17, 2023
-
-
Xiang Wang authored
Bug: n/a Test: n/a Change-Id: Id0f1a76eb470e47d28bd40dc4c42c648272b4a27
-
- Nov 15, 2023
-
-
Treehugger Robot authored
-
- Nov 14, 2023
-
-
Mark Punzalan authored
-
Kangping Dong authored
-
Kangping Dong authored
The CONTEXTHUB_SERVICE may not be published if the FEATURE_CONTEXT_HUB feature is not present. So getting the ContextHub serivce with "context.getSystemService(ContextHubManager.class)" will throw ServiceNotFoundException. This commit fixes this issue by checking the CONTEXTHUB_SERVICE before creating the ContextHubManager instance. Test: verified with cuttlefish that it won't throw from NearbyService Bug: 299388818 Change-Id: Icd51a0f88c10259f4a912f5dd82bad49b70562e3
-
Mark Punzalan authored
FeatureFlagsFilter looks for `android:featureFlag` attributes in the XML and removes elements according to the given flag values. Bug: 297373084 Test: atest aapt2_tests Change-Id: Icf97de2152c0c53b0b4518ae837e0d198873d1c5
-
Brad Ebinger authored
-
- Nov 13, 2023
-
-
Thiébaud Weksteen authored
* changes: Add PermissionAnnotationDetector Ignore superMethods from non-Stub parents
-
Mark Punzalan authored
-
Thiébaud Weksteen authored
-
Phil Burk authored
-
Jared Duke authored
-
Roshan Pius authored
-
Treehugger Robot authored
-
Marvin Ramin authored
Bug: 310547345 Change-Id: I64cc5ff6659dfa6875baa225227951d1d5f86eb4 Test: N/A
-
Hansen Kurli authored
* changes: Remove the SDK level checks. Remove findIPv4DefaultRoute Remove LegacyVpnRunner
-
Riddle Hsu authored
-
- Nov 10, 2023
-
-
Austin Delgado authored
-
Austin Delgado authored
Test: N/A (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e715b9927adc1b5de39e081b9a76cec0713130da) Merged-In: Ieca72562b291839efe14a03e987da1b13fb6acdc Change-Id: Ieca72562b291839efe14a03e987da1b13fb6acdc
-
Jared Duke authored
There are several cases where inner classes of @SystemApi-annotated classes should be kept, but aren't. Add a conditional rule to ensure this. This is probably overly conservative, but for now should avoid issues with optimization. A follow-up change will refactor this to reuse the rules in system-api.pro, but that requires a bit of build file surgery first. Bug: 300514883 Change-Id: Ibd561a9098881db1c7e78346d60f4c91d9c75894 Test: m + check services.jar dex diff
-
William Xiao authored
-
Jared Duke authored
-
Nate Myren authored
-
David Zhao authored
-
David Zhao authored
Change-Id: I60a3bf312b1fff4abe6c72f9ae30482b894b543d
-
Brad Ebinger authored
Test: owners change Flag: EXEMPT Change-Id: I6e2483650a543efdbc5b38b788d5d73619b80c4b
-
Thiébaud Weksteen authored
This detector ensures that all AIDL-generated interfaces are annotated with one permission annotation (@EnforcePermission, @NoPermissionRequired, or @PermissionManuallyEnforced). It is part of the framework linters and disabled by default. It will be enabled explicitly in a subsequent change (for services/Android.bp). The baseline of the services will also be updated to capture the current status of non-annotated interfaces. Bug: 220214993 Test: atest --host AndroidFrameworkLintCheckerTest Change-Id: I0fbd41b63465f119d90505153fa3a98c0fcdc798
-
- Nov 09, 2023
-
-
Eric Biggers authored
-
William Xiao authored
Bug: 309993780 Flag: NA Test: N/A, just OWNERS updates Change-Id: I37c660a7cb53970b0bd5f8c73436b4ce4f79518a
-
Mark Punzalan authored
Bug: 297373084 Test: atest aapt2_tests Change-Id: I7567aa8f41e6fde7334430446a940eb6b04c1446
-
Jihoon Kang authored
-
Ken Chen authored
-
Sarp Misoglu authored
-
Ken Chen authored
The CtsHostsideNetworkTests:com.android.cts.net. HostsideNetworkCallbackTests needs to know whether trunk flag is enabled or not. But there is no stable way to read the flag from CTS for module. So adds this hidden API in platform. Bug: 288340533 Test: atest CtsHostsideNetworkTests: com.android.cts.net.HostsideNetworkCallbackTests Change-Id: I02cea917a3f75f11d6ea5754a6ea0d460f1372c9
-
Jihoon Kang authored
Currently, the signature file elides overrides of a default method, as they are not essential for the compilation of the stubs. However, in some scenarios, the overrides of a default method may be essential for the compilation of the reverse dependency of the stubs. In the scenario seen below: ``` // API interface ApiInterface { public default void bar() {}; } class ApiClass implements AnotherParentInterface{ public void bar() {} } // App depending on the API interface AppInterface { public void bar(); } public class AppClass extends ApiClass implements AppInterface { } ``` Removal of `ApiClass.bar()` will lead to not overriding an abstract method `AppInterface.bar()` compilation error in `AppClass`. Therefore, this change adds the overrides of a default method to the signature files. Test: checkapi Bug: 299366704 Change-Id: I212bd9aa895088fa9de33c7e3521453dea30c350
-
Roshan Pius authored
-
Joanne Chung authored
-
Roshan Pius authored
These are used by nfc stack, so should be formal APIs Bug: 301090456 Test: CtsVerifier Change-Id: I60ce07e30bbec5458ca72b6e11b57b0f0058d589
-
- Nov 08, 2023
-
-
Leon Scroggins authored
-