OSDN Git Service
Adrian Roos [Thu, 28 Feb 2019 11:45:00 +0000 (12:45 +0100)]
Apilint: lint for URL/URI
Test: python apilint_test.py
Change-Id: Iebe3b48df7ed69e0b5f5ff372b72f68ca9f8efec
Adrian Roos [Tue, 5 Mar 2019 16:43:24 +0000 (16:43 +0000)]
Merge changes Icc2810f5,Ib0ad635e
* changes:
Apilint: report all implemented interfaces and fix false positives Test: python apilint_test.py
Apilint: properly parse packages with numbers
Nicolas Geoffray [Tue, 5 Mar 2019 15:37:27 +0000 (15:37 +0000)]
Merge "Remove calls to VMRuntime methods that are no-ops."
Tyler Gunn [Tue, 5 Mar 2019 15:21:48 +0000 (15:21 +0000)]
Merge "Correct nullability and final constraints on new APIs."
Treehugger Robot [Tue, 5 Mar 2019 14:59:33 +0000 (14:59 +0000)]
Merge "Set module min_sdk_version to 28"
Nicolas Geoffray [Mon, 4 Mar 2019 13:23:34 +0000 (13:23 +0000)]
Remove calls to VMRuntime methods that are no-ops.
Test: m
(Cherry-picked from:
5735cc7a116598eb9eb635857605394f67ef005e)
Change-Id: If2e6afe21f6efcb141f3a4428ff9154b68f08a1d
Merged-In: Ibe849f56f5fe8af1415dc6c85b484d0edca518ec
Jack Yu [Tue, 5 Mar 2019 06:56:14 +0000 (06:56 +0000)]
Merge "Fixed that DcTracker does not use correct data registration info"
Jack Yu [Tue, 26 Feb 2019 21:10:05 +0000 (13:10 -0800)]
Fixed that DcTracker does not use correct data registration info
Fixed by using correct info from the corresponding transport
Test: Unit tests + manual
Bug:
126436426
Merged-In: Ie8ae20423b794622b6a6141faf68c01b75c144ce
Change-Id: Ie8ae20423b794622b6a6141faf68c01b75c144ce
(cherry picked from commit
1fa6cf157806673ca65383d281ca344329e28c28)
Treehugger Robot [Tue, 5 Mar 2019 02:16:42 +0000 (02:16 +0000)]
Merge "Move PublicFormat definition to libui"
Remi NGUYEN VAN [Tue, 5 Mar 2019 01:14:54 +0000 (10:14 +0900)]
Set module min_sdk_version to 28
The modules are not actually compatible with 28, but this is necessary
as tooling does not support "Q" as a version in the APK.
This will need to be changed to the new version number as soon as it is
available.
Test: m
Change-Id: I1d88f80c293b4667244d219a6989dd11be90f12a
Varun Anand [Tue, 5 Mar 2019 01:37:30 +0000 (01:37 +0000)]
Merge "Fix isActiveNetworkMetered for VPNs."
Treehugger Robot [Mon, 4 Mar 2019 22:47:16 +0000 (22:47 +0000)]
Merge "Extract android_media_Utils.cpp as a lib"
Michele Berionne [Mon, 4 Mar 2019 21:12:06 +0000 (21:12 +0000)]
Merge "Move the check on multisim support when switch configuration is done"
Brad Ebinger [Mon, 4 Mar 2019 21:02:10 +0000 (21:02 +0000)]
Merge "Update ImsSsData/ImsSsInfo API based on API council feedback."
Jordan Liu [Mon, 4 Mar 2019 20:18:50 +0000 (20:18 +0000)]
Merge "Add NonNull and Nullable annotations"
Michele Berionne [Mon, 4 Mar 2019 19:01:42 +0000 (19:01 +0000)]
Merge "Changes to APIs for CarrierRestrictionRules class"
Michele [Fri, 1 Mar 2019 06:38:33 +0000 (22:38 -0800)]
Changes to APIs for CarrierRestrictionRules class
Add @NonNull annotation where applicable.
Rename isCarrierIdentifiersAllowed into areCarrierIdentifiersAllowed.
Make Builder class final.
Bug:
126375826
Bug:
126699079
Bug:
126700761
Test: Compilation
Change-Id: I1a02bc007f147597df97eaa55c00fd31a952870b
Amit Mahajan [Mon, 4 Mar 2019 18:23:30 +0000 (18:23 +0000)]
Merge "Adding new APN type for Mission Critical Services."
Tyler Gunn [Thu, 28 Feb 2019 19:33:42 +0000 (11:33 -0800)]
Correct nullability and final constraints on new APIs.
Per API review, correct nullability and final constraints on new Telecom
APIs.
Test: Build API.
Fixes:
126700293
Fixes:
126699447
Fixes:
126700465
Fixes:
126702895
Fixes:
126702527
Change-Id: Ic19664b156410e79a307b2af0d5672dc19f93c59
Merged-In: Icec15403493de596194a61b27bb3e1031fdc1099
Treehugger Robot [Mon, 4 Mar 2019 16:22:20 +0000 (16:22 +0000)]
Merge "Fix javadoc HTML escaping."
Slava Shklyaev [Mon, 4 Mar 2019 14:42:17 +0000 (14:42 +0000)]
Merge "Revert "Revert "Revert "Correct nullability and final constraints on new APIs.""""
Slava Shklyaev [Mon, 4 Mar 2019 14:39:56 +0000 (14:39 +0000)]
Revert "Revert "Revert "Correct nullability and final constraints on new APIs."""
This reverts commit
b255be1307aeae47ca7e8ee72ab4da670a1c49f1.
Reason for revert: the commit being reverted fixed git_master but broke aosp-master. This revert is aimed to fix aosp-master while not touching git_master.
DO NOT MERGE: This change is aimed at aosp-master only and should not be merged into git_master.
Change-Id: Ie5aaabb211affe2d21daaf87809641276d9d4707
Neil Fuller [Mon, 4 Mar 2019 12:14:59 +0000 (12:14 +0000)]
Merge "Use new libcore filegroup variable"
Slava Shklyaev [Mon, 4 Mar 2019 11:49:34 +0000 (11:49 +0000)]
Merge "Revert "Revert "Correct nullability and final constraints on new APIs."""
Slava Shklyaev [Mon, 4 Mar 2019 11:47:11 +0000 (11:47 +0000)]
Revert "Revert "Correct nullability and final constraints on new APIs.""
This reverts commit
8462c66bd52f3132c3fa03475fcab2af30618f67.
Reason for revert: Looks like this change broke the build.
Change-Id: I4cff1ec1211e278d5e5734f1594c096722293662
Treehugger Robot [Mon, 4 Mar 2019 11:43:48 +0000 (11:43 +0000)]
Merge "Add @Nullable to new method"
Mark Chien [Mon, 4 Mar 2019 09:16:07 +0000 (09:16 +0000)]
Merge "Return not supported if no necessary socket option"
Jooyung Han [Mon, 4 Mar 2019 07:24:35 +0000 (16:24 +0900)]
Move PublicFormat definition to libui
PublicFormat is defined in android_view_Surface.
However this and related functions are also used in libmediandk
which is both NDK and LL-NDK. As a LL-NDK it should run without
libandroid_runtime.
By moving PublicFormat definition and its utility functions
into libui, LL-NDK can use it without cost of libandroid_runtime.
This is a part cutting dependency from libmediandk to
libandroid_runtime.
Bug:
124268753
Test: m -j
Change-Id: I49eea4325cde244a7168c6954027ee5c9a8459da
Merged-In: I49eea4325cde244a7168c6954027ee5c9a8459da
Tyler Gunn [Mon, 4 Mar 2019 05:37:44 +0000 (05:37 +0000)]
Merge "Revert "Correct nullability and final constraints on new APIs.""
Tyler Gunn [Mon, 4 Mar 2019 05:19:42 +0000 (05:19 +0000)]
Revert "Correct nullability and final constraints on new APIs."
This reverts commit
b6940c3ea6779bc6d062a430d9eebe192943f09a.
Reason for revert: There appears to be a downstream issue with how the test API definitions are created; until I can figure out how to account for this I'll revert in AOSP (this is in internal master and its fine there).
Change-Id: I840c3ed82afa18323408e161913a84858f7a1539
Tyler Gunn [Mon, 4 Mar 2019 04:13:38 +0000 (04:13 +0000)]
Merge "Correct nullability and final constraints on new APIs."
Treehugger Robot [Mon, 4 Mar 2019 01:46:23 +0000 (01:46 +0000)]
Merge "LocalLog: add overloaded dump and reverseDump methods."
Tyler Gunn [Sun, 3 Mar 2019 23:26:09 +0000 (23:26 +0000)]
Merge "Expose some APIs as test APIs to facilitate CTS"
Howard Ro [Sun, 3 Mar 2019 22:57:50 +0000 (22:57 +0000)]
Merge "Remove gaillard@google.com from OWNERS of statsd"
Mark Chien [Sun, 3 Mar 2019 06:53:47 +0000 (06:53 +0000)]
Merge "Check if DUN APN exists to decide isDunRequired"
Mark Chien [Sun, 3 Mar 2019 06:53:47 +0000 (06:53 +0000)]
Merge "Change return value of getTetherApnRequired() to a boolean."
Treehugger Robot [Sun, 3 Mar 2019 04:27:32 +0000 (04:27 +0000)]
Merge "Fixed all APIs not meeting API review requirement"
Treehugger Robot [Sat, 2 Mar 2019 05:38:21 +0000 (05:38 +0000)]
Merge "Ensure handleUpdateLinkProperties runs on the CS handler thread."
Treehugger Robot [Sat, 2 Mar 2019 03:42:22 +0000 (03:42 +0000)]
Merge "getConnectionOwnerUid: Clarify documentation"
Treehugger Robot [Sat, 2 Mar 2019 03:41:57 +0000 (03:41 +0000)]
Merge "Add @NonNull and @Nullable annotations to VpnService#Builder."
Treehugger Robot [Sat, 2 Mar 2019 03:05:18 +0000 (03:05 +0000)]
Merge "Fix Automated API Review: InetAddresses"
Andrii Kulian [Sat, 2 Mar 2019 01:52:04 +0000 (01:52 +0000)]
Merge "Revert "Revert "Revert "Enable static overlay for SettingsLib resources""""
Andrii Kulian [Sat, 2 Mar 2019 01:45:19 +0000 (01:45 +0000)]
Revert "Revert "Revert "Enable static overlay for SettingsLib resources"""
This reverts commit
007c0b0a4346a1304a09864caa71dc872bd4d18e.
Reason for revert: broke git_pi-dev-plus-aosp build
Change-Id: Iaf901d36ab37a5be6f8e0ee3c8a190f78bdd443a
Amit Mahajan [Wed, 20 Feb 2019 23:04:30 +0000 (15:04 -0800)]
Adding new APN type for Mission Critical Services.
Test: build
Bug:
124447962
Change-Id: I9f608badd363703394432640dc892a4465660b6d
Howard Ro [Sat, 2 Mar 2019 00:39:56 +0000 (16:39 -0800)]
Remove gaillard@google.com from OWNERS of statsd
Test: not needed for OWNERS change
Change-Id: I6c15067c86dc38784979d6da1265ceb0a3fc5ce5
Hall Liu [Fri, 1 Mar 2019 23:00:54 +0000 (23:00 +0000)]
Merge "API tweaks round 2"
Jack Yu [Fri, 1 Mar 2019 20:04:50 +0000 (12:04 -0800)]
Fixed all APIs not meeting API review requirement
To address the API review feedback provided by
the API council.
Bug:
126702995
Bug:
126701710
Bug:
126702357
Bug:
126701113
Bug:
126701239
Bug:
126700713
Bug:
126700064
Test: Manual
Change-Id: I4b902c1fc2c09133022b05dacdda8964436205d2
Tyler Gunn [Mon, 4 Feb 2019 23:12:06 +0000 (15:12 -0800)]
Expose some APIs as test APIs to facilitate CTS
Test: added new cts tests
Bug:
123896388
Merged-In: I742f23be57e731307338591d816f7888e198b333
Change-Id: I742f23be57e731307338591d816f7888e198b333
Treehugger Robot [Fri, 1 Mar 2019 21:56:40 +0000 (21:56 +0000)]
Merge "Preload libnativehelper.so which cannot be loaded through the Java classloader."
Treehugger Robot [Fri, 1 Mar 2019 21:48:55 +0000 (21:48 +0000)]
Merge "Revert "Revert "Enable static overlay for SettingsLib resources"""
Chen Xu [Fri, 1 Mar 2019 21:34:29 +0000 (21:34 +0000)]
Merge "add Nullable annotation to TelephonyAPIs"
Michele [Fri, 1 Mar 2019 21:01:51 +0000 (13:01 -0800)]
Move the check on multisim support when switch configuration is done
The methods switchMultiSimConfig() and isMultisimSupported() in
TelephonyManager have different permissions. So, in order to check if
the switch operation can be performed, the check needs to be moved after
the verification of the permissions.
Bug:
124462964
Test: compilation
Change-Id: I501110d8b3fb2d26e4dfe187b52bb45dc8b5dc4b
Tyler Gunn [Thu, 28 Feb 2019 19:33:42 +0000 (11:33 -0800)]
Correct nullability and final constraints on new APIs.
Per API review, correct nullability and final constraints on new Telecom
APIs.
Test: Build API.
Fixes:
126700293
Fixes:
126699447
Fixes:
126700465
Fixes:
126702895
Fixes:
126702527
Change-Id: Icec15403493de596194a61b27bb3e1031fdc1099
Merged-In: Icec15403493de596194a61b27bb3e1031fdc1099
Martin Stjernholm [Fri, 1 Mar 2019 18:32:35 +0000 (18:32 +0000)]
Preload libnativehelper.so which cannot be loaded through the Java classloader.
Test: atest CtsHardwareTestCases (between 2 and 4 failing tests, but that
happens on clean ToT too; no dlopen failures)
Bug:
126601993
Change-Id: Icfe58fad93b97992e39758c02c92c488a13c717f
Roland Levillain [Fri, 1 Mar 2019 19:17:26 +0000 (19:17 +0000)]
Merge changes I2eef0a3c,I263a1774
* changes:
Also check Zygote runtime options when testing flag `enable_apex_image`.
Refactor Zygote runtime option checking in runtime_native_boot-flags-test.sh.
Varun Anand [Fri, 1 Mar 2019 07:40:56 +0000 (23:40 -0800)]
Add @NonNull and @Nullable annotations to VpnService#Builder.
Bug:
126699070
Test: n/a
Change-Id: Ief0066636ca6ae4fefbdf70b8dfdfacf2a44e0e6
chen xu [Fri, 1 Mar 2019 01:10:22 +0000 (17:10 -0800)]
add Nullable annotation to TelephonyAPIs
Bug:
126702627
Test: Build
Change-Id: I0fa9370840ceda70b181976fa671cd962bdfcbca
Treehugger Robot [Fri, 1 Mar 2019 18:23:34 +0000 (18:23 +0000)]
Merge "Migrate frameworks/base/tests/testables and its users to androidx.test"
Treehugger Robot [Fri, 1 Mar 2019 17:39:49 +0000 (17:39 +0000)]
Merge "Add euicc privileged actions and extras."
Brett Chabot [Tue, 26 Feb 2019 22:52:33 +0000 (14:52 -0800)]
Migrate frameworks/base/tests/testables and its users to androidx.test
See go/jetpack-test-android-migration
Test: atest TestablesTests NetworkStackTests FrameworksServicesTests SystemUITests FrameworksUiServicesTests ExtServicesUnitTests
Exempt-From-Owner-Approval: already reviewed
Change-Id: I083fcdaa71b503535aa2b3c257740f3ecf055373
Merged-In: Ib04d80954bd8536914d88c66b28e6632e60a6245
Brad Ebinger [Fri, 1 Mar 2019 17:21:17 +0000 (17:21 +0000)]
Merge "Fix ImsMmTelManager API in accordance with the council"
Dongwon Kang [Fri, 1 Mar 2019 17:09:29 +0000 (17:09 +0000)]
Merge "Make Uri.toSafeString() also handle 'rtsp'"
Roland Levillain [Fri, 1 Mar 2019 15:38:54 +0000 (15:38 +0000)]
Also check Zygote runtime options when testing flag `enable_apex_image`.
Test: core/jni/runtime_native_boot-flags-test.sh
Bug:
119800099
Change-Id: I2eef0a3c1f5254b5e270b35477649047c9db40a6
Roland Levillain [Fri, 1 Mar 2019 15:33:40 +0000 (15:33 +0000)]
Refactor Zygote runtime option checking in runtime_native_boot-flags-test.sh.
Generalize runtime option checking functions, so that they can be used
to check options other than the ones starting with `-Xgc:`
Test: core/jni/runtime_native_boot-flags-test.sh
Bug:
72446017
Bug:
120794191
Bug:
123754583
Bug:
119800099
Change-Id: I263a177486f8e24ce92928973f7c8853baf0983b
Adam Vartanian [Fri, 1 Mar 2019 13:58:28 +0000 (13:58 +0000)]
Add @Nullable to new method
Add @Nullable to a newly-added method, as requested by API council.
Bug:
126698875
Test: make
Change-Id: I2e72ea457b5adaceea70d9908bb8e2cac2e0d963
Nicolas Geoffray [Fri, 1 Mar 2019 14:44:49 +0000 (14:44 +0000)]
Merge "Support dexopting shared libraries."
Paul Duffin [Fri, 1 Mar 2019 14:24:16 +0000 (14:24 +0000)]
Merge "Switch android.test and junit classes to use UnsupportedAppUsage"
Roland Levillain [Fri, 1 Mar 2019 14:22:49 +0000 (14:22 +0000)]
Merge changes I10c6ed68,I14d6defe
* changes:
Check Android Runtime (Boot) device configuration flag `enable_apex_image`.
Refactor unit test for Android Runtime (Boot) device configuration flags.
Paul Duffin [Fri, 1 Mar 2019 13:52:25 +0000 (13:52 +0000)]
Fix Automated API Review: InetAddresses
Add @NonNull annotations as required by the automated review.
Bug:
126702338
Test: make checkbuild
Change-Id: I9057f06de8d7ea846af00d5cefa744d4206b4b63
Paul Duffin [Fri, 15 Feb 2019 12:58:26 +0000 (12:58 +0000)]
Switch android.test and junit classes to use UnsupportedAppUsage
The UnsupportedAppUsage annotations could not be added directly to the
java files in src/ as they have to be built against the current api
which does not include the annotation. Instead this uses the same
technique as used for libcore/ojluni files and adds the annotations to
stub files (in hiddenapi/src) which are built as part of the
android.test.base-hiddenapi target. That target is added to a special
whitelist in build/soong/java/config/config.go which causes the
hiddenapi information to be extracted from the target.
Also, updates the preupload check to prevent anymore entries being
added to the config/hiddenapi-greylist.txt for android.test or junit
classes.
Bug:
73711752
Test: m cts-hiddenapi_flags-csv and check that it contained the
correct entries even though they had been removed from
config/hiddenapi-greylist.txt
Change-Id: Ifaf15d2751f54cb03f8402b866a0ee4da7acc4d2
Nicolas Geoffray [Tue, 26 Feb 2019 23:24:34 +0000 (23:24 +0000)]
Support dexopting shared libraries.
Test: adb shell setprop dalvik.vm.boot-image /system/framework/apex.art && see compilations in dalvik-cache
Test: BackgroundDexOptServiceIntegrationTests
Test: DexoptUtilsTest
Bug:
119800099
Change-Id: I3445b8743d576e09c9a339602307ba3a219db1fc
Remi NGUYEN VAN [Fri, 1 Mar 2019 06:43:21 +0000 (06:43 +0000)]
Merge "Set NetworkStack targetSdk to 28"
Patrick Huang [Fri, 1 Mar 2019 03:51:10 +0000 (19:51 -0800)]
Add euicc privileged actions and extras.
Bug:
122769846
Test: Test on phone
Change-Id: Ifcf6575c3c65cb38e8787e32bc04b0e4532f7170
Merged-In: Ifcf6575c3c65cb38e8787e32bc04b0e4532f7170
Varun Anand [Fri, 1 Mar 2019 03:06:06 +0000 (03:06 +0000)]
Merge "Remove ConnectivityManager and its usages from NetworkStatsService."
Hall Liu [Fri, 1 Mar 2019 02:54:15 +0000 (18:54 -0800)]
API tweaks round 2
Add nullability annotations and change a static constant to a method
that returns a value.
Fixes:
126702861
Fixes:
126699926
Fixes:
126698717
Fixes:
126699057
Fixes:
126701443
Fixes:
126700882
Test: compiles
Change-Id: I96396eb8890b8b5148cf74447e08c31983398e47
Remi NGUYEN VAN [Fri, 1 Mar 2019 01:01:24 +0000 (10:01 +0900)]
Set NetworkStack targetSdk to 28
Test: flashed, booted, WiFi works
Change-Id: I7bbd7eb563432a290358d16652c0ae69e9772002
Chen Xu [Fri, 1 Mar 2019 02:17:33 +0000 (02:17 +0000)]
Merge "add NonNull and Nullable annotation to APIs"
Nathan Harold [Fri, 1 Mar 2019 01:15:47 +0000 (01:15 +0000)]
Merge "Add a Constant for CellInfo#UNAVAILABLE_LONG"
eunyoung.moon [Thu, 14 Feb 2019 06:02:59 +0000 (15:02 +0900)]
Make Uri.toSafeString() also handle 'rtsp'
Bug:
123669012
Test: atest CtsNetTestCases:android.net.cts.UriTest
Change-Id: I082bdbd55589f6b99a8cf5fc68c897477f2fa792
Signed-off-by: Eunyoung Moon <eunyoung.moon@lge.com>
Treehugger Robot [Fri, 1 Mar 2019 00:45:51 +0000 (00:45 +0000)]
Merge "Fix to hide phone number printed in the log"
Takamasa Kuramitsu [Fri, 1 Mar 2019 00:23:58 +0000 (00:23 +0000)]
Revert "Revert "Enable static overlay for SettingsLib resources""
This reverts commit
086c189e20b27209c07af08264050f6c7b60cf48.
Fixes:
116821732
Reason for revert: blocking issue in b/
124370422 is resolved
Change-Id: I9ce03ce19b36f08640142c52d759386b83a2c55e
Treehugger Robot [Fri, 1 Mar 2019 00:19:01 +0000 (00:19 +0000)]
Merge "revert "HLS seeking: call readAt() on new thread""
Varun Anand [Thu, 7 Feb 2019 22:13:13 +0000 (14:13 -0800)]
Remove ConnectivityManager and its usages from NetworkStatsService.
NSS needed it for getting VpnInfo[], NetworkState[] and
activeLinkProperties which it used to query via ConnectivityManager.
For VpnInfo[], this was racy as NSS may ignore intermediate changes to a
VPN's underlying networks. See http://b/
123961098 for more context.
It may also lead to deadlocks b/w ConnectivityService and
NetworkStatsService. See http://b/
126245192 for more info.
This change will ensure that NSS is never contending on any of
ConnectivityService locks.
Bug:
123961098
Bug:
126245192
Bug:
120145746
Test: atest FrameworksNetTests
Change-Id: Id1da446b54d95ee68ed14079107b1a10318bcf8b
Merged-In: I57e117bb4e9efe491b19d6b5a479f2d58d1c58e6
Brad Ebinger [Thu, 28 Feb 2019 22:31:56 +0000 (14:31 -0800)]
Update ImsSsData/ImsSsInfo API based on API council feedback.
Bug:
126699932
Bug:
126702587
Bug:
126701185
Bug:
126702997
Test: atest FrameworksTelephonyTests
Change-Id: I8500c2905bbc34d9033e2869b51d38b8d9b4727f
Evan Laird [Thu, 28 Feb 2019 23:03:13 +0000 (23:03 +0000)]
Merge "Show mobile icons with left-to-right in order of slot index"
chen xu [Thu, 28 Feb 2019 18:44:54 +0000 (10:44 -0800)]
add NonNull and Nullable annotation to APIs
Bug:
126699430
Bug:
126699963
Bug:
126700457
Bug:
126700771
Bug:
126702453
Bug:
123939479
Test: Build
Change-Id: Ib429d2918e63f8d272fc7842b0abd83ffd5a9090
Jordan Liu [Thu, 28 Feb 2019 19:38:40 +0000 (11:38 -0800)]
Add NonNull and Nullable annotations
Fixes:
126700810
Fixes:
126699781
Fixes:
126701115
Fixes:
126701034
Fixes:
126702858
Test: No behavior change
Change-Id: Ia590d660fbf5ed261ca2c44eed390397fe1ffba2
Varun Anand [Tue, 26 Feb 2019 01:22:02 +0000 (17:22 -0800)]
Fix isActiveNetworkMetered for VPNs.
This change is basically a revert of http://ag/
3580901.
It was made because previously VPN capabilities did not use to update
based on its underlying networks. That is no longer the case anymore.
This was previously returning meteredness on the basis of VPN's first
underlying network which is incorrect in cases such as VPN using
multiple underlying networks, or VPN that has explicitly marked itself
as metered via VpnService.Builder#setMetered API.
Bug:
123936838
Test: atest FrameworksNetTests
Change-Id: Ia54b8570fbad4a638a6d43a95e0271c6baf66685
Roland Levillain [Thu, 28 Feb 2019 20:52:41 +0000 (20:52 +0000)]
Check Android Runtime (Boot) device configuration flag `enable_apex_image`.
Test: core/jni/runtime_native_boot-flags-test.sh
Bug:
119800099
Change-Id: I10c6ed68eceebef14207bc38cab4e96fb2f75939
Roland Levillain [Thu, 28 Feb 2019 20:49:11 +0000 (20:49 +0000)]
Refactor unit test for Android Runtime (Boot) device configuration flags.
This is in preparation of checking other device configuration flags.
Test: core/jni/runtime_native_boot-flags-test.sh
Bug:
72446017
Bug:
120794191
Bug:
123754583
Bug:
119800099
Change-Id: I14d6defe5f7e9fcf2f3dd27a4d0fae81f2aec596
Brad Ebinger [Thu, 21 Feb 2019 22:31:02 +0000 (14:31 -0800)]
Fix ImsMmTelManager API in accordance with the council
Bug:
121190195
Test: atest FrameworksTelephonyTests
Merged-In: I5d011e1875c082a4532747e30e8582ff3da4ee93
Change-Id: I5d011e1875c082a4532747e30e8582ff3da4ee93
Fan Zhang [Thu, 28 Feb 2019 17:48:16 +0000 (17:48 +0000)]
Merge "Update statusbar color,nav divider color of settings theme"
Alan Stokes [Thu, 28 Feb 2019 16:45:47 +0000 (16:45 +0000)]
Fix javadoc HTML escaping.
HTLM special characters ('<', '>' and '&') don't need to be escaped
inside {@code}, even though they do elsewhere in javadoc. And in fact
they shouldn't be - because if they are escaped then the escaped
version shows up verbatim in the developer docs.
See for example:
https://developer.android.com/reference/android/graphics/drawable/GradientDrawable
https://developer.android.com/reference/android/support/v13/view/inputmethod/InputConnectionCompat
This change just removes the escaping to fix the public documentation.
Test: N/A (only comment lines changed)
Change-Id: I131b3b3e26547e30cff7b67514d177c48926bb26
David Brazdil [Thu, 28 Feb 2019 17:14:25 +0000 (17:14 +0000)]
Merge "Move ApplicationInfo to params in AppComponentFactory"
Baligh Uddin [Thu, 28 Feb 2019 15:54:28 +0000 (15:54 +0000)]
Merge "Set networking module APKs version to 10"
Adrian Roos [Thu, 28 Feb 2019 15:27:18 +0000 (15:27 +0000)]
Merge "Apilint: Lint missing nullability annotations"
Treehugger Robot [Thu, 28 Feb 2019 13:34:52 +0000 (13:34 +0000)]
Merge "Fix broken javadoc links"
Treehugger Robot [Thu, 28 Feb 2019 13:01:02 +0000 (13:01 +0000)]
Merge "Update annotations for UiccCardInfo APIs"
Adrian Roos [Thu, 28 Feb 2019 11:41:48 +0000 (12:41 +0100)]
Apilint: report all implemented interfaces and fix false positives
Test: python apilint_test.py
Adrian Roos [Thu, 28 Feb 2019 11:42:22 +0000 (12:42 +0100)]
Apilint: properly parse packages with numbers
Test: python apilint_tests.py
Change-Id: Ib0ad635e3994bbcbfecefddbd4899c3551ab65cf