Commit Graph

304893 Commits

Author SHA1 Message Date
Stan Iliev
bf25627558 Create a jank test to measure clipped ListView performance (part 2)
Write a new UiBench test that opens and closes navigation drawer
on top of a trivial ListView.

Test: Built and ran UiBench tests.
Change-Id: I25413e27f78c756bb48e6dcaa92990592bb5b9de
2017-01-27 16:16:26 -05:00
Jason Monk
2a6ea9c2a1 Delete BaseStatusBar
It is a relic of a more complex time, but has passed out of all
knowledge for too long.

Test: manual testing on phones and TV
Change-Id: I62a15d9413ea4bda3ac82bf6f7d22c096e2c1cdc
2017-01-26 15:17:45 -05:00
Mady Mellor
1f2df9afac Merge "Fix crash on density / font change in NotificationGuts.gutsContent" 2017-01-26 20:14:32 +00:00
Jean-Michel Trivi
b9a2b54adf Merge "AudioService: remove compile time options for a11y volume" 2017-01-26 20:10:29 +00:00
TreeHugger Robot
ff73dd9c60 Merge "Splitscreen for minimized state that works with resizable launchers" 2017-01-26 20:07:07 +00:00
TreeHugger Robot
1ab054bc37 Merge "Add assistant-provided snooze options to snooze menu" 2017-01-26 20:01:32 +00:00
Mady Mellor
d0baf3c9a6 Fix crash on density / font change in NotificationGuts.gutsContent
There were two issues:

1) The mGutsMenuItem wasn’t getting nulled out correctly
2) There was no check for guts != null when seeing if there were
   exposed guts, this meant the bind would happen when there were no
   guts exposed, because mGutsMenuItem wasn’t nulled out correctly, it
   would be out of date / still attached to a parent.

Test: Manually tried:
1) Have notifications that *haven’t* had guts revealed
2) Change screen density

1) Have notifications, reveal some of their guts
2) Change screen density

Bug: 34737513
Change-Id: Iff0a782c9377aec973eb07645e852bc320dbb101
2017-01-26 11:58:56 -08:00
Pavlin Radoslavov
02e806550c Merge "Integration of the AAC codec for A2DP source" am: 22f97c83fb am: f23e80bb9b am: d364208388
am: 78798cc13d

Change-Id: Ic645f9ee2eb090fc805a25a1449642dad021db4e
2017-01-26 19:42:16 +00:00
TreeHugger Robot
5469b3d323 Merge "Add a hidden flag to control Settings UI" 2017-01-26 19:36:33 +00:00
TreeHugger Robot
325026dd5c Merge "allow clearing fields for LogMaker reuse" 2017-01-26 19:33:46 +00:00
Pavlin Radoslavov
78798cc13d Merge "Integration of the AAC codec for A2DP source" am: 22f97c83fb am: f23e80bb9b
am: d364208388

Change-Id: Ice6067732c4a94d30410a8f90cbea51b869539eb
2017-01-26 19:31:07 +00:00
Pavlin Radoslavov
d364208388 Merge "Integration of the AAC codec for A2DP source" am: 22f97c83fb
am: f23e80bb9b

Change-Id: If2d85eba17f7ece5b3d19e3ee8fc86b7cf9bc062
2017-01-26 19:25:37 +00:00
Pavlin Radoslavov
f23e80bb9b Merge "Integration of the AAC codec for A2DP source"
am: 22f97c83fb

Change-Id: I22838db2b87f83a3832f78d74d08a6f988264284
2017-01-26 19:20:08 +00:00
Treehugger Robot
22f97c83fb Merge "Integration of the AAC codec for A2DP source" 2017-01-26 19:12:56 +00:00
TreeHugger Robot
6ee80f3a65 Merge "Change configuration's color mode based on the display's color mode" 2017-01-26 18:56:23 +00:00
Matthew Ng
e15352e516 Splitscreen for minimized state that works with resizable launchers
If a launcher is resizable, going to minimized mode (dock task and then
press home) would show a cropped height of the task at the top in a
minimized state and the fullscreen stack would show the home launcher
which takes the rest of the remaining height. If the launcher is not
resizable, it will default the original behavior.

To enable this in a launcher, add android:resizeableActivity="true" in
the AndroidManifest.xml in the <application/> tag.

Test: manual - rotating while minimized, minimizing using dragging task
or holding overview nav button, installing resizable launcher with a
non-resizable launcher
Fixes: 32504542
Change-Id: Idf4015b40f9bec81b70f146f0f2d7df8ccfb4cf0
2017-01-26 10:31:50 -08:00
Jean-Michel Trivi
f6324a4b75 AudioService: remove compile time options for a11y volume
Remove test code path for the a11y volume and only rely on
  AccessibilityServicesStateChangeListener. Query whether
  any of the running a11y services expose
  FLAG_ENABLE_ACCESSIBILITY_VOLUME

Test: enable a service that exposes FLAG_ENABLE_ACCESSIBILITY_VOLUME
  (Talkback will do this in the future) and change volume
Bug 30448020

Change-Id: Ib5dff31313c0ec65b3e9982e35c00698adf5b7de
2017-01-26 10:13:38 -08:00
TreeHugger Robot
9e77aefe9c Merge "[Frameworks] Add an 'am' cmd option to enable streaming in profiling." 2017-01-26 18:08:40 +00:00
Mady Mellor
754d8226c9 Add assistant-provided snooze options to snooze menu
Test: manual via Assistant app
Change-Id: Ie77181601a20e46774d009c7ecea65e99434ebd3
2017-01-26 18:07:09 +00:00
Mady Mellor
e461db8a7d Merge "Update PIP minimize to edge gesture" 2017-01-26 18:05:44 +00:00
TreeHugger Robot
1457cdcca5 Merge "wifi: WifiManager API change for supporting Passpoint Release 2" 2017-01-26 18:04:47 +00:00
Chris Wren
8b49873764 allow clearing fields for LogMaker reuse
Bug: 34705522
Test: runtest --path frameworks/base/core/tests/coretests/src/android/metrics
Change-Id: I00a1ef279740c890ff8b059be97c4463c9f1af0e
2017-01-26 13:01:26 -05:00
Winson Chung
e8ce181efb Merge "Fixing crash in SystemUI fetching task description icons." 2017-01-26 17:40:10 +00:00
songchenxi
825f69a5e6 Add a hidden flag to control Settings UI
This flag is to enable link to permission in location settings UI
Test: A new string value added

Bug: 34400189
Change-Id: Ie2adeba9634a0e2426b28683da09ad1765b25a3d
2017-01-26 09:33:26 -08:00
Calin Juravle
75a6d9c875 Merge "Notify DexManager about new package installs" 2017-01-26 17:31:32 +00:00
TreeHugger Robot
1838867ee7 Merge "Add separate roaming icon for status bar + QS" 2017-01-26 17:13:03 +00:00
Pavlin Radoslavov
b33bd5bc2e Integration of the AAC codec for A2DP source
Test: A2DP streaming to AAC headsets
Bug: 30958229
Change-Id: I1b530f1c5c495b8231fd68bed788d4567096683d
2017-01-26 09:06:02 -08:00
TreeHugger Robot
5841a983e8 Merge "Launch work lock scrim as clear_top not single_top" 2017-01-26 16:41:44 +00:00
Michal Karpinski
f329254053 Merge "Change batch finalization timeout mechanism from Handler#sendMessageDelayed() to a wakeful alarm" 2017-01-26 15:15:14 +00:00
Michal Karpinski
3ac59620f1 Merge "DO NOT MERGE Change batch finalization timeout mechanism from Handler#sendMessageDelayed() to a wakeful alarm" into nyc-mr2-dev am: c399e4d964
am: 666e59f911  -s ours

Change-Id: Ie934c7a6e884eb13a23a620c43bab68b989cb454
2017-01-26 15:05:01 +00:00
Jason Monk
0f0de13c37 Add separate roaming icon for status bar + QS
Now data + roaming will be shown at the same time.

Test: runtest systemui
Bug: 31205845
Change-Id: I8fe167a0909c952ad0824e24e178857df2541554
2017-01-26 10:04:32 -05:00
Michal Karpinski
c6f8137e47 DO NOT MERGE Change batch finalization timeout mechanism from Handler#sendMessageDelayed() to a wakeful alarm am: 1710e5f079
am: 6bf0344e60  -s ours

Change-Id: I36505cd9cd17d1f4c540a39fc0c115c5470d52d0
2017-01-26 15:04:01 +00:00
Michal Karpinski
666e59f911 Merge "DO NOT MERGE Change batch finalization timeout mechanism from Handler#sendMessageDelayed() to a wakeful alarm" into nyc-mr2-dev
am: c399e4d964

Change-Id: I9658d27ee9a694c580204f0e041991d754f93130
2017-01-26 14:58:41 +00:00
Michal Karpinski
6bf0344e60 DO NOT MERGE Change batch finalization timeout mechanism from Handler#sendMessageDelayed() to a wakeful alarm
am: 1710e5f079

Change-Id: I6ffab66a6464f7fbb337d6bcb1431a0a960e25e3
2017-01-26 14:58:36 +00:00
Michal Karpinski
c399e4d964 Merge "DO NOT MERGE Change batch finalization timeout mechanism from Handler#sendMessageDelayed() to a wakeful alarm" into nyc-mr2-dev 2017-01-26 14:52:20 +00:00
Mady Mellor
3b10dcd2ca Update PIP minimize to edge gesture
Updates gesture to match prototype:
- If you fling towards the current edge the PIP is on it is minimized
- Dragging far enough to left or right edge minimizes PIP

Test: manual
Change-Id: I56664e16505b461ad37b181cbb89ee4c6e371aa2
2017-01-26 06:47:08 -08:00
Mady Mellor
e7c8aeefb4 Merge "Adjustments to PIP heuristics to snapping along edges of screen" 2017-01-26 14:36:51 +00:00
Geoffrey Pitsch
60eef134af Merge "New constructor for Notification.Builder takes a channelId." 2017-01-26 14:15:16 +00:00
TreeHugger Robot
132dffbc83 Merge "Animate starting work challenge from work lock" 2017-01-26 12:49:27 +00:00
Michal Karpinski
1710e5f079 DO NOT MERGE Change batch finalization timeout mechanism from
Handler#sendMessageDelayed() to a wakeful alarm

Messages sent with Handler#sendMessageDelayed() didn't get delivered
until the device woke up after being idle, which resulted in
potentially very long windows of logs accumulation and highly possible
network log loss from before the device becaming idle.

Bug: 34157435
Test: manual with decreased timeout over a few timeout iterations
Change-Id: I22d9cc743acb1a478d2da5407c5718e7f95e89cb
2017-01-26 12:48:56 +00:00
Michal Karpinski
9a2e4207d7 Change batch finalization timeout mechanism from
Handler#sendMessageDelayed() to a wakeful alarm

Messages sent with Handler#sendMessageDelayed() didn't get delivered
until the device woke up after being idle, which resulted in
potentially very long windows of logs accumulation and highly possible
network log loss from before the device becaming idle.

Bug: 34157435
Test: manual with decreased timeout over a few timeout iterations
Change-Id: I50b29b9f132856a629e28f46c022f21976bd92fb
2017-01-26 12:45:45 +00:00
ltrochtova
68945f3d11 Merge "Don't offer the BT sharing option to the user if BT is disallowed." am: 2c1e396382 am: c0118ac10e am: 3db1ff462a
am: a0f229263a

Change-Id: Iccc3f7679e2d400f683d43c3d612197fba402f33
2017-01-26 10:04:30 +00:00
ltrochtova
a0f229263a Merge "Don't offer the BT sharing option to the user if BT is disallowed." am: 2c1e396382 am: c0118ac10e
am: 3db1ff462a

Change-Id: I846e7d5b84fb953f93256c8c6d2ca18d37199f1f
2017-01-26 09:58:53 +00:00
ltrochtova
3db1ff462a Merge "Don't offer the BT sharing option to the user if BT is disallowed." am: 2c1e396382
am: c0118ac10e

Change-Id: I2aede50aba4c693f6bc45d2e53a0f4b7d8303c32
2017-01-26 09:53:23 +00:00
ltrochtova
c0118ac10e Merge "Don't offer the BT sharing option to the user if BT is disallowed."
am: 2c1e396382

Change-Id: I132bdd6aee36e32ddbcfdc8f38aed1e88424297e
2017-01-26 09:48:23 +00:00
ltrochtova
2c1e396382 Merge "Don't offer the BT sharing option to the user if BT is disallowed." 2017-01-26 09:41:52 +00:00
TreeHugger Robot
a8affd9e83 Merge "Clear the calling ID in dump()." 2017-01-26 08:31:37 +00:00
TreeHugger Robot
10dcfd3688 Merge "Add an intent that asks the launcher to make a channel browsable." 2017-01-26 08:30:12 +00:00
TreeHugger Robot
60d820b050 Merge "media: Add new MediaMuxer constructor that takes FileDescriptor." 2017-01-26 08:22:01 +00:00
Dmitry Dementyev
7b5bbb5509 Merge "Implement Account Discovery API." 2017-01-26 07:53:59 +00:00