350443 Commits

Author SHA1 Message Date
Fyodor Kupolov
f0d4810026 Added database package OWNERS
Test: N/A
Change-Id: I30993e7e20265b88d2cda246155fde50081866cb
2017-11-28 14:14:37 -08:00
TreeHugger Robot
33619ed547 Merge "Fixed class and subclass IDs sign extension on byte->int problem." 2017-11-28 22:11:51 +00:00
Jordan Liu
9a1be6187f Merge "Add carrier config variable to hide manage IMS conference call button" am: dc98d6e44b
am: 7a42c3614e

Change-Id: I0bb715785a7ea0286936b1213c5057497b8856de
2017-11-28 22:11:38 +00:00
Bryce Lee
03f73fe4f8 Merge "Provide activity details for task layout in ActivityStarter." 2017-11-28 22:08:16 +00:00
Fyodor Kupolov
ae43537286 Remove shutdown of StorageManager
Init is always shutting down vold afterwards.

Bug: 65174075
Bug: 64143519
Test: manual - verified that VolumeManager::shutdown is called
Change-Id: I3893af3877e78e0193b15813f37ece46a378e075
2017-11-28 14:05:40 -08:00
Jordan Liu
7a42c3614e Merge "Add carrier config variable to hide manage IMS conference call button"
am: dc98d6e44b

Change-Id: I474338d3475706f856e63fc8c558850c3afd0bb3
2017-11-28 22:00:50 +00:00
Chavi Weingarten
418346a8cc Merge "Snapshot Task with the app window crop for Recents" 2017-11-28 21:51:43 +00:00
Jordan Liu
dc98d6e44b Merge "Add carrier config variable to hide manage IMS conference call button" 2017-11-28 21:40:01 +00:00
TreeHugger Robot
8ae286d072 Merge "Add hooks to configure system button text styling." 2017-11-28 21:24:02 +00:00
TreeHugger Robot
cc6b4be220 Merge "Correct ordering of status bar panel layers." 2017-11-28 21:17:13 +00:00
Robert Carr
29d196f7e1 Pull back attached transform.
Fixes layering of Popups.

Bug: 69590639
Test: Manual
Change-Id: I5a35957999e2eb78b98e1a39a6b44a12c1d34128
2017-11-28 13:03:51 -08:00
Andrii Kulian
4d26c21a82 Merge changes from topic "lifecycle_transaction_base"
* changes:
  Add transaction unit tests
  Add basic lifecycle transaction containers
2017-11-28 20:47:34 +00:00
Winson Chung
0ec2a355a8 Re-enable task trimming
- Skip trimming tasks that are behind the home stack as they can not be
  returned to.
- Adding tag to event log when trimming the task to indicate it was trimmed
  by the recent tasks list
- Update tests to use task builder

Bug: 34270611
Test: Launch task from assistant, ensure that the assistant is not removed
Test: com.android.server.am.RecentTasksTest
Test: #testBackStackTasks_expectNoTrim
Test: #testBehindHomeStackTasks_expectTaskTrimmed
Test: #testOtherDisplayTasks_expectNoTrim
Change-Id: I538c9010f7ce7844bfa93ff3c8900dea6f91bc95
2017-11-28 12:36:46 -08:00
TreeHugger Robot
7c524781a1 Merge "@Ignore flaky test in QSTileImplTest" 2017-11-28 20:33:59 +00:00
TreeHugger Robot
0c5094aec3 Merge "Revert "Revert "Access already-read descriptors on device connect. (Eliminate extra read)""" 2017-11-28 20:28:52 +00:00
Eran Messeri
3d1f3d501b Merge "KeyChain: Provide public & private keys" 2017-11-28 20:24:22 +00:00
Doris Ling
b8d2cd41e9 Fix ConcurrentModificationException in DashboardCategory.
Move the category tiles sorting logic into DashboardCategory, and change
all client access to the category tiles via the proper update methods
instead of modifying the list directly.

Change-Id: I479669abd8d1d0a8ee9a4113d8ad2244da56f4d8
Fixes: 69677575
Test: make RunSettingsLibRoboTests
2017-11-28 12:23:45 -08:00
Sohani Rao
49de715bf3 Merge changes from topics "ProvisioningCallback", "PASSPOINT_APIs"
* changes:
  Introduce Status and Failure code for Provisioning
  Provide APIs for HS2.0 provisioning
2017-11-28 20:14:11 +00:00
Makoto Onuki
3c1d0caedb Merge "Extreme battery saver: Tweak to file saver" 2017-11-28 20:02:54 +00:00
Jason Monk
c10e0e2d19 Fix crash in slices
Test: example app
Change-Id: I0486a1663ceee4dce51a317795919ff9ae045a6f
2017-11-28 14:53:04 -05:00
TreeHugger Robot
733ce63778 Merge "Extend SearchIndexablesProvider to support query sitemap." 2017-11-28 19:39:02 +00:00
Sudheer Shanka
352dc57186 Track some event history and include it in netpolicy dump.
Bug: 66921847
Test: manual
Change-Id: I0c473790f83076def807308fe44db9cb9365769e
2017-11-28 11:33:43 -08:00
TreeHugger Robot
68081e7e16 Merge "New API to specify accessibility focus grouping" 2017-11-28 19:24:22 +00:00
Robert Carr
8360a782fa Correct ordering of status bar panel layers.
Not sure what bug was hiding this before but seems pretty clear,
that this is the ordering we need. See the documentation, APPLICATION_PANEL, etc...

Bug: 69591927
Test: Manual
Change-Id: I82fc011aff6122efa5c3ed63da154761e7065612
2017-11-28 11:19:41 -08:00
Jack Yu
01e42ae2d7 Merge "Moved DataProfile from telephony internal hidden API to System API" am: 24cd7cbd1e am: 3221d23138
am: aa3bdbe815  -s ours

Change-Id: I9f2ea24fa32c0bd87897549c021051f4419feadc
2017-11-28 19:02:26 +00:00
chaviw
fbe47df2a4 Snapshot Task with the app window crop for Recents
Snapshot a specific task and its children instead of taking a snapshot
of the whole screen with max and min layer values. This makes it clear
what the desired screenshot is instead of trying to determine what the
max and min z layers should be.

In the process of updating the snapshot code, I split the code that
captures a layer from the code that captures the whole screen. This
simplified the code so the capture screen doesn't need to invoke the
frame calculations since it will be capturing the whole screen anyway.

Test: Recents snapshots work correctly without the IME, status, and
navigation bar

Change-Id: I8776c1ddb9cd8a23a482b045720960702796fd5f
2017-11-28 10:52:43 -08:00
Paul Mclean
a80bca7d65 Merge "Revert "Revert "Eliminate native/JNI/callback USB Descriptor parsing mechanism""" 2017-11-28 18:47:48 +00:00
TreeHugger Robot
e75c145fba Merge "Add Multicast wakelock stats in battery-stats dump" 2017-11-28 18:43:55 +00:00
Alan Viverette
9fdd44f699 Remove unused code from CompatModePackages, clean up CompileSdk strings
"Preview version" didn't translate well.

Fixes: 69791947
Test: make (no behavior change so didn't run CTS)
Change-Id: I8249dc1c4569fd2444dcbdf525eb5638ca448d4a
2017-11-28 13:40:08 -05:00
TreeHugger Robot
c26f4c5678 Merge "Remove scanFile argument" 2017-11-28 18:37:55 +00:00
Geoffrey Pitsch
659a91beed @Ignore flaky test in QSTileImplTest
Bug: 67842810
Test: runtest systemui
Change-Id: I09a7328af120cebb1bc3e0b528c96a2ea8e8c815
2017-11-28 13:33:13 -05:00
TreeHugger Robot
4916b29370 Merge "Fix window cropping issue." 2017-11-28 18:27:24 +00:00
Wei Huang
0385e3a547 Add carrier config variable to hide manage IMS conference call button
Add carrier config to determine whether manage IMS conference calls
is supported by a carrier.

Test: not tested since a new config is just added
Bug: 28729600
Change-Id: I1000830a85814150658b62ea9add72bfb83bbba0
Merged-In: I1000830a85814150658b62ea9add72bfb83bbba0
2017-11-28 10:25:25 -08:00
jackqdyulei
6319360294 Add metric for battery page in debug mode.
Bug: 69797586
Test: Build
Change-Id: Ifd2b0baca0f8b98bdec77974534e5014e55ae350
2017-11-28 10:13:05 -08:00
Fan Zhang
9a0f6febf0 Extend SearchIndexablesProvider to support query sitemap.
Bug: 67359411
Bug: 64938328
Test: manual
Change-Id: Ic6e1ba4fc518b3aa7a26303d195c1119f6eeaafc
2017-11-28 09:59:16 -08:00
Jakub Pawlowski
6f45a394c5 Merge "Add persistent state for Hearing Aid Profile" am: 2282e2f57f am: 0f9b8c2c60
am: 08d6f6a60a  -s ours

Change-Id: Ibbd740ca67bf73b7418aae1d277c3a99cd08327b
2017-11-28 17:54:19 +00:00
Jack Yu
aa3bdbe815 Merge "Moved DataProfile from telephony internal hidden API to System API" am: 24cd7cbd1e
am: 3221d23138

Change-Id: I3b1e2d475721de9388de5cb4acb52a003cc16e62
2017-11-28 17:53:48 +00:00
Selim Cinek
1b38ecae86 Fixed a bug where messages could be invisible
Because the layout could be faded away, but not
made visible anymore, the messaginglinearlayout
could stay hidden or halfway faded.

Change-Id: I2d517a2b9d4e1e4eecb1b865569a3449c2f52d31
Fixes: 69433427
Test: drag down on message, turn screen off during transition, ensure everything visible and working stills
2017-11-28 18:49:05 +01:00
Selim Cinek
2871beffc8 Implemented rounded clipping for groups
Groups would not properly clip to the bottom before.

Test: add notification group, observe clipping
Bug: 69168591
Change-Id: Ia59e2d979faf2e84d96e16ac2d4f31c03ac6e910
2017-11-28 18:49:05 +01:00
Selim Cinek
d7768f4f48 Added padding between notifications and qs on lockscreen
With the side paddings it looked odd not to have paddings.

Test: add notification expand on qs, observe padding
Bug: 69168591
Change-Id: Id98763d8aec8cac7f9a60107a03d0669ce86ba71
2017-11-28 18:49:04 +01:00
Selim Cinek
515b2035df Insetting notifications on the lock screen
We are now insetting the notifications on the
lockscreen.
This also improves the clipping to the notifications
since we can't just clip the whole content to the
outline bounds.

Test: add notifications on lockscreen, observe inset. Try swiping too.
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationCustomViewWrapperTest.java
Bug: 69168591
Change-Id: Ie3f57dd4938bc97124fb98230cc9427fd4973ead
2017-11-28 18:48:11 +01:00
Makoto Onuki
e098b7595a Extreme battery saver: Tweak to file saver
- Restore the default values after a runtime restart.
- debug.batterysaver.no_write_files sysprop to avoid writing max_freq

Bug 63527520
Test: manual
Test: atest $ANDROID_BUILD_TOP/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/FileUpdaterTest.java

Change-Id: Ic4783f181252b063cfe7ea6fee47b9241f1688cc
2017-11-28 09:46:58 -08:00
Bryce Lee
b802ea19e9 Provide activity details for task layout in ActivityStarter.
When a task is created as the result of an activity starter, there
are details present in the starter than can be useful for layout,
such as the source and launching activity records. This changelist
adds these details to the layout invocation.

Change-Id: I2d6d22c8390b03004d020d6d92196bb2a85fdd3d
Fixes: 68719294
Test: go/wm-smoke
2017-11-28 09:42:54 -08:00
Jakub Pawlowski
08d6f6a60a Merge "Add persistent state for Hearing Aid Profile" am: 2282e2f57f
am: 0f9b8c2c60

Change-Id: I971ab43aed9d0f656e0878e7277ec8e416b1867f
2017-11-28 17:42:08 +00:00
Jack Yu
3221d23138 Merge "Moved DataProfile from telephony internal hidden API to System API"
am: 24cd7cbd1e

Change-Id: Ica76a82b03f6bb0623a98480ae1c2fbc34d07337
2017-11-28 17:39:01 +00:00
Jakub Pawlowski
0f9b8c2c60 Merge "Add persistent state for Hearing Aid Profile"
am: 2282e2f57f

Change-Id: Iff05733aeb2214b1720883f6c7c28a3357887ec2
2017-11-28 17:32:19 +00:00
Selim Cinek
04adab546a Fixed an issue where a shelf icon could be white
Change-Id: I379f81b75939401287cf7e308e1939fc068831f4
Fixes: 64848657
Test: add multiple huns in a row with the right timing never stays white
2017-11-28 18:22:12 +01:00
Jack Yu
24cd7cbd1e Merge "Moved DataProfile from telephony internal hidden API to System API" 2017-11-28 17:21:40 +00:00
Jakub Pawlowski
2282e2f57f Merge "Add persistent state for Hearing Aid Profile" 2017-11-28 17:21:10 +00:00
TreeHugger Robot
61121757e1 Merge "Display Cutout: Add Cutout to WindowInsets" 2017-11-28 17:11:21 +00:00