Commit Graph

96539 Commits

Author SHA1 Message Date
yuemingw
b714ba0ccc Add cross profile uri for Events and Calendars table in CalendarContract.
Bug: 118455064
Test: runtest -x packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.
Change-Id: Ic1f4dda7633ed8739e100c54c6413acf236c6808
2018-12-07 22:06:33 +00:00
Feng Cao
bcf643c5ef Merge "Fix augmented autofill UI." 2018-12-07 22:04:14 +00:00
Jeff Sharkey
53dc18ba95 Merge "Define app-op controlling legacy storage behavior." 2018-12-07 20:55:15 +00:00
Benedict Wong
c02acadd9b Merge "Add IPsec tunnel mode feature flag" 2018-12-07 19:42:21 +00:00
Wei Wang
c90e979d6e Merge "Throttle jobs when thermal status is in THROTTLING_SEVERE and above" 2018-12-07 19:17:40 +00:00
Selim Cinek
691f5a71a2 Merge "Fixed a padding issue if there is no right icon but a reply icon" 2018-12-07 18:41:18 +00:00
TreeHugger Robot
c3effa7b8d Merge "Add extra in DevicePolicyManager for provisioning trigger." 2018-12-07 17:43:22 +00:00
Matt Pape
f31d03c9cf Merge "Add reset and list for device config flags to SettingsProvider to support command line debug tool." 2018-12-07 16:27:59 +00:00
Milo Sredkov
0b243df366 Merge "Create SMART_SUGGESTIONS_IN_NOTIFICATIONS_FLAGS" 2018-12-07 14:13:47 +00:00
Adrian Roos
c894b352d6 Merge "FRP: save password quality in DPM.resetPassword" am: 08d4eb174d am: 635731866e
am: 38d5c1e8eb

Change-Id: I7e2780fbb9cd36cc23af5746aa6931ce761a0374
2018-12-07 03:42:03 -08:00
Adrian Roos
38d5c1e8eb Merge "FRP: save password quality in DPM.resetPassword" am: 08d4eb174d
am: 635731866e

Change-Id: Idcccada2ecdb5b1cf011d11dd239c1ee27169882
2018-12-07 03:32:45 -08:00
Adrian Roos
635731866e Merge "FRP: save password quality in DPM.resetPassword"
am: 08d4eb174d

Change-Id: Ia119e21e7e6e2c4c674b66b0cfb863f085bf7980
2018-12-07 03:22:28 -08:00
Treehugger Robot
08d4eb174d Merge "FRP: save password quality in DPM.resetPassword" 2018-12-07 11:09:41 +00:00
David Brazdil
32ef51c24a Merge "Move DexLoadReporter setup before AppComponentFactory calls" am: 385c42a2e9 am: 4e7a33fb08
am: aa1361470d

Change-Id: Ice606e7cee5e7e121b1e3f76f88cbb092a45bcdd
2018-12-07 01:42:59 -08:00
David Brazdil
aa1361470d Merge "Move DexLoadReporter setup before AppComponentFactory calls" am: 385c42a2e9
am: 4e7a33fb08

Change-Id: Ic9de05b50ce8bb914e1c69d20561e63fd1430d8f
2018-12-07 01:26:28 -08:00
David Brazdil
4e7a33fb08 Merge "Move DexLoadReporter setup before AppComponentFactory calls"
am: 385c42a2e9

Change-Id: I1b37135225175c74c578a29dfbd269bf7230f2e5
2018-12-07 01:20:17 -08:00
David Brazdil
385c42a2e9 Merge "Move DexLoadReporter setup before AppComponentFactory calls" 2018-12-07 09:04:56 +00:00
Ivan Chiang
919cad6ce4 Merge "Expose @SystemApi and @Public for unbundling DocumentsUI" 2018-12-07 07:26:47 +00:00
Feng Cao
010b993ee0 Fix augmented autofill UI.
Test: manual verification

Bug: 120559640

Change-Id: Ifa6df41945c38e6fbb9a0505b66be50cb202337c
2018-12-06 22:32:49 -08:00
TreeHugger Robot
b78f929508 Merge "Reset lockout using BiometricManager" 2018-12-07 06:00:57 +00:00
TreeHugger Robot
0f2f9d0694 Merge "Add commitChanges for signaling checkpointing end" 2018-12-07 05:52:48 +00:00
Wei Wang
8c0c3c10ec Throttle jobs when thermal status is in THROTTLING_SEVERE and above
Bug: 116541003
Test: manually lower thermal thresholds on Pixel3
Change-Id: I26344716e2b6d84a04d9da02493673cc48c2854d
2018-12-06 21:30:11 -08:00
Kevin Chyn
6adb3a1d24 Reset lockout using BiometricManager
Bug: 120572933

Test: lockout count is reset when pin/pattern/pass is confirmed

Change-Id: I64389dea38636cc6d4e3f4946a8098d625b489df
2018-12-06 19:46:42 -08:00
Inseob Kim
1a7cad6b1a Merge "Schematize vold system properties" am: 095d0f640e
am: 73694f8faa

Change-Id: If420ffa861d9d85f2baca9224b96f2716965f4b5
2018-12-06 18:42:29 -08:00
Inseob Kim
73694f8faa Merge "Schematize vold system properties"
am: 095d0f640e

Change-Id: I6d2dde29d3e2a01e3c0d0e5fe882c026f4c37531
2018-12-06 18:17:59 -08:00
Selim Cinek
6e41b0e39f Fixed a padding issue if there is no right icon but a reply icon
The text wasn't actually flowing around the picture in that case.

Test: add bigtext notification without image, observe normal padding
Change-Id: I0c3513dac6ffecec50023ba6cc1a0ef54f581bd4
Fixes: 120423951
2018-12-06 18:10:20 -08:00
Treehugger Robot
095d0f640e Merge "Schematize vold system properties" 2018-12-07 01:46:45 +00:00
Felipe Leme
749b889889 Yet another (major) refactoring on Content Capture and Augmented Autofill.
Bunch of changes:

- Split public SmartSuggestionsService info ContentCaptureService and
  AugmentedAutofillService
- Renamed 'intelligence' packages to either 'contentcapture' or
  'autofil.augmented'
- Renamed internal packages and classes.
- Changed permissions, resource names, etc...
- Moved Augmented Autofill logic from IntelligeceManagerService (R.I.P.) to
  Autofill.
- Optimized IPCs by passing a String instead of the InteractionSessionId
  (that also solves the view -> service dependency).

Test: atest CtsContentCaptureServiceTestCases \
            CtsAutoFillServiceTestCases \
            FrameworksCoreTests:SettingsBackupTest
Test: manual verification with Augmented Autofill Service

Bug: 119638877
Bug: 117944706

Change-Id: I787fc2a0dbd9ad53e4d5edb0d2a9242346e4652d
2018-12-06 16:56:39 -08:00
TreeHugger Robot
151357cde2 Merge "Replace Slog with Log in ContentProvider" 2018-12-06 23:05:40 +00:00
Toby Sargeant
7dee65518e Merge "[webview] Add a force dark WebSetting" 2018-12-06 23:04:51 +00:00
Jeff Sharkey
e82cbb135f Define app-op controlling legacy storage behavior.
This app-op will be used to control if apps get a "legacy" view of
storage, which means they won't be put into an isolated sandbox.  The
current plan is to set this to "allow" for all apps installed before
the Q upgrade, to keep them working well.

Making it an app-op will give privacy-sensitive users the ability to
"revoke" this functionality.

Bug: 120287776
Test: manual
Change-Id: I21d5d53966eb26dff4893017708a9316b057aa6c
2018-12-06 15:53:13 -07:00
TreeHugger Robot
a0567f4da2 Merge "Prevent a broken widget from crashing the Launcher" 2018-12-06 22:40:52 +00:00
TreeHugger Robot
090f854d1a Merge "Document the format of EXTRA_CONTENT_QUERY." 2018-12-06 22:31:13 +00:00
Matt Pape
6bfc62e496 Add reset and list for device config flags to SettingsProvider to
support command line debug tool.

Test: atest FrameworksCoreTests:SettingsProviderTest
      Further tested manually via command line (see ag/5613024)
Bug:109919982
Bug:113101834
Change-Id: Ib0d9e4c6d806ec3521ac49b8c05fbdad8b5b13d7
2018-12-06 14:06:37 -08:00
John Reck
9f029c5be3 Merge "Add NDK async begin/end & counter" 2018-12-06 21:43:18 +00:00
Amin Shaikh
5fdc89c006 Document the format of EXTRA_CONTENT_QUERY.
Change-Id: Ifb8e76bf9c7e3a24a91efe7423153aef3d91eb86
Fixes: 120488579
Test: N/A
2018-12-06 15:50:21 -05:00
Antoan Angelov
7ae9663d6c Merge "Add metric wrapper class for managed device metrics." 2018-12-06 19:26:48 +00:00
Eugene Susla
aaa542712b Replace Slog with Log in ContentProvider
Test: ensure noe errors on boot
Change-Id: I44efbf1a52c9c602ce6c9f8ea23b7a4566df27f3
2018-12-06 11:04:21 -08:00
Tobias Sargeant
fec405a35a [webview] Add a force dark WebSetting
Force dark mode is a tristate:

- never invert colours for webview content
- always invert colours
- follow the parent view behaviour

Test: CTS test, after WebView implementation.
Bug: 120599879
Change-Id: Ib11358bc3a3cbc5e55c0ec184084c7d205acf60c
2018-12-06 18:57:32 +00:00
Adrian Roos
ebf84c264a FRP: save password quality in DPM.resetPassword
When setting a password from DPM.resetPassword(), the actual quality of the
password was not passed to LockSettingsService (instead, the minimum required
quality was passed which is often UNSPECIFIED). As a result, during FRP we
would see inconsistent state and skip it.

Bug: 110172241
Test: Set credential via DPM.resetPassword(), factory reset device to trigger FRP, verify FRP shows.
Change-Id: I54376f60ac53451ace22965d331b47cd8c2e614e
2018-12-06 19:29:39 +01:00
Sunny Goyal
e3306241d8 Prevent a broken widget from crashing the Launcher
A widget can provide a wrong service intent causing the Launcher
to go in a crash loop

Bug: 115533593
Test: Verified on device
Change-Id: I28666d8559fd23a60fbd3f1539f3b3126a0fa62d
2018-12-06 08:59:43 -08:00
TreeHugger Robot
1f7d427443 Merge "Wraps #exectTransact to set/restore worksource." 2018-12-06 15:57:22 +00:00
TreeHugger Robot
8730cc4e6b Merge "Add documentation for passing EXTRA_PERMISSION_NAME to REVIEW_PERMISSION_USAGE." 2018-12-06 15:55:45 +00:00
arangelov
aeb04599f9 Add extra in DevicePolicyManager for provisioning trigger.
We need this @SystemApi extra so that ManagedProvisioning can
know what triggered it.

Bug: 120496001
Test: None
Change-Id: I7f1e8ab53c877a6ecb56bf2601f3ef37e2779fb8
2018-12-06 15:16:16 +00:00
Milo Sredkov
d8cacd5bec Create SMART_SUGGESTIONS_IN_NOTIFICATIONS_FLAGS
Create Global.SMART_SUGGESTIONS_IN_NOTIFICATIONS_FLAGS. This will
contain flags that control the automatic generation of suggestions in
notifications (smart actions and smart replies).

Bug: 111437455
Test: atest SettingsBackupTest
Change-Id: I91252d3e0f3d51000f6115a520d7054832fda1ce
2018-12-06 15:07:39 +00:00
Mihai Popa
7796107b0b Merge "Make text cursor drawable public" 2018-12-06 13:49:29 +00:00
Marcin Oczeretko
5d4fd8afb2 Merge "CpuStats - Change the field used for the debug entries" 2018-12-06 13:40:18 +00:00
Olivier Gaillard
180f91f1f8 Wraps #exectTransact to set/restore worksource.
Test: atest binderLibTest BinderWorkSourceTest BinderCallsStatsServiceTest
Change-Id: I334c4569706851925d95bd22931815572907b9a5
2018-12-06 12:56:46 +00:00
Olivier Gaillard
f9bb7f79c1 Merge "Use the calling worksource uid for trusted apps." 2018-12-06 12:47:45 +00:00
TreeHugger Robot
3a6306d4e4 Merge "Camera: Add support for SessionConfiguration queries" 2018-12-06 12:33:31 +00:00