Commit Graph

97510 Commits

Author SHA1 Message Date
Makoto Onuki
54c4e0366a Initialize JobScheduler without using preload
Bug: 139883463
Bug: 143500374
Test: atest CtsJobSchedulerTestCases
Change-Id: Ibf4b44baba9be4c6bbba01e46648ab76f92e6f51
2019-10-30 12:10:33 -07:00
Roshan Pius
748c9c61a9 Merge "Add a new BatteryStatsManager class" 2019-10-27 00:09:50 +00:00
Roshan Pius
848513ebe6 Add a new BatteryStatsManager class
Wifi/telephony mainline modules uses IBatteryStats which is an AIDL &
hence cannot be made a @SystemApi. Create a new manager class to wrap
around this AIDL to expose @System Api.

Bug: 138806762
Test: Device boots up & connects to wifi networks.
Change-Id: Ib8816c3df17ccc562b9664e7bea1ef01ab61f697
2019-10-26 14:43:59 -07:00
Hui Yu
6d5c3b9636 Do not print Intent ClipData in logcat/dumpsys output.
Change-Id: I7472248777bcff01a8db3be707c19dfab098213a
Fix: 142834800
Test: the reproduce steps in b/142834800
2019-10-25 23:05:22 +00:00
Evan Rosky
7fe119504e Merge changes If145323c,I3aa3fcdc
* changes:
  Track rotation and original frame in sizecompat
  Launch SizeCompat Activities in a Window on Freeform Desktop Mode
2019-10-25 20:59:00 +00:00
Taran Singh
e08dd1b647 Merge "Allow floating IME to apply final state." 2019-10-25 16:42:39 +00:00
Satakshi Rana
70694b005d Merge "Allow passing the bitmap to ContentSuggestionsService via the extras Bundle" 2019-10-25 14:59:15 +00:00
Dario Freni
5a89f1a030 Merge "Support non-privileged APKs in APEX." 2019-10-25 09:18:00 +00:00
Howard Chen
f6be0e7f37 Merge "Use new GsiInstallParams struct" am: 7898d33e3a am: 6b1e8cc0ab am: 630b0caad1
am: f5b0ba4072

Change-Id: I1c7b89d1c076473064acd743df12cc9dc0976e8a
2019-10-25 01:10:17 -07:00
Howard Chen
f5b0ba4072 Merge "Use new GsiInstallParams struct" am: 7898d33e3a am: 6b1e8cc0ab
am: 630b0caad1

Change-Id: I97e9c7767a5b3ff60e6533cb9a76ed128b6d606a
2019-10-25 00:57:46 -07:00
Howard Chen
630b0caad1 Merge "Use new GsiInstallParams struct" am: 7898d33e3a
am: 6b1e8cc0ab

Change-Id: Ia84493f02d7db753af1222f9743b84f1be1d9f92
2019-10-25 00:50:48 -07:00
Howard Chen
6b1e8cc0ab Merge "Use new GsiInstallParams struct"
am: 7898d33e3a

Change-Id: I3f05bf9db6e5db4c675791295cc6bffe4098db32
2019-10-25 00:37:53 -07:00
Howard Chen
7898d33e3a Merge "Use new GsiInstallParams struct" 2019-10-25 07:18:57 +00:00
TreeHugger Robot
ddd425e522 Merge "change KeyphraseEnrollmentInfo to store services" 2019-10-25 03:08:40 +00:00
TreeHugger Robot
708bf5f22a Merge "Add permissions namespace to DeviceConfig" 2019-10-25 02:47:57 +00:00
Howard Chen
e176c56f6e Use new GsiInstallParams struct
Bug: 139402092
Test: adb shell am start-activity \
            -n com.android.dynsystem/com.android.dynsystem.VerificationActivity \
            -a android.os.image.action.START_INSTALL \
            -d file:///storage/emulated/0/Download/system.raw.gz \
            --el KEY_SYSTEM_SIZE $(du -b system.raw|cut -f1) \
            --el KEY_USERDATA_SIZE 8589934592

Change-Id: I62330ccbe3c863850b545db5e911196d22f518d7
2019-10-24 21:34:43 +00:00
Beverly
0fa5310cad Fix zen alarms only mode check am: 51563b5ffe
am: a9b1fc617d

Change-Id: I2afa7a66ec8b77b25cf0eedf9cc9e0866d95db48
2019-10-24 14:31:40 -07:00
Tarandeep Singh
95a3dbf03a Allow floating IME to apply final state.
Floating IME has zero insets and hence it becomes a special case where
Insets type to side map will have to be statically created per
form-factor. Realistically, IME side shouldn't change on any
form-factor.

Fix: 142713934
Test: Manually
     1. Enable floating mode in gboard.
     2. Tap on editor to verify gboard shows
     3. press back to verify gboard hides.

Change-Id: Ie2e2df3fdc5f637cf2efdf14bb5b74f45e3a929f
2019-10-24 21:20:40 +00:00
TreeHugger Robot
878b4cef85 Merge "Correctly parcel LongSparseArray<String>" 2019-10-24 20:51:27 +00:00
Beverly
a9b1fc617d Fix zen alarms only mode check
am: 51563b5ffe

Change-Id: I577da2d70a3ca8a9f2af0d574cb4406db25439f2
2019-10-24 13:28:26 -07:00
TreeHugger Robot
ab42f6761b Merge "Delete VerificationParams." 2019-10-24 19:34:20 +00:00
Philip P. Moltmann
badc09c7a5 Correctly parcel LongSparseArray<String>
Before we just cast Object[] to String[]. This crashes. Now we are
casting the individual objects->strings.

Test: Parceled LongSparseArray
Change-Id: I24883a1dad49c0682977da1aea2370eddb001173
2019-10-24 12:19:31 -07:00
Christopher Tate
b909c4d55a Move UsageStatsManagerInternal to services.jar
UsageStatsManagerInternal is also no longer an API surface for
registration of app idle state change listeners.  AppStandbyInternal has
become a proper LocalService and interested clients can just use that
directly.

Bug: 140833849
Test: boot & run normally
Test: verify system package backup
Change-Id: Ie63f438f129cd8f41169778a3045d131ca7322fb
2019-10-24 18:28:52 +00:00
Satakshi
c45d86fc15 Allow passing the bitmap to ContentSuggestionsService via the extras Bundle
This change creates a constant in ContentSuggestionsManager, which will
be used to pass a hardware bitmap to ContentSuggestionsService.
In the presence of this key in the request extras, we skip taking a
snapshot in ContentSuggestionsPerUserService.
Bitmap is extracted from reading this value from extras in
ContentSuggestionsService.

Test: Manually tested this code in the debugger to verify that snapshot
is not taken when constant is provided in extras.

Change-Id: I4a464d5188bd3eac9afb4ac223611dccab01510f
2019-10-24 17:46:22 +00:00
Beverly
51563b5ffe Fix zen alarms only mode check
Also fixes setting the consolidated zen policy logging.

Fixes: 140329813
Test: android.app.cts.NotificationManagerTest#testTotalSilenceOnlyMuteStreams
Test: android.app.cts.NotificationManagerTest#testAlarmsOnlyMuteStreams
Change-Id: I43d503ac23d7b0b141930d77cb76f1f589b22525
(cherry picked from commit dcc5cfc561)
2019-10-24 15:51:37 +00:00
Dario Freni
c3e1bb7239 Support non-privileged APKs in APEX.
This change adds initial support for scanning APEX directories looking
for APK, and make them available to the system as normal system APKs.
For now privileged apps and resource overlay are not supported, and the
support will be added in a later CL.

Scanning features are inherited from the partition in which the
preinstalled version of a given APEX module is located.

Supports both flattened and un-flattened APEX configurations.

Bug: 138429615
Test: Compiled a test apex with the Snake app installed in it. Verified
app is correctly scanned and usable. Tried also installing the apex in
/vendor and /product.

Change-Id: I8fb91317da0296567403b2b62babbb71e4b48938
2019-10-24 15:51:55 +01:00
Neil Fuller
c1de45a93b Merge "Fix docs to be clearer and more maintainable" am: 7e62a930a1 am: eef56a4e6c am: 16799560df
am: 67a2629be7

Change-Id: Ieee21e5a860b153393058d837b0f25aa3a507ffa
2019-10-24 03:42:02 -07:00
Neil Fuller
67a2629be7 Merge "Fix docs to be clearer and more maintainable" am: 7e62a930a1 am: eef56a4e6c
am: 16799560df

Change-Id: I73551974dec779748023e7e61ce419ba3005a4ba
2019-10-24 03:29:29 -07:00
Neil Fuller
16799560df Merge "Fix docs to be clearer and more maintainable" am: 7e62a930a1
am: eef56a4e6c

Change-Id: I82ac15bbebd70838ed3b0aa50bb4bd48a644fc7e
2019-10-24 03:22:04 -07:00
Neil Fuller
eef56a4e6c Merge "Fix docs to be clearer and more maintainable"
am: 7e62a930a1

Change-Id: I9803c6c8dc78bfd2f86d7850368dfb9ad82ebbf6
2019-10-24 03:09:07 -07:00
Neil Fuller
7e62a930a1 Merge "Fix docs to be clearer and more maintainable" 2019-10-24 09:51:07 +00:00
Michele
01b3d3bb8e Merge "Removal of usage of hidden APIs" am: 78b20d0d58 am: e8eefec918
am: c162389c31

Change-Id: Icdf8eebe0b8b5a59b96d405b76a6561277ba655f
2019-10-23 23:48:58 -07:00
Michele
c162389c31 Merge "Removal of usage of hidden APIs" am: 78b20d0d58
am: e8eefec918

Change-Id: I18dcc160df4d90d193d80f9bbd96e954699efb8b
2019-10-23 23:36:56 -07:00
Michele
e8eefec918 Merge "Removal of usage of hidden APIs"
am: 78b20d0d58

Change-Id: I81d1791744a419b1f0a38559335b83bab3b80512
2019-10-23 23:24:38 -07:00
Mathieu Chartier
15eebad6c1 Merge "Adjust reportFullyDrawn documentation" 2019-10-24 02:59:35 +00:00
Michele
db421f56e8 Removal of usage of hidden APIs
Moved RESOLUTION_ACTIONS from EuiccService to EuiccResolutionUiDispatcherActivity,
so that it does not need to be made public.

Bug: 137202333
Test: compilation
Change-Id: If8011bbe6af32c038f55d851acc2406eba208de6
Merged-In: If8011bbe6af32c038f55d851acc2406eba208de6
2019-10-24 00:26:22 +00:00
Myles Watson
251b04b395 Merge "Bluetooth doc: The is a -> This is a" am: c8d3cde31e am: 31d16458cc am: 0886d0d63c
am: efa39497b8

Change-Id: I188a584698dad5bad68fccf96a90446687403be1
2019-10-23 16:55:07 -07:00
Myles Watson
efa39497b8 Merge "Bluetooth doc: The is a -> This is a" am: c8d3cde31e am: 31d16458cc
am: 0886d0d63c

Change-Id: I5e0712b1bc6cd0b757127986190858219566a283
2019-10-23 16:25:21 -07:00
Myles Watson
0886d0d63c Merge "Bluetooth doc: The is a -> This is a" am: c8d3cde31e
am: 31d16458cc

Change-Id: I9b38fc13a15f2de890cdb3a0ea16f5a7192656f4
2019-10-23 16:04:30 -07:00
Myles Watson
31d16458cc Merge "Bluetooth doc: The is a -> This is a"
am: c8d3cde31e

Change-Id: Ibd5c32da0420d3b32f43bb3f14453d08e231ffa5
2019-10-23 15:52:31 -07:00
Treehugger Robot
c8d3cde31e Merge "Bluetooth doc: The is a -> This is a" 2019-10-23 22:32:54 +00:00
Mathieu Chartier
7fe953e729 Adjust reportFullyDrawn documentation
Since Q, this API affects how the application is optimized.

Bug: 117575269
Test: manual
Change-Id: I0a448b8a59df4544775739505e50e401b43ba965
2019-10-23 15:19:56 -07:00
Myles Watson
1254da6333 Bluetooth doc: The is a -> This is a
Fixes: 142364826
Test: build
Change-Id: I9bde35140bdfc4d76df7e8c427ac6e8baceee611
2019-10-23 20:38:57 +00:00
Beverly Tai
ff829713b7 Merge "Add motion sense tap gesture + touch counts" into qt-qpr1-dev
am: cafc138898

Change-Id: I00de5d09e784872df24dc46ac13c92b9b88a311d
2019-10-23 11:22:51 -07:00
Beverly Tai
cafc138898 Merge "Add motion sense tap gesture + touch counts" into qt-qpr1-dev 2019-10-23 18:03:12 +00:00
TreeHugger Robot
bb326f9a80 Merge "Use language tags to store Configuration's locale list." into stage-aosp-master 2019-10-23 17:15:26 +00:00
Pinyao Ting
6dcd113c15 include a requireContext method for better kotlin inter-operability
Bug: 139754067
Change-Id: I3dd0e2c7b08ecf69bcbdab6e146c6fddb7d64783
Test: Manual
2019-10-23 17:09:48 +00:00
Roshan Pius
c03cd01bd7 Merge "UserManager: Add new @SystemApis" 2019-10-23 14:18:38 +00:00
Lucas Lin
22eafd1757 Merge "Better notification to user when DNS-over-TLS is broken" am: 81852c8481 am: eb24608dbc am: a55366ffdb
am: 7038dfad2a

Change-Id: Iffbdc181d8249f26b3c370474583673aaa1c5032
2019-10-23 03:27:05 -07:00
Lucas Lin
7038dfad2a Merge "Better notification to user when DNS-over-TLS is broken" am: 81852c8481 am: eb24608dbc
am: a55366ffdb

Change-Id: I9d840678b1612c89b7917e8eece0c920326a83a0
2019-10-23 03:20:21 -07:00