Commit Graph

246497 Commits

Author SHA1 Message Date
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
0722dabda6 Merge "Fix RTL margins on Power dialog" into nyc-dev
am: 6bfac039b1

* commit '6bfac039b130268868af21252c58d07fcaa64074':
  Fix RTL margins on Power dialog

Change-Id: I3d18791d9008dfd877878008e81507efdb84723f
2016-05-05 13:34:30 +00:00
Clara Bayarri
6bfac039b1 Merge "Fix RTL margins on Power dialog" into nyc-dev 2016-05-05 13:29:14 +00:00
Narayan Kamath
f3eef0712d Merge "PackageManager : Log stats about the optimizing apps dialog." into nyc-dev
am: 1ef61df23c

* commit '1ef61df23c37b34fb7444ef8bbf802f276204484':
  PackageManager : Log stats about the optimizing apps dialog.

Change-Id: I39161841480a925b36764e6d7ebd278fc9ac0103
2016-05-05 13:16:55 +00:00
Rubin Xu
6f2cff43c0 Merge "Guard retrievePreRebootSecurityLogs with config flag" into nyc-dev
am: 1448962a95

* commit '1448962a95f40db93af02057e0804a375f3d62ca':
  Guard retrievePreRebootSecurityLogs with config flag

Change-Id: I9d76de442e2b852314874d4121be7f15e40045b1
2016-05-05 13:12:43 +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
619ccaca06 Merge "Add missing delegate in Bitmap_Delegate" into nyc-dev
am: e37ecbdede

* commit 'e37ecbdede9bb3b4fadba359891b13eb5cd6c697':
  Add missing delegate in Bitmap_Delegate

Change-Id: Iff826aed812d38901b72524cd4ec54dd5908545f
2016-05-05 12:27:42 +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
08b46f3431 Merge "Track external/icu API changes for factory registration" into nyc-dev
am: 00e8fef0ba

* commit '00e8fef0ba61cd57cd36beeb81ae1eb20ac04eaf':
  Track external/icu API changes for factory registration

Change-Id: Ic1e5a3d6b7a3479a2feec75e1729411485eab1ad
2016-05-05 10:00:40 +00: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
79bcd943ef Merge "Fix thumbnail transition animation when Recents is shown with PIP" into nyc-dev
am: 92e5a0dfa6

* commit '92e5a0dfa66f5cb454ce1bbe7246e806b2517e85':
  Fix thumbnail transition animation when Recents is shown with PIP

Change-Id: I21de87dfcd366b9622b1d55fa88b5c9b08289b1d
2016-05-05 05:00:17 +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
9204810e66 Merge "Always assign leftover pixels to last weighted child" into nyc-dev
am: a11c21b412

* commit 'a11c21b41239c9101a2a1f4e5870b2f819d0e92d':
  Always assign leftover pixels to last weighted child

Change-Id: Ibfaa979ba23c204172015fae11a767be8a4852dc
2016-05-05 02:29:57 +00:00
Alan Viverette
a11c21b412 Merge "Always assign leftover pixels to last weighted child" into nyc-dev 2016-05-05 02:26:45 +00:00
Jorim Jaggi
b78624dabf Merge "Don\'t resize task when dismissing docked stack" into nyc-dev
am: 4e0114742a

* commit '4e0114742a86ba3c3c9fb9cc536823be44712c05':
  Don't resize task when dismissing docked stack

Change-Id: Id7b8e6ada280dab2d14a99df4a0447355d0270f2
2016-05-05 02:12:43 +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
447a2c97ac docs: Fixing bad URL in libraries TOC am: 084d99bfd4 am: d9092978cd am: 35515f4fdb
am: 6f9f75e106

* commit '6f9f75e1063d282c933ede862fa7ea9371a2f310':
  docs: Fixing bad URL in libraries TOC

Change-Id: I631c9d39d626e61d0abb3feabbd33c873a797f9b
2016-05-05 01:04:12 +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
Dianne Hackborn
5a969aa139 Fix issue #28602068: Add count to job scheduler stats
Also increase the event buffer size to 100, and implement
it as a real ring buffer.  And put that implementation in
a generic class for use in other places.

Change-Id: I06936984e2c253fb5f0eb5d15faf0019ec73d4e2
2016-05-04 17:19:04 -07:00
Jorim Jaggi
ddbe7b2c05 Merge "Add dump information for divider" into nyc-dev
am: f28b23416e

* commit 'f28b23416eb607734d255b0c5595674ee3b7b949':
  Add dump information for divider

Change-Id: I60e1131190a272c799a8807b11123aa46c999c89
2016-05-05 00:05:07 +00:00
Winson
6b7cde5a7a Fixing issue with passing arguments to toggle recents.
am: ae165154a2

* commit 'ae165154a2a80ef160927d81a0b898660153f25e':
  Fixing issue with passing arguments to toggle recents.

Change-Id: I2db3b70ccca755c87f3f4ae6fb928f0c65f76fd6
2016-05-05 00:05:05 +00:00
Winson
e83439d066 Fixing regression in enter-recents state.
am: d7cb517b4c

* commit 'd7cb517b4ce10fa98213da18ccdb2261fb797f7c':
  Fixing regression in enter-recents state.

Change-Id: I4cd25886dc0013cab64c83a39ef5d62437767eb1
2016-05-05 00:05:03 +00:00
Jorim Jaggi
f28b23416e Merge "Add dump information for divider" into nyc-dev 2016-05-05 00:00:03 +00:00
Winson
ae165154a2 Fixing issue with passing arguments to toggle recents.
Bug: 28598762
Change-Id: I38edd34ae158abd97b28c82e700f3e020e81af75
2016-05-04 23:58:48 +00:00
Winson
d7cb517b4c Fixing regression in enter-recents state.
- We should always start the activity when docking to ensure that the
  launch state is set up correctly.

Bug: 28470261
Change-Id: I4aae0dedb95a1c796c72b487b6700da0754e66f3
2016-05-04 23:58:06 +00:00
Jim Miller
ef2d441742 Merge "Send FINGERPRINT_ERROR_LOCKOUT on some devices" into nyc-dev
am: 4676868313

* commit '46768683136242de4240958708587dded637ef64':
  Send FINGERPRINT_ERROR_LOCKOUT on some devices

Change-Id: I0e53ec7c52802de58be9d69058a65e6a43a75b75
2016-05-04 23:55:39 +00:00
Jim Miller
4676868313 Merge "Send FINGERPRINT_ERROR_LOCKOUT on some devices" into nyc-dev 2016-05-04 23:49:59 +00:00
Adam Powell
46ef0579dd Have the Resolver/Chooser activities handle resize config changes
Both of these activities do additional work and look janky when
rebuilding for a config change, especially in the presence of
multiwindow. As neither of them use layouts or other resources that
vary based on configuration, mark them as handling the relevant config
changes.

Bug 27171954

Change-Id: I38df1d875bcb063d72316b586c4d3f8074c4fad9
2016-05-04 16:47:59 -07:00
Ruben Brunk
17f3a40645 Merge "Update VR API docs." into nyc-dev
am: 01d232988a

* commit '01d232988a69dfdee7f90cebf560686e458849e4':
  Update VR API docs.

Change-Id: I1b2cc88ca390c90d42cae3736aaf986e6c0e9396
2016-05-04 23:43:50 +00:00
Jorim Jaggi
31f71705df Add dump information for divider
Bug: 28575870
Bug: 28445644
Change-Id: Ib2137c49f1672ed2a9e7e31a5b68c22e0bb166b1
2016-05-04 16:43:04 -07:00
Selim Cinek
fc44faf1d8 Merge changes I4d34ed4b,Iddfbdf5c into nyc-dev
am: 17bc1fd090

* commit '17bc1fd09042f2749a1c822d32bc48eeb3b280f6':
  Fixed a bug where the pin wasn't scaled correctly
  Fixed a bug where the scrim was transparent

Change-Id: I3259a79075ece8f4159d5bc4272ce39fd37f3b5f
2016-05-04 23:39:03 +00:00
Selim Cinek
bcfd427b11 Merge "Fixed an issue where the scrim could be lost" into nyc-dev
am: 05d61edeb2

* commit '05d61edeb271167b6a9a97aa9adf1fe7bfb9bfbf':
  Fixed an issue where the scrim could be lost

Change-Id: I72f8ed8b302d9e9542e2ae3c540f671d344b74bf
2016-05-04 23:39:01 +00:00
Selim Cinek
8c6d8a8d99 Merge "Fixed a flickering when expanding and the notifications updates" into nyc-dev
am: 4ad13b3340

* commit '4ad13b334057dc541168d4ffdaf61a63b5fb6864':
  Fixed a flickering when expanding and the notifications updates

Change-Id: I99cfb8a7baed888eceeacc44f12cc128d2aec6e1
2016-05-04 23:38:59 +00:00
Selim Cinek
b07b4e354a Merge changes Ic30e4de6,I34496c73,I096d3823 into nyc-dev
am: 11619f4782

* commit '11619f4782507e7543b23e5aed5f7164f16b20c3':
  Fixed a bug where the content height was wrong
  Fixed the fade in animation when coming from dark
  Fixed the animation when flinging over the bottom stack

Change-Id: I07107b2694542e1b70e9813b323c026660b81589
2016-05-04 23:38:56 +00:00
Selim Cinek
250a8441c1 Merge "Made the dismissal of notifications snappier" into nyc-dev
am: 910f69e0bb

* commit '910f69e0bb7fc9a6ef880f27fe99ad3a7abbdf15':
  Made the dismissal of notifications snappier

Change-Id: Ia5a47a60d8361bcfddca365482ec236f91fe6049
2016-05-04 23:38:51 +00:00
Selim Cinek
152de8e3dd Merge "Fixed an issue where children would animate strangely when removed" into nyc-dev
am: 35a8c2f00e

* commit '35a8c2f00e1c3bb2e2cf24260682400d025a49f0':
  Fixed an issue where children would animate strangely when removed

Change-Id: Iecb054320ff101638b9d79f8b0d1f25bead30524
2016-05-04 23:38:45 +00:00
Ruben Brunk
01d232988a Merge "Update VR API docs." into nyc-dev 2016-05-04 23:35:44 +00:00
TreeHugger Robot
17bc1fd090 Merge changes I4d34ed4b,Iddfbdf5c into nyc-dev
* changes:
  Fixed a bug where the pin wasn't scaled correctly
  Fixed a bug where the scrim was transparent
2016-05-04 23:31:33 +00:00
TreeHugger Robot
05d61edeb2 Merge "Fixed an issue where the scrim could be lost" into nyc-dev 2016-05-04 23:30:54 +00:00
TreeHugger Robot
4ad13b3340 Merge "Fixed a flickering when expanding and the notifications updates" into nyc-dev 2016-05-04 23:30:16 +00:00
TreeHugger Robot
11619f4782 Merge changes Ic30e4de6,I34496c73,I096d3823 into nyc-dev
* changes:
  Fixed a bug where the content height was wrong
  Fixed the fade in animation when coming from dark
  Fixed the animation when flinging over the bottom stack
2016-05-04 23:29:46 +00:00