Commit Graph

468813 Commits

Author SHA1 Message Date
Automerger Merge Worker
6078c8641f Make Telephony to Setting notification @SystemApi am: 7c5e823965
Change-Id: Ia88cfa333168b383a2b894165bf7ab8dcdd99021
2020-02-11 21:09:42 +00:00
Automerger Merge Worker
fd90ba695c [automerger skipped] Merge "Import translations. DO NOT MERGE" am: e53f6ddd8f -s ours
am skip reason: subject contains skip directive

Change-Id: I20294970eb9af377071fbd042f6f0e84c1faac16
2020-02-11 21:08:20 +00:00
Automerger Merge Worker
4cbf21d607 [automerger skipped] Merge "Import translations. DO NOT MERGE" am: f76575265c -s ours am: 14cb134570 -s ours
am skip reason: subject contains skip directive

Change-Id: I1f54c9666e7df2063783851d3b56c7e9b60385a9
2020-02-11 21:01:56 +00:00
Xiangyu/Malcolm Chen
cb47d86158 Merge "Add HomeVisibilityObserver APIs in ActivityManager." 2020-02-11 21:00:16 +00:00
Xiangyu/Malcolm Chen
fd46f62892 Merge changes I7099048c,If6965979
* changes:
  Expose RESULT_RECEIVER_CONTROLLER_KEY as @SystemApi.
  Make Telephony to Setting notification @SystemApi
2020-02-11 20:59:52 +00:00
Treehugger Robot
e53f6ddd8f Merge "Import translations. DO NOT MERGE" 2020-02-11 20:48:29 +00:00
Automerger Merge Worker
b572d8b71f [automerger skipped] Merge "Import translations. DO NOT MERGE" am: 1720a48cb3 -s ours am: 87a94d9556 -s ours am: 2792895cd5 -s ours
am skip reason: subject contains skip directive

Change-Id: I095831080d118caeefc894b54cd5e750432627e9
2020-02-11 20:38:33 +00:00
Automerger Merge Worker
14cb134570 [automerger skipped] Merge "Import translations. DO NOT MERGE" am: f76575265c -s ours
am skip reason: subject contains skip directive

Change-Id: I35198ddafef7486a730ba72f8c5ac3130dc8e6e3
2020-02-11 20:38:25 +00:00
Automerger Merge Worker
dd57568ac7 [automerger skipped] Merge "Import translations. DO NOT MERGE" am: 54580f8419 -s ours am: 7b6b19b4ab -s ours am: 2b0a36a65c -s ours
am skip reason: subject contains skip directive

Change-Id: I8c8a91321d6910c715efe3988640210d377cfde5
2020-02-11 20:38:20 +00:00
TreeHugger Robot
6b1b31f0cf Merge "Allow for HTML styling in mobile data type content descriptions" 2020-02-11 20:30:17 +00:00
Shuo Qian
5f1029bd0a Merge "Add VDBG for CellSignalStrengthLte, and CellSignalStrengthNr" 2020-02-11 20:28:37 +00:00
Feng Cao
d59949675e Used ArrayList instead of ParceledListSlice to fix the weird null parceled field type in FillResponse
Test: manual
Bug: 149240554

Change-Id: I92e0b4e7b9ce9461a6f1603604d1763f554018f5
2020-02-11 12:25:02 -08:00
Automerger Merge Worker
2792895cd5 [automerger skipped] Merge "Import translations. DO NOT MERGE" am: 1720a48cb3 -s ours am: 87a94d9556 -s ours
am skip reason: subject contains skip directive

Change-Id: Id6f66e21bd2829bfe3876b633ec9151c6f1d8063
2020-02-11 20:24:50 +00:00
Automerger Merge Worker
2b0a36a65c [automerger skipped] Merge "Import translations. DO NOT MERGE" am: 54580f8419 -s ours am: 7b6b19b4ab -s ours
am skip reason: subject contains skip directive

Change-Id: I8254d071d71afcf1bb367b69f69efc5fd108b36c
2020-02-11 20:24:38 +00:00
Treehugger Robot
f76575265c Merge "Import translations. DO NOT MERGE" 2020-02-11 20:23:49 +00:00
Automerger Merge Worker
87a94d9556 [automerger skipped] Merge "Import translations. DO NOT MERGE" am: 1720a48cb3 -s ours
am skip reason: subject contains skip directive

Change-Id: I2ef1c32abc938b857486beac90ac745c88cfdbee
2020-02-11 20:15:24 +00:00
Automerger Merge Worker
7b6b19b4ab [automerger skipped] Merge "Import translations. DO NOT MERGE" am: 54580f8419 -s ours
am skip reason: subject contains skip directive

Change-Id: I519807554e1744033164ded9f871e8d0b00bfb93
2020-02-11 20:15:07 +00:00
TreeHugger Robot
14e6a15b45 Merge "Access to Device Vibrator State" 2020-02-11 20:13:08 +00:00
Treehugger Robot
1720a48cb3 Merge "Import translations. DO NOT MERGE" 2020-02-11 20:11:59 +00:00
Kweku Adams
111b8221ff Removing unused flags.
We thought about batching based on constraints when JobScheduler was
first introduced (in Lollipop) but immediately disabled that behavior.
We haven't used the flags since then, and now that we're batching all
jobs that aren't in the ACTIVE bucket, these extra flags are not needed.

Bug: 141645789
Test: atest FrameworksMockingServicesTests:JobSchedulerServiceTest
Test: atest CtsIncidentHostTestCases:JobSchedulerIncidentTest
Change-Id: I8df75007a0c8124ea35c7917a5413310fbdeff79
2020-02-11 12:06:26 -08:00
Treehugger Robot
54580f8419 Merge "Import translations. DO NOT MERGE" 2020-02-11 20:03:20 +00:00
TreeHugger Robot
1b58a095d3 Merge "Call entry clean up when removing pending entries" 2020-02-11 19:55:23 +00:00
Dave Mankoff
1b2144d69d Unregister prox sensor when QS or Bouncer are expanded.
The FalsingManager doesn't need the prox sensor when its not being
used.

Bug: 149307116
Test: atest SystemUITests
Change-Id: Ib68c0a269c9f94b1a1bb0ba137a2bb5fde340bba
2020-02-11 14:49:18 -05:00
Tony Mak
49d6d560af Merge "Fix the issue that SettingsProvider sees mismatched calling uid and pkg" 2020-02-11 19:35:23 +00:00
Varun Shah
96000b20cd Fix UsageStats dump NPEs.
Update the dump method to handle locked users properly.

Fixes: 149019903
Test: manual (adb shell dumpsys usagestats)
Change-Id: I86e7cfe01bb485f2125c84e6f1013e20b5ac9ba4
2020-02-11 11:22:56 -08:00
Kweku Adams
109cd9cd03 Making the auto restricted delay configurable.
Make the delay from last user usage to force apps into the restricted
bucket configurable.

Bug: 145551233
Test: atest FrameworksServicesTests:AppStandbyControllerTests
Change-Id: I561fe6e16f62268c07cee06b34bab0d7bbcad201
2020-02-11 11:21:55 -08:00
Michael Wachenschwanz
081ce5dfc8 Move AppStandbyController synchronous event reporting logic
Bug: 140808123
Test: atest com.android.server.usage.AppStandbyControllerTests
Change-Id: If8b79ff7703ebc598ddfbdb636c05de35b06d6e9
2020-02-11 11:16:22 -08:00
Julia Reynolds
d09bbeefb6 Link to notif history in shade
Test: manual
Bug: 137396965
Change-Id: I083cf332ca0b6098a38d68bdff441c929aa0928a
2020-02-11 14:08:59 -05:00
Patrick Baumann
94465d748a Dump when forcequeryableoverride is set
Test: N/A
Bug: N/A
Change-Id: Ib6b13af194c43084c88dac4d356fd5b9abf14709
2020-02-11 10:53:40 -08:00
Fiona Campbell
004e36da64 Merge "Add support for brightness as a float" 2020-02-11 18:51:02 +00:00
Santos Cordon
0e93160108 Fix PowerManager tests.
Bug: 149028193
Test: atest PowerManagerServiceTest
Change-Id: Ieb49d072df1545c49f9e3ad45ba77cbefdd9611e
2020-02-11 18:40:37 +00:00
Shuzhen Wang
88193b7318 Camera: Fix an error log spam for external camera
External camera's getCameraCharacteristics call may trigger exception
via parseInt() call. The exception is catched, and we should not log the
message as error.

Test: Build
Change-Id: Ia858b692ef7622f5fcfbf32cc4fd29574a408731
2020-02-11 10:37:58 -08:00
Ahaan Ugale
00aa0ae7bf Implement filtering for Inline Autofill.
Does not include filtering for Augmented Autofill.

The InlineSuggestionsResponse callback is called on every input change
as a mitigation for an IME attempting to glean potentially sensitive
content of the suggestions.

CLs will follow for disabling filtering in certain situations (to
prevent the Keyboard from gleaning the suggestions) and for caching the
inflates).

Test: manual
Test: atest CtsAutoFillServiceTestCases CtsInputMethodTestCases
Bug: 146452916
Change-Id: I396c2cb279f1eb552bbae8c3509cb29c95e86609
2020-02-11 19:37:06 +01:00
TreeHugger Robot
59b663bcd4 Merge "Let apps timeout into the RESTRICTED bucket." 2020-02-11 18:37:03 +00:00
Ahaan Ugale
cd50731b92 Some cleanup for autofill.Session.updateLocked()
Cleanup for the VIEW_CHANGED case:
* method decomposition
* clarify comment wording and placement
* remove now unnecessary comments

Test: atest CtsAutoFillServiceTestCases CtsInputMethodTestCases

Change-Id: If04eb5ab9a0a83c5c80d3378923dee54493bb629
2020-02-11 19:35:58 +01:00
Eino-Ville Talvala
fdfec36692 Camera NDK: New lifecycle for ACameraMetadata_fromCameraMetadata
Instead of requiring the user to call NewGlobalRef/DeleteGlobalRef
for keeping the java object alive when creating an NDK view into it,
reference count the real native data instead, so that there's no need
to keep track of the Java object lifecycle.

- Switch CameraMetadataNative use std::shared_ptr

Test: New CTS tests pass, fail without this CL
Bug: 148972471
Change-Id: I9a00fc1daa1beac35a15484960048facb90499a6
2020-02-11 10:35:18 -08:00
Will Brockman
7614f696fa NotificationReported atom: Hash free-string ids.
Removed & renumbered old fields, as this atom is not yet being mapped.

Added test for NotificationRecordLogger.

Test: atest NotificationManagerServiceTest NotificiationRecordLoggerTest
Bug: 146488473
Change-Id: Ic5e429aedc38da881987343ba6d5a9f83813b966
2020-02-11 13:14:33 -05:00
Julia Reynolds
bbee4670fe Add tracing for notification history actions
Test: perform actions in UI
Fixes: 142387395
Change-Id: Ia586b8f015599b3a03d1d4d892f3258f93f11343
2020-02-11 13:06:49 -05:00
Automerger Merge Worker
1a9afb726f Merge "Move the UCE APIs to @hide for Android R" am: c71b27c2d5 am: 7af40d3a38 am: 79fe675703
Change-Id: I2a505428fe16680e07bb6d5545c44f8ffc129c62
2020-02-11 18:02:20 +00:00
Yi Jiang
38f5a0683b Moves Adaptive Sleep's settings from Settings.System to Settings.Secure
Test: atest AdaptiveSleepPreferenceControllerTest
Test: atest AdaptiveSleepDetailPreferenceControllerTest
Bug: 139319542

Change-Id: Icd09a3291214194179d49d4e68032ba04fdfd040
2020-02-11 17:52:24 +00:00
Automerger Merge Worker
79fe675703 Merge "Move the UCE APIs to @hide for Android R" am: c71b27c2d5 am: 7af40d3a38
Change-Id: If64d9178632d9a27e63a99c47bdfe2be5f26ad36
2020-02-11 17:51:54 +00:00
Robin Lee
9be54b5b67 Give CONTROL_DEVICE_LIGHTS permission to the shell
Bug: 144979010
Bug: 144978691
Test: atest LightsManagerTest
Change-Id: I2924460c76ce4545c9c3dd3875456b936fe3fc69
Merged-In: I2b4224e79e013bae27ee068b0a0898b5afa5489a
2020-02-11 17:46:40 +00:00
Ben Murdoch
840be1bdbd Decouple Keyguard user switch font size from QS user switcher.
Fix an issue where the text size of the keyguard user switcher
was being forced to that of the quick settings user switcher.

Test: Manual inspection of styles
Bug: 136122305

Change-Id: I2d62f374d74663a86338ffdfcf0412b12390690a
2020-02-11 17:41:56 +00:00
Automerger Merge Worker
7af40d3a38 Merge "Move the UCE APIs to @hide for Android R" am: c71b27c2d5
Change-Id: I5280fa2744925812c17e7807a4e63a6874183706
2020-02-11 17:37:32 +00:00
Collin Fijalkovich
b342a82bc3 Merge "TelephonyManager: cache service handles" 2020-02-11 17:29:15 +00:00
Zim
e074df2229 FUSE flag on by default
This will make the FUSE filesystem the default on the build

Test: https://android-build.googleplex.com/builds/forrest/run/L11100000458471772
Bug: 135341433
Change-Id: Ie475e0bb82614626803f4e88b1e9d29c8a969f17
2020-02-11 17:25:07 +00:00
Zim
238aa33a29 Refactor FUSE flag precedence resolution
We have two FUSE flags: settings and native:

settings: sys.fflag.settings_fuse
---------------------------------
The settings flag allows us defer flag changes while the device is
running till the next boot. These changes can come from
server side flag flips or user initiated flag flips.

native: persist.sys.fuse
------------------------
The native flag is what components (init, zygote, vold, installd,
system_server) actually read to determine behavior. This flag doesn't
change during a boot and if changed should be followed by a reboot so
all components see a consistent state of the flag.

The resolution at system boot of what final device state to take
effect, FUSE on or off was 'needlessly complicated'. Mostly by the
fact that in some rare cases the native flag could be empty.

The 'empty native flag' issue is fixed in
Ie475e0bb82614626803f4e88b1e9d29c8a969f17 and we now simplify the
precedence resolution

Test: Device boots and flags flip correctly
Bug: 135341433
Change-Id: I903b104e2be282e6d4641d15284d4ebd780226ca
2020-02-11 17:24:13 +00:00
Matt Pietal
307b1ef70c Controls UI - Update drag behavior for ranges
Consolidate toggle() fns. Update range handling. It was previously
acting like a slider but now detects the diff between how far you
swiped and updates the current value appropriately.

Bug: 148207527
Test: manual testing of drag behavior
Change-Id: I85896527bd3ff225cd08d11fbe2e4b34190a6b5a
2020-02-11 12:21:23 -05:00
Jean-Michel Trivi
8d64ebb8b3 AudioManager: listener for changes to preferred device for strategy
Add a listener for being notified when the preferred audio device
for an audio strategy changes.

Bug: 148566862
Bug: 144440677
Test: atest AudioServiceHostTest#testPreferredDeviceRouting
Test: atest AudioServiceHostTest#testDevicesForAttributes
Change-Id: Iff47d6bc7f4bd18c3a8fe48557acf803a4059630
2020-02-11 09:20:47 -08:00
Brad Ebinger
c71b27c2d5 Merge "Move the UCE APIs to @hide for Android R" 2020-02-11 17:18:20 +00:00