190181 Commits

Author SHA1 Message Date
Christopher Tate
7618db1038 Don't ostensibly back off fstrim but then do it anyway
When the mount service isn't up yet, we schedule a retry in the near
future, but then mistakenly go ahead and try (unsuccessfully) to do the
fstrim immediately anyway.  Don't do that.  Furthermore, when in this
situation make sure to preserve knowledge of any completion callback
that may be expecting to hear back about the [eventual] fstrim operation.

Change-Id: Ic7cba37b4f850540f6e448168be0c42418039b01
2015-04-28 17:15:40 -07:00
Chris Craik
7ebc0eb243 Unify View alpha implies clipping behavior
bug:20254728

Change-Id: If472adf7c75ca9ccfeb0d22e005c1215aacfb80f
2015-04-28 17:14:49 -07:00
Simranjit Singh Kohli
1f1b88b22b Merge "AccountsDb Logging]: Introducing logging in accountsDb." into mnc-dev 2015-04-29 00:12:29 +00:00
Mathieu Chartier
325a57218e Merge "Properly describe exception" into mnc-dev 2015-04-28 23:47:26 +00:00
Mathieu Chartier
876b7d8fa8 Properly describe exception
Previously we used DetachCurrentThread which raised a SIGABRT from
within ART. The new approach is to use ExceptionDescribe and exit.

Bug: 20640601

(cherry picked from commit d12065f581defd9e8199593e85aa2036a0713684)

Change-Id: I00126b678ff296e0076247554af8328fe2767038
2015-04-28 16:46:59 -07:00
Alan Viverette
e861c8eb63 Merge "Fix DatePicker max date, disabled day color, and arrow visibility" into mnc-dev 2015-04-28 23:39:23 +00:00
Wale Ogunwale
b1c9539d3f Merge "@hide resizeableActivity attribute and remove from public api" into mnc-dev 2015-04-28 23:38:56 +00:00
Wale Ogunwale
a20943188c @hide resizeableActivity attribute and remove from public api
The world is not ready for it ;)

Bug: 20643000
Change-Id: Ia1fbf0450ded8afbd7d876ef2e5ec4eaccb8e6ac
2015-04-28 16:37:19 -07:00
Svet Ganov
fa5ecdc4ac Respect the record audio app op - framework
Change-Id: I5696d2ef22738ccffaf8bd7a0ee68cbc3dea3bf1
2015-04-28 16:31:58 -07:00
Xiyuan Xia
b3a6f1e96d Update bottom area alpha when stack height changes
Bottom area alpha depends on stack scroller's notification top Y
which depends on stack translation which changes when stack height
changes. Thus the bottom area alpha needs to be updated when stack
height changes.

Bug: 20457060
Change-Id: Ibcc95c830a83737732aa15147cd82d21f2ee9161
2015-04-28 23:30:33 +00:00
Jorim Jaggi
b3a020a6de Merge "Fix build." into mnc-dev 2015-04-28 23:29:41 +00:00
Jorim Jaggi
582b57f984 Fix build.
Change-Id: Ieebcab9eb6588afc560179103d78ad4011fe152c
2015-04-28 16:28:26 -07:00
Selim Cinek
61a7542364 Merge "Follow up CL for heads up notification refactoring" into mnc-dev 2015-04-28 23:27:58 +00:00
Selim Cinek
684a442b81 Follow up CL for heads up notification refactoring
Change-Id: Iaf286dfd30a86d3d7d6dd947d3c10ac9eb8c2b1e
2015-04-28 16:24:40 -07:00
Yorke Lee
f7143ce657 Merge "Make BIND_INCALL_SERVICE and BIND_CONNECTION_SERVICE public" into mnc-dev 2015-04-28 23:22:32 +00:00
Simranjit Singh Kohli
1d0c1a6ffc AccountsDb Logging]: Introducing logging in accountsDb.
This CL introduces logging for various functions like add/remove accounts,
clear/set tokens. It is made sure not to log any PII in the new table.

Bug: 18168971

Change-Id: Iacc3e7e80a640fcb113886443172809e8f7bee21
2015-04-28 16:18:51 -07:00
Yorke Lee
e9d766a312 Make BIND_INCALL_SERVICE and BIND_CONNECTION_SERVICE public
These system|signature only permissions must be required by
an InCallService and ConnectionService respectively.

Bug: 20304458
Change-Id: I26156afb610a7f549c0a1a7c01c2096928ef33a7
2015-04-28 16:13:14 -07:00
Christopher Tate
de8c75263b Merge "Give scheduled jobs a more substantial timeslice" into mnc-dev 2015-04-28 23:10:38 +00:00
Jorim Jaggi
420f2688f0 Merge "Only listen for fingerprint if needed." into mnc-dev 2015-04-28 23:01:51 +00:00
Jorim Jaggi
9a1df48620 Merge "Add animation for fingerprint error state" into mnc-dev 2015-04-28 23:01:14 +00:00
Adam Powell
4e678ff89d Merge "Fix a bug when constructing a ChooserTargetAdapter without custom targets" into mnc-dev 2015-04-28 22:59:58 +00:00
Chad Brubaker
560d653e55 Add OP_AUTH_NEEDED KeyStore result code
OP_AUTH_NEEDED will be returned from begin when an operation needs
a per operation authentication before calling update. Note that the
begin call succeeds when this error is returned, the token and handle
are valid.

(cherry picked from commit dabe520a3e6b0d0c40adfd748483fa336c43c366)

Change-Id: I0ba4e997360843b5eb6c1db9c5fcd1c4d5a2c717
2015-04-28 15:49:29 -07:00
Adrian Roos
ca067e9703 Merge "Rename windowLightStatusBar" into mnc-dev 2015-04-28 22:45:01 +00:00
Christopher Tate
90a5187d32 Give scheduled jobs a more substantial timeslice
One minute turns out to be quite limiting in practice, and we still
shut them down summarily when their run constraints become unsatisfied,
so widen the window to 10 minutes.

Bug 20143368

Change-Id: I2aba521f65b94e9fb8d519b0492625d35aaba267
2015-04-28 15:43:44 -07:00
Adam Powell
d974c7b4d1 Fix a bug when constructing a ChooserTargetAdapter without custom
targets

Bug 20667333

Change-Id: Ia35021d12c00f64f5424588f776d79e18e8d518e
2015-04-28 15:41:46 -07:00
Mike Lockwood
12e31b198e MidiFramer: Support realtime messages contained within SysEx messages.
Also fix off by one error that occurred if a SysEx message ended
in the middle of the buffer being processed.

Change-Id: I055f005610c7b091012a30b306786114c5d9bf8d
2015-04-28 15:41:35 -07:00
dcashman
fd4e566452 Merge "Fix PackageManagerSettingsTests and add KeySet info." into mnc-dev 2015-04-28 22:25:48 +00:00
Adrian Roos
59a1e117ac Merge changes from topic 'roosa-lpu' into mnc-dev
* changes:
  Remove LockPatternUtils.getCurrentUser()
  Require explicit userId in LockPatternUtils
2015-04-28 22:09:42 +00:00
dcashman
e7b021735e Fix PackageManagerSettingsTests and add KeySet info.
Add unit tests for the keyset portion of packages.xml.  Also fix previously
broken test by adding UserManagerService reference.

Bug: 19530911
Bug: 19530120
Change-Id: I251fc3e9dc983f1d63f9e84905d3ed0e64843def
2015-04-28 15:06:23 -07:00
Chris Craik
2f1d09c3c5 Merge "Use default constructor to get anti-aliasing" into mnc-dev 2015-04-28 22:06:17 +00:00
Chris Craik
ff623a5ab3 Merge "Remove unused flags and dirty rects" into mnc-dev 2015-04-28 21:39:49 +00:00
Amith Yamasani
d49489b3af Permissions control via profile/device owner admin
Profile owners and Device owners can set policies for runtime
permissions. Blanket grant/deny policy can be set for a user.
They can also explicitly grant/revoke permissions for specific apps
which cannot be overridden by the user and will not be prompted.

[More implementation required in PackageManagerService and
 PackageInstaller]

Bug: 20666663
Change-Id: I2c25c18c2a195db9023a17716d5896970848bb45
2015-04-28 14:30:09 -07:00
Tony Mantler
aadac158bf Merge "Make sure Transition constructor is accessible before invoking" into mnc-dev 2015-04-28 21:27:03 +00:00
Tony Mantler
ab5d66a96a Make sure Transition constructor is accessible before invoking
b/20666031

Change-Id: Ief519ac00aed8ce84cbc852025f91cc03da90c55
2015-04-28 14:17:06 -07:00
Luan Nguyen
50ea942255 am 4e7500e1: am c1609dc0: docs: Update information on delivering message to clarify that MessageAPI is not reliable.
* commit '4e7500e10cf10eb697bb3e916bf705b9db470c8f':
  docs: Update information on delivering message to clarify that MessageAPI is not reliable.
2015-04-28 21:09:22 +00:00
Joshua Schwarz
6bb65f0d83 am a4edc82e: am 4547dac0: Fix one-off error in reporting.
* commit 'a4edc82e9b50189b187996e8c4f4e851bdf83893':
  Fix one-off error in reporting.
2015-04-28 21:09:13 +00:00
Alan Viverette
5c33949d02 Fix DatePicker max date, disabled day color, and arrow visibility
Day validation moved from the PagerAdapter to the DayPickerView,
which is widget that actually handles the touch interaction and
disabled state for individual days.

Fixed disabled states for primary and secondary activated text
colors. Replaced old light/dark color state lists with themed
versions.

Removed conflicting view visibility changes for managing next and
previous arrows in DayPickerView.

Bug: 20630417
Bug: 20641013
Bug: 20641879
Change-Id: Icdaf02a3b57ec162169c31b8a27ebea908552321
2015-04-28 14:07:36 -07:00
John Reck
240ff6246a Skip frames with no damage
Bug: 20464038
Change-Id: Iae3aa9baf1d03c3aa443a39373e2bbd4a3910fad
2015-04-28 13:50:00 -07:00
Jorim Jaggi
ea65706d89 Only listen for fingerprint if needed.
Clean up fingerprint listening lifecycle. Only listen for fingerprint
if both screen is turned on and Keyguard is actually showing
(not occluded).

Change-Id: I169ce9df308b96487ed9dc5c8ad8f1c301f2ef93
2015-04-28 13:46:37 -07:00
Andreas Gampe
27c39f1ade am b6d14a00: resolved conflicts for merge of c29791d5 to mnc-dev-plus-aosp
* commit 'b6d14a009e43a4d61ae2a4f98f6e3b914148d0a9':
  Frameworks/base: Add debug.gencfi property

(cherry picked from commit a5b55a017a984608eacdf414bc1cbcd7615f1c13)
2015-04-28 13:46:00 -07:00
Adrian Roos
f4f84c98de Rename windowLightStatusBar
Bug: 20642760
Change-Id: If961c758bb034ff9643d7b06a2baafe7307f4051
2015-04-28 13:45:51 -07:00
Luan Nguyen
4e7500e10c am c1609dc0: docs: Update information on delivering message to clarify that MessageAPI is not reliable.
* commit 'c1609dc0b25c3143ae8d74bc44fb36873b7d289c':
  docs: Update information on delivering message to clarify that MessageAPI is not reliable.
2015-04-28 20:39:14 +00:00
Craig Mautner
6b3e0587a0 Merge "Notify client of all window movements." into mnc-dev 2015-04-28 20:33:47 +00:00
Jorim Jaggi
27267d6869 Add animation for fingerprint error state
- Put lock icon logic in a separate class.
- Add animation when switching between fingerprint scanning and
fingerprint error.

Change-Id: I87c3f101d645a990d5397b82a797c9ee40a63da2
2015-04-28 13:27:12 -07:00
John Reck
c2330f5d46 Remove View:hasStaticLayer()
Bug: 19113169
Change-Id: I81286db45eecc92c0adf04a5983b752bf3290d45
2015-04-28 13:18:52 -07:00
Eino-Ville Talvala
fa1c1f97df Merge "Camera2: Fix auto-gen documentation crossreferences." into mnc-dev 2015-04-28 20:01:55 +00:00
Simranjit Singh Kohli
1663b44cfd [Update API]:
Rename accountAuthenticated to notifyAccountAuthenticated and other
changes.

Bug: 20642769
Change-Id: I7e69d6a9492691429af0d7c2f405e01e265fcedd
2015-04-28 12:57:28 -07:00
Alan Viverette
4703273e40 Merge "Layout layers without intrinsic dimensions using FILL gravity" into mnc-dev 2015-04-28 19:51:44 +00:00
destradaa
d593bf272d Add SystemApis in GpsMeasurements APIs to reflect changes in GPS HAL.
b/19938206

Change-Id: I91fd65b29e091b600ee4982a16321308e4d55aef
2015-04-28 12:49:20 -07:00
Eino-Ville Talvala
b6eb52ffc5 Camera2: Fix auto-gen documentation crossreferences.
Also update a few outdated notes.

Bug: 20085848
Change-Id: I1aace2152ee937c6c6a4701af999722fdc2e3da7
2015-04-28 12:38:10 -07:00