5 Commits

Author SHA1 Message Date
Anton Hansson
df4b33036d Add some warnings and notes about framework's jarjar rules
These rules are explicitly recommended  to be depended on by other
libraries in the bootclasspath, that may depend on the framework's
copy of the hidl library.

Bug: 186804505
Test: presubmit
Merged-In: I09766423782d9bb9408f3d14169d7e5d8f1b5823
Change-Id: I09766423782d9bb9408f3d14169d7e5d8f1b5823
(cherry picked from commit 524bf249777f5e71d22facb9ddd86d58abab651a)
2021-05-26 17:03:21 +01:00
Benedict Wong
89b08f79d5 Repackage vcn utils in frameworks-minus-apex
Bug: 176170669
Test: atest CtsStrictJavaPackagesTestCases
Change-Id: Iae303d0fd439ade25ecc3ef2710090be785bb1ca
2021-01-04 14:53:52 -08:00
Anton Hansson
631291cd32 Revert "Add updatable-media jarjar rules to framework-all"
We no longer need this jarjar rule because we are not re-compiling
exoplayer.

This reverts commit f92d07e5f95c9ae0a0248a0b99dcb736da2a1272.

Bug: 149906971
Test: m && \
      unzip -l out/soong/.intermediates/frameworks/base/framework-all/\
      android_common/combined/framework-all.jar \
      | grep exo \
      | grep -v internal
      (no exoplayer classes)
Change-Id: Ic4d7847875797be47e02987337bf685bfe1e6605
2020-09-07 15:08:06 +00:00
Santiago Seifert
f92d07e5f9 Add updatable-media jarjar rules to framework-all
Prevents the robolectric shadows jar from including ExoPlayer
symbols, which collide with app-bundled class files.

Bug: 161753405
Test: Manually checked robolectric jar contents.
Test: Built sargo-userdebug, flashed and tested on physical device.
Change-Id: I3bdc9e0b22cd0dea40f5bad15b0e6c619d32faf6
2020-08-06 23:15:18 +01:00
David Su
130441b131 Create WifiAnnotations and jarjar into framework
@IntDef annotations defined in the Wifi module are
@hide and cannot be referenced from the rest of
framework. Create a separate class for Wifi
annotations that can be jarjar'ed into external
clients.

Bug: 140299412
Test: compiles
Change-Id: I5beac976b4d12fb2c01f46cb46f9c54ab54618ea
2019-12-16 17:16:07 -08:00