- May 23, 2018
-
-
Jiyong Park authored
-
- May 22, 2018
-
-
Treehugger Robot authored
-
Christopher Ferris authored
-
Treehugger Robot authored
-
Jiyong Park authored
org.apache.http.legacy is now built using java_sdk_library. Since the share lib defintion file for the lib is automatically created and installed, we don't need to have duplicated entry for the lib. Bug: 77577799 Test: m -j Test: adb shell cmd package list libraries shows an entry for org.apache.http.legacy Merged-In: I06b356c2ba08abc6c1cece81daf7c1773ed93ed0 Change-Id: I06b356c2ba08abc6c1cece81daf7c1773ed93ed0 (cherry picked from commit 49c0a869)
-
- May 21, 2018
-
-
Christopher Ferris authored
Bug: 79209464 Test: Builds. Change-Id: Ica58edd0d11b54c45b0af8e75eed67936f4309c2 Merged-In: Ica58edd0d11b54c45b0af8e75eed67936f4309c2 (cherry picked from commit 2197eebc)
-
Treehugger Robot authored
-
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: I357fcba75909495ba2b46b9ed1b532e65fee3fe1
-
Colin Cross authored
* changes: AAPT2: treat manifest validation errors as warnings when asked AAPT2: Better error messages for ManifestFixer AAPT2: Differentiate between Android and Java package names
-
Izabela Orlowska authored
Bug: 65670329 Test: updated Change-Id: Ic554cc20134fce66aa9ddf8d16ddffe0131c50e9 Merged-In: Ic554cc20134fce66aa9ddf8d16ddffe0131c50e9 (cherry picked from commit ad9e1324)
-
Adam Lesinski authored
AAPT2 will now print the XML hierarchy where it found an unexpected element. Test: make aapt2_tests Change-Id: Iac7918b2f344fab874f0a3e7aa9c6936ecde8913 Merged-In: Iac7918b2f344fab874f0a3e7aa9c6936ecde8913 (cherry picked from commit ed37f484)
-
Adam Lesinski authored
Android package names are more strict (ASCII only) than Java package names. Also fixed an issue where trailing underscores were disallowed in Android package names. (cherry picked from commit 96ea08f1) Also includes part of I357fb84941bfbb3892a8c46feb47f55b865b6649 to remove usage of FindNonAlphaNumericAndNotInSet. Bug: 79481102 Test: make aapt2_tests Change-Id: I1052e9e82b6617db6065ce448d9bf7972bb68d59 Merged-In: I1052e9e82b6617db6065ce448d9bf7972bb68d59
-
Treehugger Robot authored
-
Jordan Liu authored
-
Treehugger Robot authored
-
Niklas Lindgren authored
When apns are downloaded OTA they are stored directly under data/misc by system server. Files created there gets assigned with file context system_data_file which TelephonyProvider cannot read. In order to make sure that downloaded apns gets a file context TelephonyProvider can read we create an apns sub directory in init where radio_data_file:s are created. The data path to where apns-conf is stored is here changed from /data/misc/ to /data/misc/apns/. This change is aligned with other files that ConfigUpdateInstallReceiver writes. Test: Trigger Apn update via intent UPDATE_APN_DB Go to settings/apn-list and verify that newly downloaded are present Bug: 79948106 Change-Id: I5a9ec262bfbac291cca9fee5accf93eb6c06f253
-
Treehugger Robot authored
* changes: apf: Add counters for dropped / passed packets Add support for reading a snapshot of the APF data
-
- May 19, 2018
-
-
Tyler Gunn authored
-
- May 18, 2018
-
-
Tyler Gunn authored
Incoming and outgoing call phone numbers are visible in the phone state broadcast and via the PhoneStateListener. To enhance user privacy, change to require the READ_CALL_LOG permission in order to receive the call phone numbers. This means to see phone numbers: 1. android.intent.action.PHONE_STATE - requires READ_PHONE_STATE and READ_CALL_LOG permission. 2. PhoneStateListener#onCallStateChanged - now required READ_CALL_LOG permission. To support this new behavior, added sendBroadcastAsUserMultiplePermissions method to context to allow sending the broadcast to all users while requiring the two permissions. Bug: 78650469 Test: Created PHONE_STATE broadcast receiver in test app and verified that when no permissions are granted, the phone number is empty for incoming and outgoing calls. Test: Granted Phone state permission to test app and verified that phone number is not populated. Test: Granted test app read call log permission and verified that phone number is populated. Test: Created PhoneStateListener in test app and verified that when no permissions are granted, phone number is empty for incoming and outgoing. calls. Test: Granted read call log permission to test app and verified that both the incoming and outgoing numbers are populated. Change-Id: I857ea00cc58a0abbb77960643f361dd6dd9c8b56
-
Xiangyu/Malcolm Chen authored
-
Xiangyu/Malcolm Chen authored
-
Adam Lesinski authored
toddke@ is now the new owner of these projects. Exempt-From-Owner-Approval: setting new owners Test: none Change-Id: Ie92b020e0ba063f48ce8a76ebaef768fe0d554f1 Merged-In: Ie92b020e0ba063f48ce8a76ebaef768fe0d554f1 (cherry picked from commit a95e8418)
-
Remi NGUYEN VAN authored
* changes: Fix SntpClientTest failures with no active network Allow specifying a network for SNTP time sync
-
nharold authored
-
- May 17, 2018
-
-
Malcolm Chen authored
Everytime at boot-up, we check Sms raw table, and delete the rows with any partial message that is too old. By default the expiration age is 30 days, but we want to make it configurable. Bug: 77910620 Test: sanity-test Change-Id: Ibd2374324be5513cbd09c04889e7b96051c26fb4 Merged-In: Ibd2374324be5513cbd09c04889e7b96051c26fb4
-
Malcolm Chen authored
In UiccSlotInfo#equals method, it's comparing Strings incorrectly. Bug: 78033760 Test: GTS test Change-Id: I4fed0a70ee0ef06bcf7a1af544e6aebced31d9c2 Merged-In: I4fed0a70ee0ef06bcf7a1af544e6aebced31d9c2
-
Nathan Harold authored
We need to be able to print the PhysicalChannelConfig for debugging/dumping, so adding a toString() method to print in a format that we can easily digest and is consistent with other Telephony log formatting. Bug: 78791811 Test: manual / TelephonyDebugMenu Merged-In: Ieb12f78a821369072ca9f03d28b28759836f84b4 Change-Id: Ieb12f78a821369072ca9f03d28b28759836f84b4 (cherry picked from commit 2636dd43)
-
Nicolas Geoffray authored
-
Remi NGUYEN VAN authored
The last change is using getActiveNetwork to run the queries, which results in an NPE if there is no network on the device. Using network 0 causes no socket tagging and allows queries to the local test SNTP server to go through as previously. Also migrating to JUnit4 and moving mServer and mClient initializers to setUp(). Test: SntpClientTest now passes Change-Id: Ieb0a5d247129bcad89c1add0e9c1c504f516e2a9
-
Treehugger Robot authored
-
- May 16, 2018
-
-
Eric Schwarzenbach authored
Bug: 78791811 Test: compilation Change-Id: I48404342daaaf74d81386aa64cac99ae1a5dfa8b (cherry picked from commit ef44f95c)
-
Treehugger Robot authored
-
Colin Cross authored
Use LOCAL_USE_AAPT2 := false to disable AAPT2 for modules that use features that are not implemented in AAPT2. Fixes: frameworks/base/core/tests/coretests/apks/install_multi_package/AndroidManifest.xml:46: error: unexpected element <package> found in <manifest>. frameworks/base/core/tests/coretests/apks/install_multi_package/AndroidManifest.xml:82: error: unexpected element <package> found in <manifest>. frameworks/base/core/tests/coretests/apks/install_verifier_bad/AndroidManifest.xml:19: error: unexpected element <package-verifier> found in <manifest>. frameworks/base/core/tests/coretests/apks/install_verifier_good/AndroidManifest.xml:19: error: unexpected element <package-verifier> found in <manifest>. frameworks/base/packages/CtsShim/build/shim/AndroidManifest.xml:25: error: unexpected element <restrict-update> found in <manifest>. frameworks/base/tests/ActivityTests/AndroidManifest.xml:42: error: unexpected element <preferred> found in <manifest><application><activity>. out/target/common/obj/APPS/CtsShimPriv_intermediates/AndroidManifest.xml:25: error: unexpected element <restrict-update> found in <manifest>. frameworks/base/core/tests/coretests/AndroidManifest.xml:26: error: unexpected element <meta-data> found in <manifest><permission>. ... Bug: 79755007 Test: m FORCE_AAPT2=true java Change-Id: I393b697c521ab2a4fbc00b29a43aed6b4729b9a8
-
Nicolas Geoffray authored
To dynamically play with JIT thread priorities. bug: 79570024 Test: m Change-Id: I84c691fb57b37e699429b9f511b2e235259d718a
-
Pete Gillin authored
-
Kurt Marcinkiewicz authored
Permits syncing over a specific network instead of the default for the process. This was causing an issue with Android Wear devices paired with iOS where the default network is bluetooth (see b/32663274). This CL is in support of ag/3776564 Bug: 32663274 Test: adb shell am instrument -e class android.net.SntpClientTest -w \ com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner (cherry-pick of pi-dev Ic9fc169cf75457810d4992121d85d7642e350b90) Merged-In: I339c77063c72a9d76a5c4cb17052e20fb6e045a6 Merged-In: I8dfd1cad99c63efdc14c174c19f094a61cdfc44f Change-Id: I44df66688292b144ec7dfcdd9ae5d82489f82774
-
Nan Zhang authored
-
- May 15, 2018
-
-
Nan Zhang authored
Bug: b/78034256 Test: m clean && m checkapi Change-Id: Ifbda8825f95e26bb79aac9b1bb73c5e43f12d1fb Merged-In: Ifbda8825f95e26bb79aac9b1bb73c5e43f12d1fb
-
Treehugger Robot authored
-
Treehugger Robot authored
-