OSDN Git Service
Calin Juravle [Wed, 6 Jun 2018 15:09:17 +0000 (15:09 +0000)]
Merge "Remove sun.nio.fs.UnixChannelFactory from preloaded-classes" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 14:59:10 +0000 (14:59 +0000)]
Merge "Consider icon scale when calculating icon offset in shelf" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 14:54:35 +0000 (14:54 +0000)]
Merge "Wi-Fi, now corporeal!" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 14:51:33 +0000 (14:51 +0000)]
Merge "Allow instant apps to send broadcasts to themselves" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 14:40:12 +0000 (14:40 +0000)]
Merge "Fix repeated calls into reportExtractedText" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 13:51:23 +0000 (13:51 +0000)]
Merge "Support seamless handover between VPN fds." into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 13:46:42 +0000 (13:46 +0000)]
Merge "Further interruptiveness changes" into pi-dev
Calin Juravle [Wed, 6 Jun 2018 13:13:39 +0000 (06:13 -0700)]
Remove sun.nio.fs.UnixChannelFactory from preloaded-classes
The tests use the preloaded classes to create the core image and
that leads to UnixChannelFactory being initialized despite the
fact that FileDescriptor is not. This manifests with a null pointer
crash in tests.
Bug:
80495283
Test: m test-art-host
Change-Id: I785104e6c69c605b16357a9557b203b489972261
TreeHugger Robot [Wed, 6 Jun 2018 12:57:55 +0000 (12:57 +0000)]
Merge "Notify WM that app is delayed closing due to the possibility of PIP." into pi-dev
Nicolas Geoffray [Wed, 6 Jun 2018 08:17:22 +0000 (09:17 +0100)]
Add 3 more APIs to light grey.
bug:
109746802
Test: m
Change-Id: I9b9fbed705adc59c5266378b576fc437c5078184
Junyu Lai [Wed, 6 Jun 2018 06:36:39 +0000 (06:36 +0000)]
Merge "Copy clat modified linkProperties into new one." into pi-dev
Martijn Coenen [Wed, 6 Jun 2018 05:33:14 +0000 (05:33 +0000)]
Merge "Serialize calls into BinderProxy." into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 04:12:31 +0000 (04:12 +0000)]
Merge "Randomize the local Wifi IPv4 address" into pi-dev
junyulai [Tue, 5 Jun 2018 08:10:04 +0000 (16:10 +0800)]
Copy clat modified linkProperties into new one.
updateLinkProperties copied the linkProperties in networkAgent,
but the clat fix-up function did not copy stacked link into new one.
This caused an incorrect clat iface removal, and the IPv4 network
to be unreachable.
Bug:
80261579
Test: 1. ping after ipv6 only data call with 2g voice call on/off
2. runtest frameworks-net
3. run cts -m CtsNetTestCases
Change-Id: Ide47a3b0680dddfcf3e2e759a59b19aee3605050
Erik Kline [Tue, 29 May 2018 10:24:43 +0000 (19:24 +0900)]
Randomize the local Wifi IPv4 address
Also: address a few "error prone" warnings, adding @Override where missing
Test: as follows
- built, flashed, booted
- wifi tethering uses a randomized address, DHCPv4 and DNS works
Bug:
32163131
Bug:
70673901
Merged-In: I47d75c32ccd4bcbbb2f05637fcbae216d7e15015
Merged-In: I8f8397978a13c8b2303dfcd950700b447ea61d3c
Change-Id: Icfabc48f2cf97b362ce292747f47021e84b900da
TreeHugger Robot [Wed, 6 Jun 2018 03:09:48 +0000 (03:09 +0000)]
Merge "Allow instant apps to launch instant apps" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 02:20:42 +0000 (02:20 +0000)]
Merge "Fix DefaultPermissionGrantPolicyTest" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 00:44:46 +0000 (00:44 +0000)]
Merge "Suppress AID log on adb logcat" into pi-dev
Atanas Kirilov [Wed, 6 Jun 2018 00:39:01 +0000 (17:39 -0700)]
[automerger skipped] Merge changes from topic "am-
f5dc500e-4d32-4849-891e-
c618cef666de" into oc-dev am:
c3b4881ea5 am:
4f74605d11
am:
94fbd36ef8 -s ours
Change-Id: I6ebb4b10741f702572574076cebe711605c01a2e
TreeHugger Robot [Wed, 6 Jun 2018 00:24:40 +0000 (00:24 +0000)]
Merge "Log FIELD_AUTOFILL_SESSION_ID as string." into pi-dev
Eugene Susla [Wed, 6 Jun 2018 00:06:02 +0000 (17:06 -0700)]
Fix DefaultPermissionGrantPolicyTest
Fixes:
109665265
Test: check afterwards that the failure no longer occurs
Change-Id: I8ddb3052fa505ea4cd0a799a9225ca7991657141
Todd Kennedy [Mon, 4 Jun 2018 21:26:24 +0000 (14:26 -0700)]
Allow instant apps to launch instant apps
Instant apps should be able to launch other instant apps indirectly
using a web URI or with the MATCH_EXTERNAL flag set..
Change-Id: I2566937dd5d47076701c49435365dedd8593067a
Fixes:
92742631
Test: atest CtsAppSecurityHostTestCases:EphemeralTest
Dianne Hackborn [Tue, 5 Jun 2018 23:14:13 +0000 (23:14 +0000)]
Merge "Fix issue #
109746350: startWatchingMode fails on P" into pi-dev
Ying Zheng [Tue, 5 Jun 2018 22:58:31 +0000 (22:58 +0000)]
Merge "Fix a calling loop for getAllUsers." into pi-dev
TreeHugger Robot [Tue, 5 Jun 2018 22:55:44 +0000 (22:55 +0000)]
Merge "Delay pruning direct share targets." into pi-dev
Atanas Kirilov [Tue, 5 Jun 2018 22:38:16 +0000 (15:38 -0700)]
Merge changes from topic "am-
f5dc500e-4d32-4849-891e-
c618cef666de" into oc-dev am:
c3b4881ea5
am:
4f74605d11
Change-Id: Id25fb236775c0055f6d9d32b9c67aab5c9acf570
Wale Ogunwale [Tue, 5 Jun 2018 22:28:03 +0000 (22:28 +0000)]
Merge "Revert "Enable WM.DEBUG_WALLPAPER_LIGHT logs"" into pi-dev
Felipe Leme [Tue, 5 Jun 2018 22:14:21 +0000 (15:14 -0700)]
Log FIELD_AUTOFILL_SESSION_ID as string.
Test: adb shell logcat -b events | grep 1456 # Example:
06-05 22:20:19.760 15733 16200 I sysui_multi_action: [757,906,758,4,806,com.example.android.autofill.app,871,com.example.android.autofill.app.commoncases.StandardSignInActivity,908,com.example.android.autofill.service,1452,0,1456,
2033624394]
Fixes:
80093094
Change-Id: I784fa5549193e0bae0ed453b21d3d2c8fb01035c
Atanas Kirilov [Tue, 5 Jun 2018 21:24:30 +0000 (14:24 -0700)]
Merge changes from topic "am-
f5dc500e-4d32-4849-891e-
c618cef666de" into oc-dev
am:
c3b4881ea5
Change-Id: Ia58465b88ef5334753094719f4fdbb175b423f24
Svet Ganov [Tue, 5 Jun 2018 01:18:34 +0000 (18:18 -0700)]
Don't access keyguard from instant apps.
Test: manual
bug:
109652548
Change-Id: Ife1302e39e4f71f66d032619068a7e0214856b32
Dianne Hackborn [Tue, 5 Jun 2018 20:21:16 +0000 (13:21 -0700)]
Fix issue #
109746350: startWatchingMode fails on P
Remove permission check, reverting to O behavior.
Bug:
109746350
Test: manual
Change-Id: I643321d508abc5fac5df83f4df3605ad8252e378
Atanas Kirilov [Tue, 5 Jun 2018 19:37:52 +0000 (19:37 +0000)]
Merge changes from topic "am-
f5dc500e-4d32-4849-891e-
c618cef666de" into oc-dev
* changes:
[automerger] Make safe label more safe am:
2263da9539 am:
05086b1008 am:
77f449068a am:
46f4563313 am:
6be1d6713f
[automerger] Make safe label more safe am:
2263da9539 am:
05086b1008 am:
77f449068a am:
46f4563313
[automerger] Make safe label more safe am:
2263da9539 am:
05086b1008 am:
77f449068a
[automerger] Make safe label more safe am:
2263da9539 am:
05086b1008
[automerger] Make safe label more safe am:
2263da9539
Make safe label more safe
Dan Sandler [Tue, 5 Jun 2018 02:13:40 +0000 (22:13 -0400)]
Delay pruning direct share targets.
Pruning was intended to remove targets corresponding to
now-missing packages, but in practice causes the list to
briefly disappear any time packages change:
PACKAGE_CHANGED ->
ResolverActivity.rebuildList() ->
ChooserActivity.onListRebuilt() with an empty
ResolverActivity.mDisplayList
In practice package changes happen all the time, so this
jank happens fairly often. (It contributed to b/
67622422 as
well, since all this list rebuilding started animations that
locked out user input.)
This CL removes the old pruning process (comparing targets
against mDisplayList). Instead, we note that mDisplayList
got emptied, and lazily empty our own mServiceTargets once
we start getting responses back from all the services we
just re-queried.
The long-term fix here is to just rebuild all of this stuff.
Test: (1) share from Chrome
(2) toggle the enable state of some random package
to trigger PACKAGE_CHANGED, e.g.
adb shell pm (enable|disable) com.android.egg
(3) watch for jank
Bug:
109676071
Change-Id: Ie9d59b8f4b8cc8343beb40cbad6b8d52e5639082
Ying Zheng [Tue, 5 Jun 2018 18:47:40 +0000 (11:47 -0700)]
Fix a calling loop for getAllUsers.
Bug:
109698349
Test: Manual
Change-Id: Id5def3c876ccfb390dd91f7cb24ebd43ebdeaef0
Winson Chung [Tue, 5 Jun 2018 18:12:16 +0000 (18:12 +0000)]
Merge "Allow the system recents component to fetch info for user and profiles" into pi-dev
Akinobu Nakashima [Fri, 1 Jun 2018 07:35:10 +0000 (16:35 +0900)]
Suppress AID log on adb logcat
When NFC event transaction intent is sent,
the device shows AID information on logcat.
But such information should not be shown for security reasons.
Test: Send NFC EventTransaction and check logcat
Bug:
80551185
Change-Id: I8d1f9c1946bb1514e3a6bfa70fff03be4525d6b5
(cherry picked from commit
37e702861579fddfd275143c2421ca53f27cb41c)
Jiyong Park [Tue, 5 Jun 2018 17:37:24 +0000 (17:37 +0000)]
Merge "Fix: vendor public libraries are accessible via System.loadLibrary" into pi-dev
chaviw [Wed, 30 May 2018 18:05:44 +0000 (11:05 -0700)]
Notify WM that app is delayed closing due to the possibility of PIP.
WM determines the IME target after it sets up all the app transitions
and handles visiblity. In most cases, this is fine since everything is
set up properly at once. However, in cases where the app can enter PIP,
the transition to close the app is delayed in case the app decides to
enter PIP. In this case AM needs to notify WM of this information so it
can properly calculate the IME target when the app transitions aren't
fully set up.
The specific usecase is the following:
1. App with the ability to enter PIP is open with IME
2. Home is pressed.
3. Launcher is brought to the front, previous app is not yet hidden
since the close is delayed.
4. IME is recalculated and doesn't see any closing app. IME is
targeted to launcher.
5. Prevous app is ready to close.
By this point, the IME was already incorrectly targeting launcher, which
causes the flicker since IME will get set relative to launcher.
Test: Open Chrome with IME. Press home. No flicker.
Change-Id: Ie3553b0a01ad567d8b34c3453ad838b88684e79d
Fixes:
80352830
Lorenzo Colitti [Fri, 22 Sep 2017 12:27:32 +0000 (21:27 +0900)]
Support seamless handover between VPN fds.
This used to work before SOCK_DESTROY allowed us to close
connections when VPNs connected and disconnected. Instead of
doing this like the old code did by registering a new
NetworkAgent, support (limited) seamless handover on the
same NetworkAgent and netId.
Bug:
64692591
Test: cts-tradefed run commandAndExit cts-dev -m CtsHostsideNetworkTests -t com.android.cts.net.HostsideVpnTests#testSeamlessHandover
Change-Id: Idad0ec5946e7eb9e1f4a13c92ea7138de6a46f16
TreeHugger Robot [Tue, 5 Jun 2018 13:22:28 +0000 (13:22 +0000)]
Merge "Improve KeyChain documentation" into pi-dev
Nicolas Geoffray [Tue, 5 Jun 2018 13:15:24 +0000 (13:15 +0000)]
Merge "Add camera APIs to light grey." into pi-dev
Julia Reynolds [Mon, 4 Jun 2018 16:27:58 +0000 (12:27 -0400)]
Further interruptiveness changes
- Compare strings instead of CharSequences in actions
- Ignore changes to remote input choices
- Ignore updates to summaries
Test: runtest systemui-notification
Change-Id: I33a29ee85d93658b2c7217a4ef3b300c9bd2850c
Fixes:
78643290
Clara Bayarri [Mon, 4 Jun 2018 14:00:07 +0000 (15:00 +0100)]
Fix repeated calls into reportExtractedText
As part of adding the hint text feature in
I357dd5c74b61d149cf8612d1f52c7118ec70c696 I refactored
the code inside reportExtractedText to avoid nesting but lost one
of the condition checks in the process. Since onDraw calls into
this method on each frame, the missing check was causing calls to be
made into the IME even when no content or selection changes have
happened.
Test: CtsWidgetTestCases:.TextViewTest
Bug:
73613936
Change-Id: If56e3f1d45e64dccd052e4cff4d742f0cbecc07c
Mihai Popa [Tue, 5 Jun 2018 12:17:27 +0000 (05:17 -0700)]
[automerger skipped] Merge "Optimise the hit test algorithm" into oc-dev am:
6064d8fd4c am:
0348259446 -s ours
am:
86c2ef5bde -s ours
Change-Id: I334cf06de7d1e48eb52710c5844daa2b32b5b07c
Mihai Popa [Tue, 5 Jun 2018 11:51:17 +0000 (04:51 -0700)]
[automerger skipped] Merge "Optimise the hit test algorithm" into oc-dev am:
6064d8fd4c
am:
0348259446 -s ours
Change-Id: I7ddad2c5dd22f31c812683c4a715dc7738605ff9
Mihai Popa [Tue, 5 Jun 2018 11:39:29 +0000 (04:39 -0700)]
Merge "Optimise the hit test algorithm" into oc-dev
am:
6064d8fd4c
Change-Id: I465c15edb18c3084e6b8cbf1f42c0c2c1ebea4eb
Mihai Popa [Tue, 5 Jun 2018 11:38:11 +0000 (04:38 -0700)]
[automerger skipped] Merge "Optimise the hit test algorithm" into oc-mr1-dev
am:
bbfee3189d -s ours
Change-Id: I46ea8080731ca5cd9690dff3e60953f1b2d7e930
Jorim Jaggi [Tue, 5 Jun 2018 11:32:55 +0000 (11:32 +0000)]
Merge "Crashing can not override Keyguard transit" into pi-dev
TreeHugger Robot [Tue, 5 Jun 2018 11:28:42 +0000 (11:28 +0000)]
Merge "Optimise the hit test algorithm" into oc-dev
TreeHugger Robot [Tue, 5 Jun 2018 11:28:11 +0000 (11:28 +0000)]
Merge "Optimise the hit test algorithm" into oc-mr1-dev
TreeHugger Robot [Tue, 5 Jun 2018 11:24:19 +0000 (11:24 +0000)]
Merge "Optimise the hit test algorithm" into pi-dev
Jorim Jaggi [Tue, 5 Jun 2018 10:55:38 +0000 (10:55 +0000)]
Merge "Defer stop for all activities becoming invisible" into pi-dev
Martijn Coenen [Tue, 5 Jun 2018 09:02:23 +0000 (11:02 +0200)]
Serialize calls into BinderProxy.
The BinderProxy class is not thread-safe, hence all calls into it
must be serialized. This was achieved by holding the gProxyLock in
JNI code. However, a recent change added calls into BinderProxy
from ActivityManagerService without holding that lock, causing
ConcurrentModificationExceptions.
Instead of dumping debug info from AMS, make the call directly
from JNI, so we can make sure gProxyLock is held correctly.
Also, only dump on debug builds.
Bug:
71353150
Bug:
109701487
Test: sailfish builds, boots, info gets dumped with lowered limits.
Change-Id: I446a71ce4115b9936a01a170401ef98ba3818c0b
Nicolas Geoffray [Tue, 5 Jun 2018 08:10:25 +0000 (09:10 +0100)]
Add camera APIs to light grey.
bug:
79935371
Test: m
Change-Id: I1b29664d711b168ff36ed68d111524c8357c3c20
Makoto Onuki [Tue, 5 Jun 2018 01:29:48 +0000 (01:29 +0000)]
Merge "Allow except-idle whitelisted apps to start BG services in EBS" into pi-dev
Svet Ganov [Mon, 4 Jun 2018 04:09:55 +0000 (21:09 -0700)]
Allow instant apps to send broadcasts to themselves
When resolving the broadcast targets we did not consider instant apps
even if the source is an instant app. This prevents the case of the
instant app sending the broadcast to itself. The broadcast queue already
enforces that if the broadcast is not from a full app that wants to
advertise to instant apps or not from an instant app sending it to itself
then it is not dispatched. Hence, the broadcast queue already determines
the right targeting. This change makes sure that if the source is an
instant app we also resolve instant apps and then the targeting logic
in the boradcast queue would ensure that an instant app can only send
a boradcast to its own UID.
Test: cts-instant-tradefed run cts-instant-dev -m CtsBackgroundRestrictionsTestCases
-t android.app.cts.backgroundrestrictions.BroadcastsTest
#testNonSupportedBroadcastsNotDelivered_manifestReceiver
bug:
109583877
Change-Id: Ifb7230df87c4721e4c05d77b5957d825f3846ca7
TreeHugger Robot [Mon, 4 Jun 2018 23:35:15 +0000 (23:35 +0000)]
Merge "Ensure automatic battery saver won't stick" into pi-dev
TreeHugger Robot [Mon, 4 Jun 2018 23:27:42 +0000 (23:27 +0000)]
Merge "Revert "Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS"" into pi-dev
Ying Zheng [Mon, 4 Jun 2018 23:21:44 +0000 (23:21 +0000)]
Merge "Read build flag to determine user model." into pi-dev
Ying Zheng [Fri, 1 Jun 2018 22:55:30 +0000 (15:55 -0700)]
Read build flag to determine user model.
Bug:
109698349
Test: Manual
Change-Id: I180b6a877ead576b0ed1292376fe0e74b0df1fd9
Winson Chung [Mon, 4 Jun 2018 22:31:54 +0000 (15:31 -0700)]
Allow the system recents component to fetch info for user and profiles
- The recents component may need to fetch application info for the current
user and its profiles.
Bug:
109660818
Test: atest CtsAppSecurityHostTestCases:ApplicationVisibilityTest
Change-Id: I7017d40fd2a7ac0d4f288bec21a4bc5cd93c446e
Makoto Onuki [Mon, 4 Jun 2018 21:44:19 +0000 (14:44 -0700)]
Allow except-idle whitelisted apps to start BG services in EBS
Change-Id: I8dd42f48cf13c97b4e428afbf29838f442d8731b
Fixes:
80420676
Test: dumpsys activity processes| grep mDeviceIdle
mDeviceIdleWhitelist=[1000, 1001, 2000, 10028, 10035, 10036, 10042, 10053, 10137, 10138, 10139, 10142]
mDeviceIdleExceptIdleWhitelist=[1000, 1001, 2000, 10006, 10008, 10014, 10016, 10028, 10035, 10036, 10042, 10047, 10053, 10058, 10060, 10070, 10111, 10137, 10138, 10139, 10142]
Test: Manual test with "DEBUG_BACKGROUND_CHECK = true" and
am startservice 'com.android.vending/com.google.android.finsky.hygiene.DailyHygiene\$DailyHygieneService'
then check the whitelist log.
Andrii Kulian [Mon, 4 Jun 2018 21:55:13 +0000 (21:55 +0000)]
Merge "Defer client visibility update when calculating new config" into pi-dev
Evan Laird [Mon, 4 Jun 2018 21:54:42 +0000 (17:54 -0400)]
Wi-Fi, now corporeal!
Given a state where the Wi-Fi icon could overflow (i.e. on the lock
screen with mobile data and other icons showing:
Killing the sysui process could cause the whole wifi icon to become
hidden, and it never was unhidden.
Test: With the overflow space in use, `adb shell kill $(pid com.android.systemui)`
Change-Id: I026923b3dae16b9afa1a5acc3bd88887816a6391
Fixes:
80577291
TreeHugger Robot [Mon, 4 Jun 2018 21:30:17 +0000 (21:30 +0000)]
Merge "New behavior of setSynchronousMode" into pi-dev
Makoto Onuki [Mon, 4 Jun 2018 20:54:25 +0000 (13:54 -0700)]
Ensure automatic battery saver won't stick
Fixes:
80527470
Test: Manual tests:
Test 1: (make sure automatic BS won't stick)
- Set up automatic battery saver at N%
- Wait until the battery goes below N% -> Battery saver will turn on
- Turn off the device
- Charge it until the battery goes above N%
- Turn on the device
- Make sure battery saver is off.
Test 1: (make sure manual BS will stick)
- Make sure the battery level is above the automatic threshold
- Manually enable BS
- Reboot
- Make sure battery saver is on.
Change-Id: I677fd586f6b25d0200392941cac2d13b57fe10b3
Hongming Jin [Mon, 4 Jun 2018 20:38:46 +0000 (20:38 +0000)]
Merge "Add shell command handler for account manager to allow enabling service binding for instant app. Test: cts-tradefed run cts -m CtsAccountManagerTestCases cts-instant-tradefed run cts-instant -m CtsAccountManagerTestCases Bug:
79367659" into pi-dev
Andrew Sapperstein [Mon, 4 Jun 2018 20:33:58 +0000 (20:33 +0000)]
Revert "Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS"
This reverts commit
44c4ca41d83d73d7c1d0e217a80a46a449e8c475.
Reason for revert: Wanted to go with a different option and this was mistakenly Dr. No'ed.
Bug:
80444486
Test: clean revert
Change-Id: I7fdd13a5bc0f4d9fabf91f3e5497c4065008b531
TreeHugger Robot [Mon, 4 Jun 2018 20:32:30 +0000 (20:32 +0000)]
Merge "Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS" into pi-dev
Adrian Roos [Mon, 4 Jun 2018 19:49:11 +0000 (12:49 -0700)]
[automerger skipped] Merge "WM: Prevent secondary display focus while keyguard is up" into oc-dev am:
f04714c59a am:
6281d64277
am:
668761b146 -s ours
Change-Id: Icf2ed114aa3c2bf500ea59c3f52ec75d0f73ff84
TreeHugger Robot [Mon, 4 Jun 2018 19:45:18 +0000 (19:45 +0000)]
Merge "Blank screen when coming from pulse" into pi-dev
TreeHugger Robot [Mon, 4 Jun 2018 19:34:19 +0000 (19:34 +0000)]
Merge "Camera: fix off by one error" into pi-dev
Adrian Roos [Mon, 4 Jun 2018 18:18:38 +0000 (11:18 -0700)]
Merge "WM: Prevent secondary display focus while keyguard is up" into oc-dev am:
f04714c59a
am:
6281d64277
Change-Id: Ic7b12c406ac5aea0e9f40b5f2c2f72c5efd87212
David Brazdil [Mon, 4 Jun 2018 17:14:49 +0000 (17:14 +0000)]
Merge "Add another entry to hidden API light grey" into pi-dev
Adrian Roos [Mon, 4 Jun 2018 17:02:32 +0000 (10:02 -0700)]
Merge "WM: Prevent secondary display focus while keyguard is up" into oc-dev
am:
f04714c59a
Change-Id: I38bab1ff56a30cccb2f748588ffbbe54d5e17e80
Hongming Jin [Wed, 30 May 2018 18:01:06 +0000 (11:01 -0700)]
Add shell command handler for account manager to allow enabling service
binding for instant app.
Test: cts-tradefed run cts -m CtsAccountManagerTestCases
cts-instant-tradefed run cts-instant -m CtsAccountManagerTestCases
Bug:
79367659
Change-Id: I3ac968ebc20be68da08293d9b685a01920f11b76
Yin-Chia Yeh [Mon, 4 Jun 2018 16:23:14 +0000 (09:23 -0700)]
Camera: fix off by one error
Test: DngCreator CTS test
Bug:
74434422
Change-Id: Ib8aa5f1eec6a5213f6c2c3aeb2d46475107f13c6
Eran Messeri [Fri, 1 Jun 2018 15:03:39 +0000 (16:03 +0100)]
Improve KeyChain documentation
Improve the choosePrivateKeyAlias documentation by:
(1) removing reference to host+port when a URI is being passed in.
(2) Clearing up the language about what a DPC can do.
Test: N/A
Bug:
81522642
Change-Id: I12fbf675536ea5d843dd2eec4f0379daad764bb6
Jiyong Park [Mon, 4 Jun 2018 06:05:29 +0000 (15:05 +0900)]
Fix: vendor public libraries are accessible via System.loadLibrary
This CL fixes the problem that vendor public libraries (libs that are
listed in /vendor/etc/public.libraries.txt) are not loadable via
System.loadLibrary(). (Note that the libs were accessible via dlopen()
though.)
The problem was happening because when System.loadLibary() is called,
the classloader first checks whether the lib is found and accessible in
its own native lib search paths. The native lib search paths basically
come from the java.library.path property, which in turn is from
namespace.default.search.path in /system/etc/ld.config.txt. When VNDK is
enforced starting from P, namespace.default.search.path does not have
paths other than /system/lib because otherwise system process can have
unlimited access to libs in vendor partition. The linker namespace is
dynamically configured by the libnativeloader so that only the public
vendor libs are accessible. However, as a side effect of removing
/vendor/lib from namespace.default.search.path, the classloader always
fails to find any lib under /vendor/lib even if the lib is a public one.
In order to solve the problem, while keeping rest of the non-public
vendor libs from apps, /vendor/lib (and /odm/lib and /product/lib as
well) is added to the classloader AFTER native loader is created for the
classloader.
Bug:
93333337
Test: m -j
Test: System.loadLibrary("adsprpc") is successful in Pixel (because
libadsprpc.so is in Pixel's vendor public lib list)
Test: atest cts/tests/tests/jni
Change-Id: Iac12384548cbdd51234568082d02eeba466c160c
TreeHugger Robot [Mon, 4 Jun 2018 11:44:21 +0000 (11:44 +0000)]
Merge "WM: Prevent secondary display focus while keyguard is up" into oc-dev
David Brazdil [Mon, 4 Jun 2018 10:38:16 +0000 (11:38 +0100)]
Add another entry to hidden API light grey
Bug:
80553977
Test: make out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt
Change-Id: Ic63b7c21ec77ac67b495a5cc5b8b9336ba41fc46
Nicolas Geoffray [Mon, 4 Jun 2018 07:59:25 +0000 (08:59 +0100)]
Add more light grey APIs.
bug:
109588718
Test: m
Change-Id: Ibf0d0366a2a20124dfaafbc39015a1eb3c1ecedf
TreeHugger Robot [Sun, 3 Jun 2018 23:30:24 +0000 (23:30 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sun, 3 Jun 2018 22:34:21 +0000 (22:34 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sun, 3 Jun 2018 22:26:29 +0000 (22:26 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sun, 3 Jun 2018 22:22:26 +0000 (22:22 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sun, 3 Jun 2018 22:22:20 +0000 (22:22 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Sun, 3 Jun 2018 14:48:00 +0000 (07:48 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I3d8f7c63c86424767ea717511e218c090090a5a2
Bill Yi [Sun, 3 Jun 2018 14:40:47 +0000 (07:40 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ie47fd40001b22ebd53a452443a52fb3449c3ee68
Bill Yi [Sun, 3 Jun 2018 12:41:32 +0000 (05:41 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I470dc0700da24f49ea47c107089be2fc91175e87
Bill Yi [Sun, 3 Jun 2018 11:01:15 +0000 (04:01 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ide5351c17e5deb31ebccd586440cf7755bb9b9de
Bill Yi [Sun, 3 Jun 2018 10:47:25 +0000 (03:47 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I1b358135c0013b5ba30f5d416fd252d474f090bf
Bill Yi [Sun, 3 Jun 2018 10:27:06 +0000 (03:27 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: If6ca37ec539ab563a635e938845fcc6643b8e2b8
Andrii Kulian [Thu, 31 May 2018 19:43:54 +0000 (12:43 -0700)]
Defer client visibility update when calculating new config
In ActivityStackSupervisor#ensureVisibilityAndConfig() we first
update visibility of all activities to be able to properly calculate
configuration on the next step. However, we need to make sure the
latest config is applied whenever a client becomes visible.
To prevent making making activities visible without latest config
this CL defers messages to client in first visibility calculation
pass.
Bug:
76011287
Test: ActivityLifecycleTests
Test: ActivityManagerAppConfigurationTests
Change-Id: I978fc800322fb502545650b9f2eece96cd9c7f40
John Reck [Fri, 1 Jun 2018 22:25:52 +0000 (22:25 +0000)]
Merge "Ensure picture isn't recording in createBitmap" into pi-dev
Alan Viverette [Fri, 1 Jun 2018 20:29:04 +0000 (20:29 +0000)]
Merge "Partial revert of "Align Theme, Theme.Holo, and Theme.Holo.Light with Material attrs"" into pi-dev
John Reck [Fri, 1 Jun 2018 19:39:50 +0000 (12:39 -0700)]
Ensure picture isn't recording in createBitmap
Picture#draw() will silently due an #endRecording() if it
wasn't called. Bitmap.createBitmap doesn't do this until
after it's too late.
So do an up-front #endRecording() to ensure state is
good to go
Bug:
80539264
Test: HardwareBitmapTests#testReadbackThroughPictureNoEndRecording
Change-Id: Ic66c41462e88880b73c5093d7541c4ce3d71adeb
TreeHugger Robot [Fri, 1 Jun 2018 19:35:37 +0000 (19:35 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Fyodor Kupolov [Fri, 1 Jun 2018 19:11:42 +0000 (12:11 -0700)]
New behavior of setSynchronousMode
setSynchronousMode is now applicable to any journal mode.
This can be useful for apps that want to use stricter durability
settings for their database.
Test: android.database.sqlite.cts.SQLiteDatabaseTest
Bug:
86953240
Change-Id: I7dbaa6d0bc0975da8067e87b402f63f51b4add10
Lucas Dupin [Fri, 1 Jun 2018 07:28:58 +0000 (00:28 -0700)]
Blank screen when coming from pulse
We need to fade from black to the app to achieve a nice transition.
Test: visual
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Change-Id: I13edd9c5f7a1bf9378851ac50c513d36ab821c43
Fixes:
87939048