Commit Graph

7809 Commits

Author SHA1 Message Date
Matthew Ng
fe9e606112 Merge "Increases the minimized width in landscape by statusbar height" into oc-dev am: e00febf61c
am: 90734c3d7d

Change-Id: I831832fd22168ff443dca0b49f74e687107478ec
2017-04-21 20:47:19 +00:00
Matthew Ng
90734c3d7d Merge "Increases the minimized width in landscape by statusbar height" into oc-dev
am: e00febf61c

Change-Id: Icb24d1e3e2845544936268fbbb5d27b48681506d
2017-04-21 20:39:21 +00:00
TreeHugger Robot
e00febf61c Merge "Increases the minimized width in landscape by statusbar height" into oc-dev 2017-04-21 20:30:51 +00:00
Kang Li
ee8187688e Merge "Moved LRResolverRankerService to ExtServices, and added a permission to ensure that ResolverRankerServices are from trust sources." 2017-04-21 19:53:35 +00:00
Kang Li
61cf4d145e Moved LRResolverRankerService to ExtServices, and added a permission to
ensure that ResolverRankerServices are from trust sources.

Test: manually shared images in Camera, and in PTP to confirm it works
as expected.

Change-Id: I3549292d424fec949e9115faea7a0c5bdec06e87
2017-04-21 15:44:51 +00:00
Jocelyn Dang
cc63daaf55 Merge "Add min and max learned battery capacity to batterystats." into oc-dev am: b2aa0ceb0d
am: f29eb24c4e

Change-Id: I8f86cadf46b4cb9dc3dc87c1137f3b876108fca3
2017-04-20 16:08:48 +00:00
Garfield Tan
7c3656dfa2 Merge "Add a null check for visibleFile." into oc-dev am: 1fb3e56998
am: 8a9a686c9f

Change-Id: I7ed34f0644cd219e5a1f295c91f3b81605526b15
2017-04-20 15:01:26 +00:00
Selim Cinek
00511d3dfb Merge changes Ic76d996f,Ib9eefacb,If1b63340,I399c66af into oc-dev am: 947be6bed9
am: c40344bf86

Change-Id: I849b78ceb45e22ab1b63bf4fbb88aac40625fd22
2017-04-20 14:57:42 +00:00
Jocelyn Dang
f29eb24c4e Merge "Add min and max learned battery capacity to batterystats." into oc-dev
am: b2aa0ceb0d

Change-Id: I9822b8540decfef15473f05ef08563699aa0d20e
2017-04-20 04:40:10 +00:00
Jocelyn Dang
b2aa0ceb0d Merge "Add min and max learned battery capacity to batterystats." into oc-dev 2017-04-20 04:34:14 +00:00
Garfield Tan
8a9a686c9f Merge "Add a null check for visibleFile." into oc-dev
am: 1fb3e56998

Change-Id: I7b6faf56a23a120707b9a611fe5bceb8cff5aef1
2017-04-20 01:06:59 +00:00
TreeHugger Robot
1fb3e56998 Merge "Add a null check for visibleFile." into oc-dev 2017-04-20 01:01:07 +00:00
Selim Cinek
c40344bf86 Merge changes Ic76d996f,Ib9eefacb,If1b63340,I399c66af into oc-dev
am: 947be6bed9

Change-Id: Idf18de3db5b8e42e3a705ed1746ea078a87b6f2a
2017-04-20 00:15:13 +00:00
Selim Cinek
947be6bed9 Merge changes Ic76d996f,Ib9eefacb,If1b63340,I399c66af into oc-dev
* changes:
  Changed the documentation of the colorization
  Fixed the appearance of colorized fullscreenintent notifications
  Adapted the interpolator when using fingerprint
  The row is now labeling the expand button
2017-04-20 00:08:57 +00:00
Jocelyn Dang
c627d10650 Add min and max learned battery capacity to batterystats.
BUG: 32645990
Test: manual

Change-Id: I3da569e48571cb86c640aed732abdf6c46a2bc73
2017-04-19 16:19:32 -07:00
Lucas Dupin
757561fb04 Merge "Internal copy of Palette API." into oc-dev am: 8b4cca11f3
am: 5086a1d005

Change-Id: I4d297f8ec8c68f6c1b8994a2cc7f59b360476419
2017-04-19 23:08:28 +00:00
Garfield Tan
d21af53763 Add a null check for visibleFile.
It's null if we're operating on an external thumbdrive/sd card etc. Add
a null check as we do in moveInMediaStore().

Test: Manual tests.
Bug: 37412897
Change-Id: Idd2c1d67a36893f980a239a9999c32369da27abd
2017-04-19 15:17:40 -07:00
Selim Cinek
622c64a9ce Fixed the appearance of colorized fullscreenintent notifications
Previously the background would stay grey.

Test: manual, add fullscreen intent colorized notification
Change-Id: Ib9eefacba58256d2cb0c6f0d70cf0e9b5afdaf06
Fixes: 35968024
2017-04-19 15:00:50 -07:00
Lucas Dupin
5086a1d005 Merge "Internal copy of Palette API." into oc-dev
am: 8b4cca11f3

Change-Id: Ie4ad73e57ca0b44d87986038874287ca6bab2f6d
2017-04-19 18:37:41 +00:00
TreeHugger Robot
8b4cca11f3 Merge "Internal copy of Palette API." into oc-dev 2017-04-19 17:24:07 +00:00
Keun-young Park
eefa94b96d Merge "fs_stat: ignore quota fix caused by tree optimization" into oc-dev am: f04390ed49
am: c5c30239d6

Change-Id: Ide5358102ff89310fbf987fc67f38104acd304be
2017-04-19 16:20:16 +00:00
Keun-young Park
c5c30239d6 Merge "fs_stat: ignore quota fix caused by tree optimization" into oc-dev
am: f04390ed49

Change-Id: I6c1a80a4a74e44973f08cefe7c7e392ea6e109a6
2017-04-19 16:16:54 +00:00
Keun-young Park
6bea235195 fs_stat: ignore quota fix caused by tree optimization
- tree optimization leads into quota fix which is not a real fix.
- Distinguish such case from real file system fix to get fs statistics
  correctly.
- This is only for correct fs stat metric collection. There is no
  functionality change in device side.
- Full parsing is only run when fs fix is detected from fs_stat.
  Examplt of fsck fix that will be ignored as optimization:
  e2fsck 1.43.3 (04-Sep-2016)
  Pass 1: Checking inodes, blocks, and sizes
  Inode 877141 extent tree (at level 1) could be shorter.  Fix? yes

  Pass 1E: Optimizing extent trees
  Pass 2: Checking directory structure
  Pass 3: Checking directory connectivity
  Pass 4: Checking reference counts
  Pass 5: Checking group summary information
  [QUOTA WARNING] Usage inconsistent for ID 10038:actual (71667712, 1000) != expected (71671808, 1000)
  Update quota info for quota type 0? yes

  [QUOTA WARNING] Usage inconsistent for ID 10038:actual (59555840, 953) != expected (59559936, 953)
  Update quota info for quota type 1? yes

  /dev/block/platform/soc/624000.ufshc/by-name/userdata: ***** FILE SYSTEM WAS MODIFIED *****
- also added unit test for the fsck log parsing

bug: 36391645
Test: many reboots with fs_stat check, runtest frameworks-services -c com.android.server.BootReceiverFixFsckFsStatTest
Change-Id: I86a97a3b50ee573db51d19d2cd243b8f7795a165
2017-04-18 21:39:05 -07:00
Matthew Ng
7ccdb52fc9 Increases the minimized width in landscape by statusbar height
Adds an extra 24dp (statusbar inset height) to the minimized width
in landscape and seascape.

Change-Id: Ia7b6b665a4ef01e5998d1ada0bbb4db02abb7f97
Fixes: 36529938, 36531002
Test: manual
2017-04-18 17:04:32 -07:00
Torne (Richard Coles)
1383a35c6f Merge "Add logging to WebView zygote package preload." into oc-dev am: 4396a74208
am: 061f809ae2

Change-Id: I3494be9bdd0827abb3fec827b63022042311dc8e
2017-04-18 23:56:23 +00:00
Torne (Richard Coles)
061f809ae2 Merge "Add logging to WebView zygote package preload." into oc-dev
am: 4396a74208

Change-Id: Ia2253843589ccb740706a8659b962c0da125d097
2017-04-18 23:51:57 +00:00
TreeHugger Robot
4396a74208 Merge "Add logging to WebView zygote package preload." into oc-dev 2017-04-18 23:43:25 +00:00
Casey Burkhardt
673e34e380 Merge "Minor UI adjustments to a11y button chooser" into oc-dev am: 585f7c1b20
am: 6d3b647619

Change-Id: Ib8a88a88e45c413023ade808fe230b7f7f1fa1fd
2017-04-18 21:31:08 +00:00
Casey Burkhardt
6d3b647619 Merge "Minor UI adjustments to a11y button chooser" into oc-dev
am: 585f7c1b20

Change-Id: If24ee756971f9322e0130983d065bb7ab291f12a
2017-04-18 21:22:33 +00:00
Torne (Richard Coles)
deeb6ade92 Add logging to WebView zygote package preload.
This is a potentially slow event and having a timestamp for when it
started/completed may help to track down a currently-open bug (as well
as enable us to see how long preloading took). This only happens once
per boot and once per WebView update so won't cause a significant amount
of logging.

Bug: 37347817
Test: check for messages in logcat on first use of WebView
Change-Id: Ib6c50eea71324f81cda5b5b1ac91f9dc806e0ab4
2017-04-18 17:19:49 -04:00
Casey Burkhardt
585f7c1b20 Merge "Minor UI adjustments to a11y button chooser" into oc-dev 2017-04-18 21:09:04 +00:00
Abodunrinwa Toki
2a68c9c4f9 Merge "FloatingToolbar: Rules for ordering menu items." into oc-dev am: 6d149bc953
am: ab95d6c9de

Change-Id: I105f471b60bf06775f80e5f9ac3ec9b4b78632dd
2017-04-18 13:13:27 +00:00
Abodunrinwa Toki
ab95d6c9de Merge "FloatingToolbar: Rules for ordering menu items." into oc-dev
am: 6d149bc953

Change-Id: I2cb81342813f3ea402044e9c067a066d76873f94
2017-04-18 13:08:26 +00:00
Abodunrinwa Toki
6d149bc953 Merge "FloatingToolbar: Rules for ordering menu items." into oc-dev 2017-04-18 12:58:33 +00:00
Robert Carr
00f123a39b Merge "DecorView: Avoid changing shadow size in Pinned Stack." into oc-dev am: cc824e77c8
am: 75fd277d58

Change-Id: I18c6eb12b3ca23d25e513be0deece45d2ac39f22
2017-04-18 02:42:04 +00:00
Robert Carr
75fd277d58 Merge "DecorView: Avoid changing shadow size in Pinned Stack." into oc-dev
am: cc824e77c8

Change-Id: I05368f1e5067b62652bd6b3d80dd438fe432723f
2017-04-18 01:37:12 +00:00
Casey Burkhardt
4c6436f880 Minor UI adjustments to a11y button chooser
- Allow scrim-touch or downward-drag to dismiss the chooser
- Ensure the bottom drawer takes up only as much space as it needs
  to prevent it from being draggable

Bug: 36871827
Test: Manual - verified appearance and behavior changes
Change-Id: I1779814a7ee386f4a32faed5c0eb799ebe4706e5
2017-04-17 16:36:09 -07:00
Lucas Dupin
440e8e9dbc Internal copy of Palette API.
Change-Id: I0cad1721df9fe3d01ed0c75fbec6ccd1f42ffc0a
Fixes: 37438780
Test: core compilation
2017-04-17 16:34:15 -07:00
Robert Carr
232b5f820e DecorView: Avoid changing shadow size in Pinned Stack.
It seems at the end of the animation, sometimes we will
come to think we have focus, before we have properly
updated mStackId. This in-and-of itself seems like
somewhat of an issue...but I'm not inclined to dig too
deeply at the moment. For now just ensure a static shadow
size in the pinned stack.

Bug: 37425446
Test: Manual
Change-Id: I379f7a6de51670c90eacb52a5be5e17784be8ac5
2017-04-17 16:03:08 -07:00
Selim Cinek
69e76f96c2 The row is now labeling the expand button
To create a clear connection between the expand button
and the notification.

Test: manual, listen to expand button
Change-Id: I399c66af1252f1078895c65603eaa83003a3a819
Fixes: 35064589
2017-04-17 14:55:52 -07:00
Abodunrinwa Toki
6eecdc934c FloatingToolbar: Rules for ordering menu items.
- The assist menu item should always appear first
- Only the assist menu item should have an icon + text label

The description above enforces the expected UX without breaking
existing apps. Previously, apps couldn't have icons + text for a
menu item (we only rendered text for such items). If we don't
enforce that the assist menu item (android.R.id.textAssist) appears
first, then this item could potentially be rendered in a different
position for apps that specify an order number lower than that
specified for the assist menu item.

Test: Included in this cl.

Bug: 35989798

Change-Id: I56c71450c850e1d8cd80d54d4e17a6390823485f
2017-04-16 23:07:14 +01:00
Eugene Susla
1c6b5765bb Merge "API for notification listener for Companioon apps" into oc-dev am: 0d88904744
am: 0fb1104b25

Change-Id: I33326544bd1eef9abc900ea13cb2fdf32ad06cbe
2017-04-15 04:28:02 +00:00
Eugene Susla
0fb1104b25 Merge "API for notification listener for Companioon apps" into oc-dev
am: 0d88904744

Change-Id: Ie6093be3e7699481473eeb597bc4d604728330a2
2017-04-15 04:22:48 +00:00
Eugene Susla
cf00adebec API for notification listener for Companioon apps
Test: 1. Trigger the confitrmation dialog.
Ensure it looks exactly like the one from settings.
2. Call an API without associating the appa first
Ensure exception is thrown with a message mentioning the need to associate 1st
Change-Id: I94d4116e1988db869ed445ae3fd018c50590e3f4
2017-04-14 19:01:53 -07:00
Svetoslav Ganov
dfcfee7a58 Merge "[DO NOT MERGE] Fix associations serialization optimization bug" into oc-dev am: 21da54587b
am: 3b3d9f8415

Change-Id: If448d00811124f5a12d9cae166e2c81a83d13f02
2017-04-15 00:02:01 +00:00
Roozbeh Pournader
59e987e922 Merge "Support overriding display locale for SuggestedLocaleAdapter" into oc-dev am: 2a05c5edb7
am: 2ad47527f8

Change-Id: Ib0639bc5e7b5e761d800b3e87915b59cd8523bb0
2017-04-15 00:00:36 +00:00
Svetoslav Ganov
3b3d9f8415 Merge "[DO NOT MERGE] Fix associations serialization optimization bug" into oc-dev
am: 21da54587b

Change-Id: I332d4aeeb7eb14a0b51a60382c8efedf4e1d5375
2017-04-14 23:34:22 +00:00
Roozbeh Pournader
2ad47527f8 Merge "Support overriding display locale for SuggestedLocaleAdapter" into oc-dev
am: 2a05c5edb7

Change-Id: I4752951eee34ec5e98368a1b0a68ecb3cbf449cb
2017-04-14 23:33:01 +00:00
Svetoslav Ganov
21da54587b Merge "[DO NOT MERGE] Fix associations serialization optimization bug" into oc-dev 2017-04-14 23:22:31 +00:00
TreeHugger Robot
2a05c5edb7 Merge "Support overriding display locale for SuggestedLocaleAdapter" into oc-dev 2017-04-14 23:22:12 +00:00