Commit Graph

245370 Commits

Author SHA1 Message Date
Alan Viverette
3a3fb73c75 Merge "Revert "Always assign leftover pixels to last weighted child"" into nyc-dev 2016-05-05 18:37:43 +00:00
Jason Monk
b8ae788f07 QS Header: remove collapsed alarm ripple
Its no longer a button, so it shouldn't act like one.

Change-Id: Iac78f80bb0e99fd4d6135f6c1ceac9bc96c7cc8e
Fixes: 28611090
2016-05-05 14:36:57 -04:00
Wang Le
e2c1f9b78b Fix the issue that App crash on startForeground
Install single APP in any user space except Owner user, the APP
got crash when call startForeground in Service Component with
Notification which without SmallIcon.

External bug:https://code.google.com/p/android/issues/detail?id=209043
Internal bug: 28602381

Change-Id: I88a3b8afc213cafe0f280f9b44d6acd2ea0df207
Signed-off-by: Wang Le <wangle@xiaomi.com>
2016-05-05 11:31:38 -07:00
Shubang Lu
2bea394d14 Merge "TIF: Keep recording sessions while changing user" into nyc-dev 2016-05-05 18:20:14 +00:00
TreeHugger Robot
8318223a6e Merge "Fix reboot loop when "password to boot" is enabled on ..." into nyc-dev 2016-05-05 18:14:31 +00:00
Dirk Dougherty
920bf8a339 Add vanity url for bg optimations.
Change-Id: I34018b86a5da1abf6cf80427067d5b73eb1b2736
2016-05-05 11:07:58 -07:00
Chris Thornton
cac9495030 Merge "VIMS should only stop the keyphrases it started." into nyc-dev 2016-05-05 18:06:55 +00:00
Youngsang Cho
00f8ee2851 Merge "TIF: build TvInput list at onUnlockUser" into nyc-dev 2016-05-05 18:06:21 +00:00
Jeff Sharkey
90f4ca78ee Merge "Track current user without calling into AMS." into nyc-dev 2016-05-05 18:01:41 +00:00
Alan Viverette
61c41bf617 Revert "Always assign leftover pixels to last weighted child"
This reverts commit cc26636f08.

Bug: 27690033
Change-Id: Ib7084dd8961cd486de4e6b13e36da7be887b1835
2016-05-05 17:54:36 +00:00
Jeff Sharkey
ab15c391eb Track current user without calling into AMS.
From a layering point-of-view, StorageManager is below ActivityManager
and it shouldn't be calling upwards, since that risks locking
inversions.  Instead, track the current user through the existing
SystemService callbacks.

Bug: 28598527
Change-Id: I02d3277eb26288d3b4e1897f4c9318a6288c9551
2016-05-05 11:47:18 -06:00
Jason Monk
a8f07d916d QS Edit: fix some move logic
Make sure its possible to add tiles when none are there and remove
tiles when all are added.

Bug: 28067638
Change-Id: Ia5a145f095cd33cf8d4a85a0a8aabb2344e3dec6
2016-05-05 13:11:36 -04:00
Fyodor Kupolov
430df0fdb6 Merge "Return from onUserUnlocked if user is no longer unlocked" into nyc-dev 2016-05-05 17:10:46 +00:00
Richard Uhler
568a969f60 Remove inconsistent 'cmd package compile' documentation.
Bug: 28562124
Change-Id: I89e6cd0d7ebb717bf1b143b615f717a1f6573549
2016-05-05 10:07:29 -07:00
Makoto Onuki
8ac7f2134c Fix reboot loop when "password to boot" is enabled on ...
a non english locale.

Bug 28607673

Change-Id: I316f348305238616e8254bb878b66099015a3793
2016-05-05 10:03:09 -07:00
shubang
8049f20df8 TIF: Keep recording sessions while changing user
Bug: 28302189
Change-Id: I3de400798b9ded5f9f67931fbe7033755d76902f
2016-05-05 09:58:14 -07:00
Jason Monk
c91f5e2971 Merge "Add action to launch webview implementation settings" into nyc-dev 2016-05-05 16:56:20 +00:00
Cheryl Potter
d2b11f93d8 resolve merge conflicts of c522dc6 to mnc-mr-docs am: 0cb25d527f am: 34b9fa4d47
am: aa99efdb72

* commit 'aa99efdb7290fa3dfdb06ebf756e5e6fb9ae446c':
  docs: Update help button redirects for new Android Monitor docs b/28592116

Change-Id: I1a73b0e45b8940a940b59e1209d908567f59b04b
2016-05-05 16:37:08 +00:00
Cheryl Potter
aa99efdb72 resolve merge conflicts of c522dc6 to mnc-mr-docs am: 0cb25d527f
am: 34b9fa4d47

* commit '34b9fa4d471a0bf2b6cf2dc8c342468d48c9fefa':
  docs: Update help button redirects for new Android Monitor docs b/28592116

Change-Id: I24359c6e2eea97383309610f60d83286a0663c7b
2016-05-05 16:34:12 +00:00
Vladislav Kaznacheev
acf147e7e3 Add @TestApi to ActivityOptions.setLaunchStackId
Bug: 28506739
Change-Id: I20fe4d080c125b38a84d9832a497340f805e82e7
2016-05-05 09:32:27 -07:00
Selim Cinek
cfcd23e61b Fixed a bug where Notifications could overlap
Change-Id: Ic7f9599cee95411e1207b609e584038ad8cb4d99
Fixes: 28550654
2016-05-05 12:31:42 -04:00
Cheryl Potter
34b9fa4d47 resolve merge conflicts of c522dc6 to mnc-mr-docs
am: 0cb25d527f

* commit '0cb25d527f4ca81910feb106cca7ca156a34018b':
  docs: Update help button redirects for new Android Monitor docs b/28592116

Change-Id: I24ec45420bab5a346f4d86b7a1a09ed9a3dec67f
2016-05-05 16:31:08 +00:00
Youngsang Cho
19c47d7995 TIF: build TvInput list at onUnlockUser
From N, apps cannot be accesible until onUnlockUser is called.
So the TvInput's list needs to be built at onUnlockUser.

Bug: 28586844
Change-Id: I84c896fa243c05c7e1f794863d8a83288549e6ff
2016-05-05 09:21:24 -07:00
Adam Powell
a75d4877af Merge "Have the Resolver/Chooser activities handle resize config changes" into nyc-dev 2016-05-05 16:04:07 +00:00
Rubin Xu
f91d66e8c0 Merge "Remove obsolete file" into nyc-dev 2016-05-05 15:54:17 +00:00
Rubin Xu
9af20ffb59 Remove obsolete file
Bug: 27531824
Change-Id: Id6706f0ba6a68723704e58a7fbd8b529e3ec7970
2016-05-05 16:43:26 +01:00
Jason Monk
4a19a2043c Merge "Fix QS crash with RTL rotate" into nyc-dev 2016-05-05 15:42:43 +00:00
Jason Monk
c665a3d4e9 Merge "Fix QS edit accessibility" into nyc-dev 2016-05-05 15:41:34 +00:00
Jason Monk
d27ed8b336 Merge "QS Edit: announce exit/entrance" into nyc-dev 2016-05-05 15:41:07 +00:00
Jason Monk
3f50a94e6c Merge "Fix QS header settings + user visibilities" into nyc-dev 2016-05-05 15:40:34 +00:00
Jason Monk
f3bd7a300f Fix QS header settings + user visibilities
Change-Id: If2b5fb2ab47254bb0e44685a0fcd5d92d5d347fb
Fixes: 28235542
2016-05-05 10:15:25 -04:00
Adrian Roos
957df516f0 Merge "Fix Trust Agent discovery for FBE" into nyc-dev 2016-05-05 14:05:10 +00:00
Zoltan Szatmary-Ban
e783460274 Introduce system API to get source of user restriction
Clients can query who has set a particular user restriction on a user.
Currently the result can be a combination of none, system/user, or admin.

Bug: 27830375
Change-Id: I50ea9db0a59ffe3abbdcbb1a436d9ace7a35a851
2016-05-05 15:03:02 +01:00
Clara Bayarri
6bfac039b1 Merge "Fix RTL margins on Power dialog" into nyc-dev 2016-05-05 13:29:14 +00:00
TreeHugger Robot
1ef61df23c Merge "PackageManager : Log stats about the optimizing apps dialog." into nyc-dev 2016-05-05 13:10:49 +00:00
Rubin Xu
1448962a95 Merge "Guard retrievePreRebootSecurityLogs with config flag" into nyc-dev 2016-05-05 13:03:48 +00:00
Diego Perez
e37ecbdede Merge "Add missing delegate in Bitmap_Delegate" into nyc-dev 2016-05-05 12:21:35 +00:00
Narayan Kamath
4ec026930b PackageManager : Log stats about the optimizing apps dialog.
Logs the following parameters :
- Total time spent optimizing apps.
- Total number of apps that were dexopted.

TESTED: with adb logcat -b events:
05-04 15:24:16.303  2065  2065 I sysui_action: [402,3]
05-04 15:24:16.303  2065  2065 I sysui_action: [403,34]
05-04 15:24:16.303  2065  2065 I sysui_action: [404,0]
05-04 15:24:16.304  2065  2065 I sysui_action: [405,163]
05-04 15:24:16.304  2065  2065 I sysui_action: [406,12168]

This shows that:
 - 3 apps were optimized
 - 34 apps were skipped
 - 0 apps failed to optimize
 - dialog showed a total of 37 (3 + 34 + 0) apps
 - system has 163 optimizable packages
 - a total of 12.2 seconds was spent in the optimizing apps dialog

bug: 28528058
bug: 28544474
Change-Id: I9eb5229a1589ca0df57d3fc03102992fa90a877f
2016-05-05 12:24:09 +01:00
Rubin Xu
0fb6b9e18c Guard retrievePreRebootSecurityLogs with config flag
Bug: 28160645
Change-Id: Ifce884c319019758dfaaa39bc239e9f30962c920
2016-05-05 12:00:50 +01:00
Neil Fuller
00e8fef0ba Merge "Track external/icu API changes for factory registration" into nyc-dev 2016-05-05 09:54:46 +00:00
Jaewan Kim
92e5a0dfa6 Merge "Fix thumbnail transition animation when Recents is shown with PIP" into nyc-dev 2016-05-05 04:57:35 +00:00
Cheryl Potter
0cb25d527f resolve merge conflicts of c522dc6 to mnc-mr-docs
Change-Id: Ib4aedad4813a7973268239957b5103642941733d
2016-05-04 19:46:50 -07:00
Alan Viverette
a11c21b412 Merge "Always assign leftover pixels to last weighted child" into nyc-dev 2016-05-05 02:26:45 +00:00
TreeHugger Robot
4e0114742a Merge "Don't resize task when dismissing docked stack" into nyc-dev 2016-05-05 02:07:28 +00:00
Andrew Solovay
6f9f75e106 docs: Fixing bad URL in libraries TOC am: 084d99bfd4 am: d9092978cd
am: 35515f4fdb

* commit '35515f4fdb9e0c5ae4618a8b55addd2e24cf6983':
  docs: Fixing bad URL in libraries TOC

Change-Id: I930f38f695dc831983afc414799cbfc9398ff867
2016-05-05 01:01:58 +00:00
Andrew Solovay
35515f4fdb docs: Fixing bad URL in libraries TOC am: 084d99bfd4
am: d9092978cd

* commit 'd9092978cde2bfdb291c5a5edbec4c28404a8e0d':
  docs: Fixing bad URL in libraries TOC

Change-Id: I25103954c34a912c75e9cbbda01aeb007f03b410
2016-05-05 00:59:37 +00:00
Andrew Solovay
d9092978cd docs: Fixing bad URL in libraries TOC
am: 084d99bfd4

* commit '084d99bfd4938689e6394a8f3bcb5d261b852f93':
  docs: Fixing bad URL in libraries TOC

Change-Id: I98fabe110ba52c1f411cf2c6ab27ae9d86997dce
2016-05-05 00:54:48 +00:00
Christopher Tate
35c2827c60 Ensure that the stream feeder doesn't hang in write...
...if the restoring data engine thread winds up operations.  By closing
the engine side of the pipe unconditionally when exiting the thread,
the unanticipated-failure path is now guaranteed (instead of blocking
forever in write() to a pipe that isn't being read!).

In addition, wire agent-timeout handling into the various stream
data-handling operations (preflight, backup, restore).  This were
not sufficiently robust and were in some situations leaving the
backup/restore mechanisms in a livelock state.

Finally, plug a longstanding problem in which we'd have orphaned
timeout messages coming in and producing a certain amount of "wtf?"
logging and wasted CPU.  No longer!

Bug 28457158

Change-Id: I597c76c3eada378ffeb20870253847594f73e089
2016-05-04 17:52:19 -07:00
Fyodor Kupolov
e09a623bc0 Return from onUserUnlocked if user is no longer unlocked
User can be removed or stopped by the time broadcast is delivered.

Bug: 28582351
Change-Id: I26f1a37a1ed61694679afff458c91438ee4e78cb
2016-05-04 17:48:41 -07:00
Jorim Jaggi
069dfe67a2 Don't resize task when dismissing docked stack
Make sure to "freeze" bounds while dismissing the docked stack by
either maximizing or minimizing it.

Bug: 28196862
Change-Id: Ifcd9deda340de8bc46df949df2fa1049e2f45f92
2016-05-04 17:24:47 -07:00