- Jun 04, 2018
-
-
Sundong Ahn authored
The com.android.mediadrm.signer is built with java_sdk_library and api files are added by running "make update-api". The com.android.mediadrm.signer is removed in platform.xml since it will be made auto generation by soong when the library is built with java_sdk_library. Bug:77577799 Test: make -j Test: make checkapi Merged-In: I0e773615abe6aa8d757e489de2b9d807cd356146 Change-Id: I0e773615abe6aa8d757e489de2b9d807cd356146 (cherry picked from commit 2e1089ba)
-
- Jun 01, 2018
-
-
Treehugger Robot authored
-
- May 31, 2018
-
-
Colin Cross authored
-
Hall Liu authored
-
Treehugger Robot authored
-
Pavel Maltsev authored
OEMs should be able to set gateway, DNS and domain for their static IP configuration. Cherry picked without conflicts. Bug: 80090920 Test: m Merged-in: Id7b6d538e2551cbd188821feb4b4feb102e4c751 (cherry picked from commit d6b07806) Change-Id: I347a91e202fb6d6f1ae893c097c7d2e8856a3593
-
Hall Liu authored
Fix the TODO from forever ago and update the docs for the listener registration methods. Change-Id: I1276d0afe430e1b50c0af1fdfacb12a89ea5aa38 Fixes: 80493663 Test: None, comments only
-
Brad Ebinger authored
-
Remi NGUYEN VAN authored
-
Omkar Kolangade authored
Adding an API in MmTelFeature to allow IMS Service to report the reasons for implicit call rejections by lower layers. Corresponding ImsReasonInfo codes are also being added. The call rejections are not related to any call session or a call that Framework is aware of. Change-Id: Ie47a239856db21e84d199a7620edf7b6ceeb81bc
-
- May 30, 2018
-
-
Colin Cross authored
Implement --replace-version to match aapt1. Bug: 79755007 Test: aapt2_tests Change-Id: Iee2bd9a3981c7d4681509f18b735c6e9e6c1a336 Merged-In: Iee2bd9a3981c7d4681509f18b735c6e9e6c1a336 (cherry picked from commit dcd58c42)
-
Hall Liu authored
-
Treehugger Robot authored
-
Chenbo Feng authored
The current implementation check for bpf map existance whenever a NetworkStats request comes in. The check is not efficient and may require additional permission for threads. So a member variable is added to NetworkStatsService to store the bpf configuration status and is initialized when NetworkStatsService start. Test: -m CtsNetTestCases -t android.net.cts.TrafficStatsTest -m CtsUsageStatsTestCases -t android.app.usage.cts.NetworkUsageStatsTest Bug: 79994577 Change-Id: I872ae18fb3e9631a4e6c4d773fefbba32e60a03b Merged-In: I872ae18fb3e9631a4e6c4d773fefbba32e60a03b
-
Colin Cross authored
-
Remi NGUYEN VAN authored
Since a dependency was added to libartbase from libdexfile, this test has been failing because of the missing deps. As discussed both libartbase and its non-NDK dependencies need to be added. Bug: b/79785496 Bug: b/80082746 Test: ApfTest and UidRangeTest now pass in master, still pass in aosp Change-Id: Ia2c140514d7405d701c3ec520b77663abe2b34d5
-
Treehugger Robot authored
-
Sundong Ahn authored
javax.obex is built with java_sdk_library and api files are added by running "make update-api". Remove java.obex is from platform.xml, since it will be generated automatically by soong when the library is built with java_sdk_library. Bug:77577799 Test: make -j make checkapi Change-Id: Ib94955e62582ffbdfc7eb88cd0e494c61757c7aa
-
- May 29, 2018
-
-
Tobias Thierer authored
-
Treehugger Robot authored
-
- May 28, 2018
-
-
Treehugger Robot authored
-
Jorim Jaggi authored
-
- May 26, 2018
-
-
Colin Cross authored
Add LOCAL_AAPT_FLAGS += --warn-manifest-validation to the modules that have manifests that AAPT2 can't parse. Bug: 79755007 Test: m checkbuild Change-Id: I5f20ca582e481f7dac7b6a236662a2d1f47ea9fa
-
Tobias Thierer authored
Android Matcher.start(int) declared "throws IllegalStateException", which is correct but redundant. Upstream OpenJDK8u121-b13 does not have this declaration. Another CL in this topic drops the declaration, without changing behavior. Bug: 35910877 Test: Treehugger Change-Id: I59778f13f0df8bd4112af4edc25ee5a93084ae35
-
- May 25, 2018
-
-
Hall Liu authored
Needed for CTS testing Bug: 79528185 Test: CTS Change-Id: Iad154257a93cc776d5800527e46e777fd6c88220 Merged-In: Iad154257a93cc776d5800527e46e777fd6c88220
-
Bryan Henry authored
-
Treehugger Robot authored
-
Tetsutoki Shiozawa authored
ActivityThread#setHttpProxy uses a system context to get a ConnectivityManager instance. If it's not already cached, the system service registry will cache this instance initialized with the system context, and subsequent calls to get this service will return the bad instance. This patch uses the application context instead, unless it's not available for some unlikely reason. A possible symptom of this issue is to have Bluetooth tethering failing with a security exception, because it's requested by the "android" package without system uid. Merged-In: Ib8815f010883cdb94fcad2cdfb237de39327b20a Bug: 73572062 Change-Id: Id652c1625194dc73dcbf8dfcad4b4e2e6fbebf4e
-
Treehugger Robot authored
* changes: Remove FlpHardwareProvider Create the stubs lib for com.android.location.provider
-
eddy-sh.chen authored
Otherwise it may cause a deadlock between PWM's mlock and WMS's mWindowMap. Just post the work to the policy handler instead. Bug: 80279029 Change-Id: Idae333687cf5c88e1893ee216c278b9e6c17dd98
-
Treehugger Robot authored
-
Jiyong Park authored
After Treble's FLP merge into GNSS HAL, the FlpHardwareProvider is just an empty shell. Removing FusedLocation and/or Flp + Hardware classes altogether. Bug: 35726697 Test: m -j Test: Open Google Map and then walk around. The dot moves as I walk. Merged-In: I7f413e38b57424e8ebb9d7d14d94f145a48d10f8 Change-Id: I7f413e38b57424e8ebb9d7d14d94f145a48d10f8 (cherry picked from commit 4cc3a1c0)
-
Jiyong Park authored
com.android.location.provider.stubs is the stubs library for the shared library com.android.location.provider. The stubs library is intended to provide the stable set of APIs to the apps implementing location provider. Without the stubs library, apps had to directly link to the shared library which is built without Android SDK and exposes private APIs that are not intended to be used by apps. This also has been causing the lin-type check warnings when the shared lib is used by apps built with SDK; apps built with SDK is not allowed to link to lib built without SDK. This has been reported as warnings but will soon be errors. Now such apps are required to link to the stubs lib, which is built with SDK. While building the stubs library, following APIs are made hidden because they are exposing private APIs from the Android platform. 1) Activity* classes are removed from the API, as they are not intended to be used by apps since O. 2) GeocodeProvider and GeofenceProvider are removed from the API. 3) LocationProvider.mLocationManager is removed as it is exposing the private symbol ILocationProvider 4) ProviderPropertiesUnbundle.getProviderProperties are removed from the API as it is exposing the private symbol ProviderProperties. 5) The constructor of ProviderRequestUnbundled is removed since the class is intended to be instantiated by the service. Bug: 71420593 Test: m -j com.android.location.provider.stubs Merged-In: I20aba7e9ca9c3adc75db241f37a55f0d657f3ced Change-Id: I20aba7e9ca9c3adc75db241f37a55f0d657f3ced (cherry picked from commit eee99986)
-
Remi NGUYEN VAN authored
-
Remi NGUYEN VAN authored
-
zengjing authored
When device connected with wired headset and without any bluetooth connection, APP may call MediaRouter to setForceUse to set FOR_MEDIA with FORCE_SPEAKER, then sound be output to SPEAKER. In this case, if setBluetoothA2dpOn(false) was called, FOR_MEDIA will be set with FORCE_NONE and sound be output to wird headset. The issue discussed above occurred on our device. We developed an FM radio APP. Beforce work, wired headset must be plugged in to be used as antennas. Then we setForceUse FOR_MEDIA to FORCE_SPEAKER, and audio stream was output to speaker. At this moment, if we play other sound (such as ScreenCapture sound), MediaRouterService will detected audio playbacked state changed. Because FM Audio was not monitor by AudioPlaybackMonitor, there was not any audio playback active. So, restoreBluetoothA2dp was called in the function of onAudioPlayerActiveStateChanged, which call AudioService.setBluetoothA2dpOn(false). As a result sound was switch to headset. There are two solutions to fix our issue. 1) Check a2dp state before setBluetoothA2dpOn in MediaRouterService::restoreBluetoothA2dp, if a2dp state does not change, setBluetoothA2dpOn should not be called 2) Check a2dp state before setForceUse in AudioService::setBluetoothA2dpOn, if a2dp state does not change, setForceUse should not be called Consdering that setBluetoothA2dpOn may be called by other method, we try to fix it with the second one. Test: NA Change-Id: I3a2e64e7d73d9aa9539176fea556feb433cb7211 Signed-off-by:
zengjing <zengjing@xiaomi.com>
-
- May 24, 2018
-
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Chih-Hung Hsieh authored
Global flag --pack-dyn-relocs=android is used with clang lld. For b/24465209, we need to override that with pack_relocations:false. Bug: 24465209 Bug: 80093890 Test: build with USE_CLANG_LLD=true and run dlext.compat_elf_hash_and_relocation_tables Change-Id: I9364feb4070d4f75705d8651d535c792fe6ad6f7
-