OSDN Git Service
akirilov [Tue, 10 Apr 2018 18:30:03 +0000 (11:30 -0700)]
[automerger skipped] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to oc-dev) am:
e5776af814 am:
531975da75 -s ours
am:
a06c7b7a5c -s ours
Change-Id: I98aaeeb13d38d4ab4ac0bddb096f6e9ba3e89181
akirilov [Tue, 10 Apr 2018 18:23:14 +0000 (11:23 -0700)]
[automerger skipped] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to oc-dev) am:
e5776af814
am:
531975da75 -s ours
Change-Id: I3df7a9b0722b57c3059ec86ede4e93652404df61
akirilov [Tue, 10 Apr 2018 18:11:53 +0000 (11:11 -0700)]
RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to oc-dev)
am:
e5776af814
Change-Id: If7a7b5f316cbf8640e0760e590b279494e5341ac
akirilov [Tue, 27 Mar 2018 20:08:47 +0000 (13:08 -0700)]
RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to oc-dev)
Test: added AccessibilityEndToEndTest#testPackageNameCannotBeFaked
cts-tradefed run cts -m CtsAccessibilityServiceTestCases
cts-tradefed run cts -m CtsAccessibilityTestCases
Bug:
69981755
Change-Id: I187e3e9839f654cea9e06e5de93e10e4d1de3109
Merged-In: If3752e106aa7fdee4645dc9852289af471ceff18
TreeHugger Robot [Tue, 10 Apr 2018 17:55:41 +0000 (17:55 +0000)]
Merge "Cache display height in QSContainerImpl." into pi-dev
Adrian Roos [Tue, 10 Apr 2018 17:53:32 +0000 (17:53 +0000)]
Merge "WindowLayout: Layout IN_SCREEN floating windows in screen" into pi-dev
Adrian Roos [Tue, 10 Apr 2018 17:52:00 +0000 (17:52 +0000)]
Merge "AnimationControllers: Only unlinkToDeath if previously linked" into pi-dev
Lei Yu [Tue, 10 Apr 2018 17:38:30 +0000 (17:38 +0000)]
Merge "Update battery saver string" into pi-dev
TreeHugger Robot [Tue, 10 Apr 2018 17:15:29 +0000 (17:15 +0000)]
Merge "Update mobile data QS tile subtext." into pi-dev
Ricky Wai [Tue, 10 Apr 2018 17:14:49 +0000 (17:14 +0000)]
Merge "Do not generate watchlist test report in production config" into pi-dev
TreeHugger Robot [Tue, 10 Apr 2018 16:34:05 +0000 (16:34 +0000)]
Merge "Exempt tests for hidden APIs." into pi-dev
TreeHugger Robot [Tue, 10 Apr 2018 16:27:42 +0000 (16:27 +0000)]
Merge "Remove clock binder call" into pi-dev
TreeHugger Robot [Tue, 10 Apr 2018 16:21:34 +0000 (16:21 +0000)]
Merge "Hide QS panel upon DISABLE2_QUICK_SETTINGS." into pi-dev
Adrian Roos [Tue, 10 Apr 2018 16:21:29 +0000 (16:21 +0000)]
Merge "Revert "DisplayCutout: Add back always resource"" into pi-dev
TreeHugger Robot [Tue, 10 Apr 2018 15:56:28 +0000 (15:56 +0000)]
Merge "Fix javadoc xrefs." into pi-dev
Amin Shaikh [Tue, 10 Apr 2018 15:44:36 +0000 (11:44 -0400)]
Update mobile data QS tile subtext.
Display 1X, H, and H+ as mobile data subtext when their respective
mobile signal icons are displayed in the status bar.
Change-Id: I6b34700f6935d0f676d251459e405b629f68213f
Fixes:
77597792
Test: visual
TreeHugger Robot [Tue, 10 Apr 2018 15:32:44 +0000 (15:32 +0000)]
Merge "Add a condition in AppWidgetHost to honor config_enableAppWidgetService." into pi-dev
Jeff Sharkey [Tue, 10 Apr 2018 15:02:23 +0000 (15:02 +0000)]
Merge "Offer to format data sizes in either IEC or SI." into pi-dev
Amin Shaikh [Fri, 6 Apr 2018 21:32:45 +0000 (17:32 -0400)]
Hide QS panel upon DISABLE2_QUICK_SETTINGS.
Hide the entire QS panel (footer, QQS, QQS status icons) when
StatusBarManager.DISABLE2_QUICK_SETTINGS is flagged on.
Change-Id: Ie51707239bf7db566458864d61fd6d419c5d6901
Fixes:
72739219
Test: visual
Amin Shaikh [Tue, 10 Apr 2018 14:50:22 +0000 (10:50 -0400)]
Cache display height in QSContainerImpl.
Change-Id: If1d7ba59476afadd022ece328bc4303c603bba26
Fixes:
77831576
Test: manual
TreeHugger Robot [Tue, 10 Apr 2018 14:35:44 +0000 (14:35 +0000)]
Merge "Add link to onboarding screen" into pi-dev
TreeHugger Robot [Tue, 10 Apr 2018 14:22:29 +0000 (14:22 +0000)]
Merge "Fixes task behavior on AIA launch" into pi-dev
Julia Reynolds [Tue, 10 Apr 2018 14:13:56 +0000 (14:13 +0000)]
Merge "Metrics constants for zen onboarding." into pi-dev
Sanry Huang [Tue, 10 Apr 2018 13:39:04 +0000 (13:39 +0000)]
Merge "Fix the wrong tint state of Nav buttons" into pi-dev
Jorim Jaggi [Tue, 10 Apr 2018 13:13:34 +0000 (13:13 +0000)]
Merge "Fix issues with duplicate starting window add requests" into pi-dev
Rubin Xu [Tue, 10 Apr 2018 13:13:26 +0000 (13:13 +0000)]
Merge "Fix unintended deletion of reused weaver slots during user removal" into pi-dev
TreeHugger Robot [Tue, 10 Apr 2018 13:07:41 +0000 (13:07 +0000)]
Merge "Different hidden API enforcement policy for P & pre-P." into pi-dev
Jorim Jaggi [Tue, 10 Apr 2018 13:04:43 +0000 (13:04 +0000)]
Merge "Fix IME target after rotation" into pi-dev
Julia Reynolds [Mon, 9 Apr 2018 15:31:15 +0000 (11:31 -0400)]
Add link to onboarding screen
Test: runtest systemui-notification
Bug:
77658931
Change-Id: I70210b5d5e0de27ff38a6b2f5d8201266b6ec4d6
Julia Reynolds [Mon, 9 Apr 2018 17:57:21 +0000 (13:57 -0400)]
Metrics constants for zen onboarding.
Bug:
77658931
Test: make
Change-Id: Id11f68bd6cc132d7c53004d2ea31d869f64379b8
TreeHugger Robot [Tue, 10 Apr 2018 12:03:23 +0000 (12:03 +0000)]
Merge "Fixed auto-brightness when ALS malfunctions." into pi-dev
TreeHugger Robot [Tue, 10 Apr 2018 11:28:44 +0000 (11:28 +0000)]
Merge "Added system-wide minimum brightness curve." into pi-dev
Rubin Xu [Tue, 10 Apr 2018 08:44:18 +0000 (09:44 +0100)]
Fix unintended deletion of reused weaver slots during user removal
During user deletion, getNextAvailableWeaverSlot() might return a slot
that's currently taken by the to-be-removed user, because the user is
marked as partial so it's not returned from UserManager in the list of
users and SyntheticPasswordManager will not attempt to track which slot
that user has used. This slot might then be reused by a newly-created
user. Meanwhile SyntheticPasswordManager will also try to explicitly
delete slots for the deleted user during ACTION_USER_REMOVED, and if this
happens after the slot is reused by the new user, the weaver slot will
be corrupted, leading to failure to unlock the new user later.
Quick fix by double checking if slot is reused during user deletion.
Test: Add device lock; create work profile; reboot device; delete the
current profile and quickly re-create one. Verify the new profile
can still be unlocked after another reboot
Bug:
76134651
Change-Id: I89769b7cbcf64f2562717c98e3f15ab0fbb38bf0
Dan Gittik [Thu, 5 Apr 2018 11:30:38 +0000 (12:30 +0100)]
Fixed auto-brightness when ALS malfunctions.
When the ALS is broken or misbehaving, auto-brightness might get
stuck in a state where it completely ignores user data points;
this fixes the issue, and reverts to manual brightness whenever
auto-brightness can't be used reliably.
Test: manual.
Change-Id: I5eb80b99dbf7cc25229dc217732515b2a4ac1b79
Fixes:
77280930
David Brazdil [Tue, 10 Apr 2018 10:26:04 +0000 (10:26 +0000)]
Merge "Greylist APIs which apps can resolve to at runtime" into pi-dev
David Brazdil [Mon, 9 Apr 2018 16:32:19 +0000 (17:32 +0100)]
Greylist APIs which apps can resolve to at runtime
This applies to SpannableString methods:
- charAt(I)C
- getChars(II[CI)V
- getSpanEnd(Ljava/lang/Object;)I
- getSpanFlags(Ljava/lang/Object;)I
- getSpanStart(Ljava/lang/Object;)I
- getSpans(IILjava/lang/Class;)[Ljava/lang/Object;
- length()I
- nextSpanTransition(IILjava/lang/Class;)I
(these are all already in the greylist)
and one method from android.app.backup.FileBackupHelperBase:
- writeNewStateDescription(Landroid/os/ParcelFileDescriptor;)V
(added in this CL).
We won't fix this properly in P, so greylist the uses for now.
Bug:
64382372
Bug:
76424618
Test: make
Change-Id: I4c4ef13338b1fa2f7f21c07c63d88d3559d10341
David Brazdil [Tue, 10 Apr 2018 10:22:20 +0000 (10:22 +0000)]
Merge changes I35eddd24,Ia2c7093a into pi-dev
* changes:
Add more hidden API to light greylist
Add more hidden API to light greylist
Remi NGUYEN VAN [Tue, 10 Apr 2018 10:12:56 +0000 (10:12 +0000)]
Merge "Clamp multipath quota to 0 if roaming." into pi-dev
Mathew Inwood [Tue, 3 Apr 2018 13:47:26 +0000 (14:47 +0100)]
Different hidden API enforcement policy for P & pre-P.
Also make these configurable so we have the flexibility to change it if
necessary.
Setting the policy inside ActivityManagerService is not ideal, as that
means that AMS is the only place where the policy in ApplicationInfo is
correct. It should really be set inside PackageManagerService. However,
if it's set there, it would get out of date when the settings change, and
we'd have to update inside AMS anyway. So putting it only here seems ok
for now.
Test: $ adb shell settings put global hidden_api_policy_pre_p_apps 2
Test: $ adb shell settings put global hidden_api_policy_p_apps 2
Bug:
64382372
Change-Id: Ic4cbbb1e6464623e90c17ae08c0b6cbbe0dfa125
TreeHugger Robot [Tue, 10 Apr 2018 07:38:21 +0000 (07:38 +0000)]
Merge "Trigger NetworkCallback events when private DNS usage has changed." into pi-dev
Lucas Dupin [Tue, 10 Apr 2018 05:44:17 +0000 (22:44 -0700)]
Remove clock binder call
Change-Id: I773663174d0aa7a02989f3389ff0ed67135a16ac
Fixes:
77832075
Test: wait for clock to update, switch user, repeat
Dianne Hackborn [Tue, 10 Apr 2018 06:24:50 +0000 (06:24 +0000)]
Merge "Fix issue #
77721907: Add global setting to hide all error dialogs" into pi-dev
Remi NGUYEN VAN [Wed, 4 Apr 2018 02:12:51 +0000 (11:12 +0900)]
Clamp multipath quota to 0 if roaming.
Also adding tests for getSubscriptionOppportunisticQuota.
Bug: b/
72631572
Change-Id: Iafc1ae1e0c0d58c027b5a42fa04b841a2739cff9
Fixes: b/
72631572
Test: atest com.android.server.NetworkPolicyManagerServiceTest
Jyun LuoLai [Tue, 10 Apr 2018 06:11:37 +0000 (06:11 +0000)]
Merge "Fix error color for SystemUI" into pi-dev
dalyk [Mon, 5 Mar 2018 17:42:22 +0000 (12:42 -0500)]
Trigger NetworkCallback events when private DNS usage has changed.
Relies on events sent from netd in aosp/578162.
Test: Added tests to ConnectivityServiceTest. Added a new test
class DnsManagerTest. Built a simple app that appears to
receive onLinkProperties events correctly upon manual changes
to the private DNS settings on a Pixel.
Bug:
71828272
Merged-In: I1e6c54ba016f6a165a302bd135a29d9332aaa235
Merged-In: I7705412803fb9aa707a18ae5a1c50292e084d851
Change-Id: I3223c1285a73d5d531c5051ce70007857caa57e3
(cherry picked from commit
7301aa4140baefb549a737f033fc512e87c55692)
TreeHugger Robot [Tue, 10 Apr 2018 04:36:29 +0000 (04:36 +0000)]
Merge "Workaround fetching user's package resources" into pi-dev
Winson Chung [Tue, 10 Apr 2018 03:23:39 +0000 (03:23 +0000)]
Merge "Fix regression in removing recent tasks by package name." into pi-dev
Christine Franks [Tue, 10 Apr 2018 03:03:43 +0000 (03:03 +0000)]
Merge "Remove prohibition on switching to user 0 in demo" into pi-dev
shawnlin [Mon, 9 Apr 2018 11:49:48 +0000 (19:49 +0800)]
Fix the wrong tint state of Nav buttons
Update the aphla value of scrimBehind in setPanelExpansion to display
the correct tint state of Nav buttons.
Test: runtest systemui
Change-Id: Ia17bbe71106900b764ec2f5ac4729b9770eac4bc
Fixes:
74578143
Jeff Sharkey [Mon, 9 Apr 2018 17:04:07 +0000 (11:04 -0600)]
Offer to format data sizes in either IEC or SI.
Add flags to let callers specify if they want IEC (power-of-two) or
SI (power-of-ten) units when formatting bytes.
Continue using SI units by default, since certain folks seem to have
strong opinions about that.
Bug:
76159924
Test: atest android.text.format.FormatterTest
Exempt-From-Owner-Approval: previous PS approved
Change-Id: I0074bb2578c2230e938b3f39c2564b1083feb825
TreeHugger Robot [Tue, 10 Apr 2018 01:41:22 +0000 (01:41 +0000)]
Merge "Add Cancel button in Car Keyguard" into pi-dev
TreeHugger Robot [Tue, 10 Apr 2018 01:38:48 +0000 (01:38 +0000)]
Merge "Check permissions only against packagesettings" into pi-dev
Winson Chung [Tue, 10 Apr 2018 01:35:52 +0000 (18:35 -0700)]
Workaround fetching user's package resources
Bug:
77747389
Test: Manual, create work profile user, create an apk with an icon resource
in its task description, and ensure that launcher can load the icon.
Change-Id: I33c7eaca9481fe44440b4b584b64531835e2fe9e
TreeHugger Robot [Tue, 10 Apr 2018 01:27:34 +0000 (01:27 +0000)]
Merge "Remove FIELD_MOBILE_NETWORK in proto." into pi-dev
TreeHugger Robot [Tue, 10 Apr 2018 01:25:40 +0000 (01:25 +0000)]
Merge "[Notif] Disable "Customize" for blocking helper" into pi-dev
Jian Jin [Fri, 6 Apr 2018 19:40:50 +0000 (12:40 -0700)]
Add Cancel button in Car Keyguard
Change-Id: I0c44f3583fe1dadade1e1b01229571ab7eb29643
Fixes:
74964857
Test: Manually tested on Mojave
akirilov [Tue, 10 Apr 2018 00:25:18 +0000 (17:25 -0700)]
[automerger skipped] Merge "RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to oc-mr1-dev)" into oc-mr1-dev
am:
edc22bf307 -s ours
Change-Id: I18a76bcf21c07d53fd1c0d50bf547aa4aa764f05
Christine Franks [Tue, 10 Apr 2018 00:16:02 +0000 (00:16 +0000)]
Merge "Whitelist DISPLAY_COLOR_MODE setting for B&R" into pi-dev
Jeff Sharkey [Mon, 9 Apr 2018 23:58:34 +0000 (23:58 +0000)]
Merge "Update storage wizard to latest UX mocks." into pi-dev
Jeff Sharkey [Mon, 9 Apr 2018 23:57:28 +0000 (23:57 +0000)]
Merge "Disable roaming sanity checking." into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 23:53:18 +0000 (23:53 +0000)]
Merge "Make isSameTrustConfiguration public API" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 23:43:01 +0000 (23:43 +0000)]
Merge "RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to oc-mr1-dev)" into oc-mr1-dev
Ryan Mitchell [Mon, 9 Apr 2018 23:38:37 +0000 (23:38 +0000)]
Merge "ResStringPool: Fix security vulnerability" into pi-dev
Eric Laurent [Mon, 9 Apr 2018 23:26:35 +0000 (23:26 +0000)]
Merge "soundpool: fix muted channel" into pi-dev
Jean-Michel Trivi [Mon, 9 Apr 2018 23:21:51 +0000 (23:21 +0000)]
Merge "AudioAttributes: handle unknown usage like media" into pi-dev
Jeff Sharkey [Mon, 9 Apr 2018 23:20:43 +0000 (23:20 +0000)]
Merge "API council requested tweaks to SubscriptionPlan." into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 23:11:01 +0000 (23:11 +0000)]
Merge "Disable onboarding on P devices" into pi-dev
Adrian Roos [Mon, 9 Apr 2018 21:12:46 +0000 (14:12 -0700)]
AnimationControllers: Only unlinkToDeath if previously linked
Fixes crashes when we unlink to the runners if the animation was
cancelled prior to linking to the death of the runners.
Change-Id: Ic52c8bea0985bce8a2abfd61d8b54ab6fff9e288
Fixes:
77756198
Test: make
Adrian Roos [Thu, 29 Mar 2018 17:41:30 +0000 (19:41 +0200)]
WindowLayout: Layout IN_SCREEN floating windows in screen
Uses screen coordinates when placing floating LAYOUT_IN_SCREEN
windows, even when there is a cutout. Making sure that the window
does not overlap the cutout area is instead made sure by the
clip/shift-to-displayFrame logic in WindowState.
Change-Id: Ic485b8f191db737bb7a10b1694a489111afd5f2c
Fixes:
76199703
Test: Run CalcyIV, make sure that the expanded window is properly attached to the non-expanded window.
akirilov [Mon, 9 Apr 2018 23:00:53 +0000 (16:00 -0700)]
[automerger skipped] [automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to nyc-dev) am:
33c37cb37c am:
93d9547b61 am:
5ddeef7116 am:
1890afd456 skipped:
bae1ea6478 am:
840e366d50 am:
1e4dfe7d71
am:
c2e58d97da -s ours
Change-Id: If0f1048d19a806f8f0275ae627ded64de6d2bad3
TreeHugger Robot [Mon, 9 Apr 2018 22:56:35 +0000 (22:56 +0000)]
Merge "Add null check to confirm there is a quick settings panel" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 22:56:23 +0000 (22:56 +0000)]
Merge "Clarify PackageManager.hasSigningCertificate docs." into pi-dev
akirilov [Mon, 9 Apr 2018 22:54:48 +0000 (15:54 -0700)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to nyc-dev) am:
33c37cb37c am:
93d9547b61 am:
5ddeef7116 am:
1890afd456 skipped:
bae1ea6478 am:
840e366d50
am:
1e4dfe7d71
Change-Id: I9947716a6cd7ba5e6b8de63e3036b4d21d139691
akirilov [Mon, 9 Apr 2018 22:42:40 +0000 (15:42 -0700)]
[automerger skipped] [automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to mnc-dev) am:
de71ee469a am:
d672eef559 am:
86f5488521 skipped:
0df0b30be9 am:
815008072e am:
aa20944ca4 am:
569ad1b287 am:
20a5009e23 skipped:
4fbc80f05b am:
dc5ccd8d30 am:
70cff3248e
am:
9f040f4540 -s ours
Change-Id: I2a90f97f608bfb8637eeaa90d3b73cce4967f892
akirilov [Mon, 9 Apr 2018 22:40:46 +0000 (15:40 -0700)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to nyc-dev) am:
33c37cb37c am:
93d9547b61 am:
5ddeef7116 am:
1890afd456 skipped:
bae1ea6478
am:
840e366d50
Change-Id: I920dc967f00b4197dcb5702111efc9fda0e930de
Brad Ebinger [Mon, 9 Apr 2018 22:40:13 +0000 (22:40 +0000)]
Merge "Add GTS test APIs for testing ImsService" into pi-dev
akirilov [Mon, 9 Apr 2018 22:36:59 +0000 (15:36 -0700)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to mnc-dev) am:
de71ee469a am:
d672eef559 am:
86f5488521 skipped:
0df0b30be9 am:
815008072e am:
aa20944ca4 am:
569ad1b287 am:
20a5009e23 skipped:
4fbc80f05b am:
dc5ccd8d30
am:
70cff3248e
Change-Id: I2cb7a7012c1bb872fb4cd67f69351c79c51f550e
Jorim Jaggi [Mon, 9 Apr 2018 22:34:24 +0000 (00:34 +0200)]
Fix issues with duplicate starting window add requests
There might be cases where we have multiple requests to add a
starting window. To protect against this, we
a) Check for existing startingWindow when adding starting window
b) Don't send the message if we already an add request pending
c) Remove any pending requests when we handle one request
There was already existing logic in place that checked whether
we have a starting window. However, that doesn't cover the case
when requests are pending, but the window hasn't been added yet.
Test: Open settings, open any sub-activity, go home, kill
settings, reopen settings. This generates a duplicate add request
almost guaranteed.
Test: go/wm-smoke
Fixes:
75030092
Change-Id: I5cb7fc0a4e7ab13dce3766be6afe1aa4f85df2e7
akirilov [Mon, 9 Apr 2018 22:25:14 +0000 (15:25 -0700)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to mnc-dev) am:
de71ee469a am:
d672eef559 am:
86f5488521 skipped:
0df0b30be9 am:
815008072e am:
aa20944ca4 am:
569ad1b287 am:
20a5009e23 skipped:
4fbc80f05b
am:
dc5ccd8d30
Change-Id: Ie8ba1d050f753d91fa9304f579b9ef1db701ffc4
Android Build Merger (Role) [Mon, 9 Apr 2018 22:24:32 +0000 (22:24 +0000)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to nyc-dev) am:
33c37cb37c am:
93d9547b61 am:
5ddeef7116 am:
1890afd456 skipped:
bae1ea6478
Change-Id: I67ae802c25bfdaa1a5a7b7bc6880d954e30f3e27
Android Build Merger (Role) [Mon, 9 Apr 2018 22:24:28 +0000 (22:24 +0000)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to nyc-dev) am:
33c37cb37c am:
93d9547b61 am:
5ddeef7116 am:
1890afd456
Change-Id: I1d6b280c14a7a6166221ea0d1448de7bc7feb18c
Android Build Merger (Role) [Mon, 9 Apr 2018 22:24:22 +0000 (22:24 +0000)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to nyc-dev) am:
33c37cb37c am:
93d9547b61 am:
5ddeef7116
Change-Id: Ib3a14de258a548393279940fd3aeb067f2596ca8
Android Build Merger (Role) [Mon, 9 Apr 2018 22:24:16 +0000 (22:24 +0000)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to nyc-dev) am:
33c37cb37c am:
93d9547b61
Change-Id: If515d9ec229e37bdc1368a96ae1f1b474dd50ebe
Android Build Merger (Role) [Mon, 9 Apr 2018 22:24:08 +0000 (22:24 +0000)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to nyc-dev) am:
33c37cb37c
Change-Id: I793b787b6275262f1df6caa9262054e15c94840f
akirilov [Tue, 27 Mar 2018 20:08:47 +0000 (13:08 -0700)]
RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to nyc-dev)
Test: added AccessibilityEndToEndTest#testPackageNameCannotBeFaked
cts-tradefed run cts -m CtsAccessibilityServiceTestCases
cts-tradefed run cts -m CtsAccessibilityTestCases
Bug:
69981755
Change-Id: I187e3e9839f654cea9e06e5de93e10e4d1de3109
Jeff Sharkey [Mon, 9 Apr 2018 22:15:03 +0000 (16:15 -0600)]
Disable roaming sanity checking.
We've traced down all code paths where NetworkInfo.isRoaming() and
NET_CAPABILITY_NOT_ROAMING can disagree, so we're only left with
noise that happens from NetworkAgent race conditions when someone
asks for a NetworkState between pending NetworkInfo and
NetworkCapabilities updates.
We can look at adding a way for a NetworkAgent to update these
two objects atomically, but not for this release.
Bug:
70174865
Test: builds, boots
Change-Id: I830e1fc6dc922e9eb7f8c2698d75181e00aaf7fb
TreeHugger Robot [Mon, 9 Apr 2018 22:05:45 +0000 (22:05 +0000)]
Merge "Fixed the touch targets when replying" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 21:48:10 +0000 (21:48 +0000)]
Merge "Missed setting default values" into pi-dev
Patrick Baumann [Mon, 9 Apr 2018 21:46:21 +0000 (14:46 -0700)]
Fixes task behavior on AIA launch
This change allows the instant app installer to launch on which ever
task it is being called from, resulting in the sucess intent launching
using the flags the original caller intended and avoiding breaking the
flow when the installer is required.
Bug:
62872137
Test: manual - prototype installer no longer results in double tasks
Change-Id: I9e84ec89bc4bcb3c890bda8332d4110ac231382d
Christine Franks [Tue, 31 Oct 2017 01:38:48 +0000 (18:38 -0700)]
Whitelist DISPLAY_COLOR_MODE setting for B&R
Bug:
68664032
Test: make -j100 && atest SettingsBackupTest && atest
SettingsValidatorsTest
Change-Id: I1d38acfcd3e6a0c228ae6891581b3218d4a67e6b
Sunny Goyal [Mon, 9 Apr 2018 21:41:49 +0000 (21:41 +0000)]
Merge "Exposing the getHomeActivities() to allow the launcher detect the current home app" into pi-dev
Adrian Roos [Thu, 22 Mar 2018 15:54:38 +0000 (15:54 +0000)]
Revert "DisplayCutout: Add back always resource"
This reverts commit
5c3c9e2df702126ece477c27670c6a73e129230f.
Change-Id: Id423ef879be9ff5073064deb382a7df6fbe8a2ae
Fixes:
76098384
Jean-Michel Trivi [Mon, 9 Apr 2018 17:54:36 +0000 (10:54 -0700)]
AudioAttributes: handle unknown usage like media
In the native audio policy management, the default stream type
for volume is STREAM_MUSIC, i.e. any player by default is
considered a "media" player. Do the same for audio attributes
with regards to suppressible behaviors.
Bug:
74052135
Test: ZenModeHelperTest + see bug
Change-Id: I8f65044807fd3e745f21e031a0aa01a5e6f74cd2
Dianne Hackborn [Mon, 9 Apr 2018 21:07:34 +0000 (14:07 -0700)]
[automerger] Fix issue #
27317952: PendingIntent.getIntent() should be protected am:
ae77fa4725 am:
d6b6319286 am:
73fcfd424e am:
cb76e24e62 am:
209f5413a1 am:
f91e527a32 am:
db6d6a2914 am:
42dee597da am:
65b3f30dfe am:
e55d5fca11 am:
b39b2018e1
am:
d7431f236f
Change-Id: I06fa441168da5b1d93a4fb00818d1f89e6f086fe
Lei Yu [Mon, 9 Apr 2018 21:03:27 +0000 (14:03 -0700)]
Update battery saver string
Bug:
73018395
Test: Build
Change-Id: I0eb3a07866585e363561305e923fbb247d0fc715
Android Build Merger (Role) [Mon, 9 Apr 2018 21:00:57 +0000 (21:00 +0000)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to mnc-dev) am:
de71ee469a am:
d672eef559 am:
86f5488521 skipped:
0df0b30be9 am:
815008072e am:
aa20944ca4 am:
569ad1b287 am:
20a5009e23 skipped:
4fbc80f05b
Change-Id: I31f7f0b24c4abb211837b4143bd17922cbd910a1
Android Build Merger (Role) [Mon, 9 Apr 2018 21:00:53 +0000 (21:00 +0000)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to mnc-dev) am:
de71ee469a am:
d672eef559 am:
86f5488521 skipped:
0df0b30be9 am:
815008072e am:
aa20944ca4 am:
569ad1b287 am:
20a5009e23
Change-Id: Idc5e03ce291191f07f6be769ee777e6dd8f59915
Android Build Merger (Role) [Mon, 9 Apr 2018 21:00:48 +0000 (21:00 +0000)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to mnc-dev) am:
de71ee469a am:
d672eef559 am:
86f5488521 skipped:
0df0b30be9 am:
815008072e am:
aa20944ca4 am:
569ad1b287
Change-Id: I04b6008abff856d7998566a2e9136d62d6ac9c5e
Android Build Merger (Role) [Mon, 9 Apr 2018 21:00:43 +0000 (21:00 +0000)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to mnc-dev) am:
de71ee469a am:
d672eef559 am:
86f5488521 skipped:
0df0b30be9 am:
815008072e am:
aa20944ca4
Change-Id: I4c4a136d4c77b6f1ba869992bb54be2ac755a9f7
Android Build Merger (Role) [Mon, 9 Apr 2018 21:00:38 +0000 (21:00 +0000)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to mnc-dev) am:
de71ee469a am:
d672eef559 am:
86f5488521 skipped:
0df0b30be9 am:
815008072e
Change-Id: Ibbfaf7f47f2471895f7fd5151be1230de51ff258