LOCAL_USES_LIBRARIES / LOCAL_OPTIONAL_USES_LIBRARIES should be added to
the app's Android.mk module and should match <uses-library> tags in the
app's manifest, so that the build knows about these libraries and
generates correct class loader context for dexpreopt.
Bug: 132357300
Test: m out/target/common/obj/APPS/Development_intermediates/enforce_uses_libraries.status
Change-Id: Ie5e36dd60040a1e7653acdf882e006de513f5367
Merged-In: Ie5e36dd60040a1e7653acdf882e006de513f5367
(cherry picked from commit 247d38afd5)
Convert the Make file to a Soong one
Bug: 186677673
Test: compared the two apk files built by Make and Soong
Test: TreeHugger
Change-Id: I5f9580d82b392d3913bed2c4a888928292aea7ac
getControllerActivityEnergyInfo() is an @hide API,
migrate to getWifiActivityEnergyInfoAsync() which is an
@SystemApi.
Bug: 145244073
Test: m Development && adb install Development.apk,
open Dev Tools app, go to Connectivity page, tap on
Link Stats button, ensure link stats printed in text
box below.
Change-Id: I0a9edfff7d924a31c5a3470a89e03bd161f1a8fb
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.
Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.
Test: make relevant packages
Bug: 73535841
Change-Id: I371bd0b43e66bcc4be1e26decb95c70519ac3342
android.test.base/runner/mock libraries are shared libraries that are
built without SDK, but with framework interanl libraries (framework.jar,
etc). Apps or libs that are built with SDK (LOCAL_SDK_VERSION is set)
shouldn't use them, but instead the stubs version of the test framework
libraries, which are built using SDK.
This is because, the build system does not allow a module built with SDK
to depend on another module built without SDK. This has been
exceptionally allowed with warnings, but will soon be errors.
In order to prevent the expected build breakage, direct reference to the
shared libraries are all changed to the stubs libraries.
Note: no one has been using these shared libs statically. So, it is
guaranteed that they won't encounter a problem due to missing
<uses-library name="android.test.runner"/> even after this change.
Bug: 69899800
Test: m -j checkbuild
Change-Id: I7f25e0127c52c56adf288163a760f3dc9aee6586
A lock was being released without checking if it was held, which
resulted in a crash because WifiManager.MulticastLock is reference
counted by default.
BUG=28668604
Change-Id: I306731129894d5525e974561c2680ae7db5aff4b
AsyncTask.wait was being called outside of a synchronize block,
causing an IllegalMonitorStateException. This replaces the wait
with a Thread.sleep.
BUG=b.android.com/203846
Change-Id: Ib370f702c1e0f76657292955de2406ce7f065e69
1. Remove one more usage of startUsingNetworkFeature.
2. Use new APIs for bound HTTP requests.
Bug: 25824776
Change-Id: Ic2f30ce9ffc873be198f6ad29cf928dc33574d84
Also:
- Refactor the code to remove duplication and make it easier
to add/change the network buttons.
- Make the MMS network request specify TRANSPORT_CELLULAR as
well, since that's what the system MMS service uses.
Change-Id: If8e2ca1ae22b3da3fffb0593fbb93a1d479143f3
We don't want to include this app in clockwork emulator images,
but is safe to change since the app is being explicity added
for the phone emulator images in build/target/product/sdk_base.mk
Bug: 24696853
Change-Id: I2e4f73fcffe9eb8957d41cd886124b7db4622c76
1. Stop using the deprecated startUsingNetworkFeature and use
requestNetwork instead.
2. Make use of clearCapabilities().
Bug: 23597341
Change-Id: I65cb813111947d159d2bb18f0d8a93fb726912e5
Dont know why but there's a theme attribute for SyncAdapterDrive activity havingvalue as Theme.Light resulting in a beautiful Gingerbread screen.
Change-Id: I4f74243152a212197e1881e8f65acf1cbb7dfad8
Developer Settings->Dev Tools->Package Browser->Package Summary->Click on ony activity. Force close as ShowActivity is not declared in AndoridManifest.
Change-Id: Ic1b74dc08c83023418912a5f82b127f5537710cd