199615 Commits

Author SHA1 Message Date
Nicolas Prevot
26b555d42c am d34ecae4: Don\'t set a null filter to a cross-profile ResolveInfo.
* commit 'd34ecae444867b78be06bb5a6b0fb2a66c2e30aa':
  Don't set a null filter to a cross-profile ResolveInfo.
2015-08-25 17:39:24 +00:00
Nicholas Sauer
1344cb9b1b Add GET_APP_OPS_STATS to Shell
bug: 23397072
Change-Id: I9f60f175380048e0f3888d866069f8f76166c732
2015-08-25 08:47:50 -07:00
Chris Wren
83d83194c3 Merge "instrument fingerprint crypto token service" into mnc-dr-dev 2015-08-25 14:10:20 +00:00
Nicolas Prevot
d34ecae444 Don't set a null filter to a cross-profile ResolveInfo.
ResolverActivity expects the filter not to be null.

BUG:23395395
Change-Id: Ie7081daba1ad138b1a3903ef9dd1b649806c8d0e
2015-08-25 13:03:37 +01:00
Jorim Jaggi
2cb7004928 Scale notifications on lockscreen for 420 dpi devices
Bug: 23299488
Change-Id: Ied4505532aad41a3a1469efce2464a491661fb6c
2015-08-25 04:56:43 +00:00
Eino-Ville Talvala
6393275f5f am 2bf7b98a: Merge "Camera2: Remove filtering for non-BURST_CAPTURE-capable devices" into mnc-dev
* commit '2bf7b98a2ade8b3fe25143fa9ef94f2266a908dd':
  Camera2: Remove filtering for non-BURST_CAPTURE-capable devices
2015-08-24 23:12:16 +00:00
Eino-Ville Talvala
2bf7b98a2a Merge "Camera2: Remove filtering for non-BURST_CAPTURE-capable devices" into mnc-dev 2015-08-24 23:08:00 +00:00
Jorim Jaggi
d94d3a2aa5 Fix issues with light status bar and fp wake-and-unlock
- When wake-and-unlocking, make sure to skip the light status bar
transition.
- Fix race condition with window manager when unlocking when device
is interactive for supplying the timings for the light status bar
transition.
- Fix media artwork when wake-and-unlocking while pulsing.

Bug: 23365544
Change-Id: I209ca1e6684811f5f313354ca1614a0ebd49388c
2015-08-24 21:49:49 +00:00
Adrian Roos
8a8885b91d am def6896d: Fix shifted wallpaper after OTA
* commit 'def6896d10ce4869831bf91eb73709e8a9714b27':
  Fix shifted wallpaper after OTA
2015-08-24 21:41:43 +00:00
Eino-Ville Talvala
e3f5483977 Camera2: Remove filtering for non-BURST_CAPTURE-capable devices
Devices that do not support the BURST_CAPTURE capability do not
get the split resolution lists. However, one spot in the stream
configuration map enumeration did not guard against this properly.

As a result, the category of devices that are not-BURST-CAPABLE and
do list resolutions that operate at a 'slow' (<= 20fps) rates cause
an assert to fire from an apparently-inconsistent size list.

Guard the filtering correctly, to correctly support such
devices.

Bug: 23489536
Change-Id: Ib026f6555c69b7fac0cd1ea5027d598644cd8701
2015-08-24 14:08:58 -07:00
Adrian Roos
def6896d10 Fix shifted wallpaper after OTA
Fixes a bug where WindowManager's and SurfaceFlinger's
view of the wallpaper's position could get out of sync.

Bug: 13020924
Change-Id: Iad17b0f516fffacd2877ceac40fcc8e2647c06b2
2015-08-24 20:52:21 +00:00
Jorim Jaggi
414985c422 Remove window from mWaitingForDrawn when policy hidden
When doing a wake-and-unlock sequence and the app underneath hides
the status bar, we are dismissing Keyguard, the app gets focus, the
app hides the status bar BUT we haven't finished drawn yet, so we
are waiting until the timeout because w.hasDrawnLw() always returns
false. Remove window from pending list if it gets policy hidden.

Bug: 23431343
Change-Id: I27e8c6d4efb435a4d3b632a4a37c0de5b021c2e7
2015-08-24 20:47:41 +00:00
Joe Fernandez
8c8a0c0034 am c550a6fa: Merge "docs: Add Studio 1.3.2 release notes and download links" into mnc-dev
* commit 'c550a6fa945c0eeb5d766d0a54a50af54eddd67f':
  docs: Add Studio 1.3.2 release notes and download links
2015-08-24 20:30:20 +00:00
Joe Fernandez
c550a6fa94 Merge "docs: Add Studio 1.3.2 release notes and download links" into mnc-dev 2015-08-24 20:25:04 +00:00
Joe Fernandez
0b4d170bee docs: Add Studio 1.3.2 release notes and download links
- Added Studio 1.3.2 release notes
- Added Studio 1.3.2 download link information
- Added ADT 23.0.7 release notes (catch up from 8/17)

Change-Id: I930059d9bf85f7063eb3f55e0c77d46a064c75b0
2015-08-24 13:22:03 -07:00
Chris Wren
9521231031 instrument fingerprint crypto token service
Histogram counts number of calls with and without a token.

Bug: 22951001
Change-Id: Idaabee389bfa33eb009d48bb9a0edae146bcc217
2015-08-24 16:19:03 -04:00
Eino-Ville Talvala
a42cf680a5 Merge "Camera: Add support for notifying NFC stack when camera is active" into mnc-dr-dev 2015-08-24 19:22:04 +00:00
Vineeta Srivastava
2149052252 Merge "Don't show roaming icon when connecting HT HR network with Tele2 SIM" into mnc-dr-dev 2015-08-24 19:00:27 +00:00
destradaa
e1a5144a1d Cherry-pick: Add callback-based support for HW Activity Recognition.
Add a callback-based mechanism for GmsCore to connect to Hardware Activity
Recognition. This allows GmsCore to stop polling to identify if the Android
platform supports the functionality or not.

Bug: 17112184
Change-Id: I8f9459cbd15eecd70f6919c6551e6f7a663c732f
2015-08-24 11:43:27 -07:00
destradaa
614612edb5 Disable AR HW when client binder dies.
Ensure that activities are unregistered from AR HW when the client's
binder dies. This clean up is required to prevent AR HW to keep active
when there are no clients listening for events.

Bug: 19894637
Change-Id: Iccd609cf1d2d4a4453c7a96cb8645b61639c3234
2015-08-24 11:02:52 -07:00
Scott Main
8b86268be3 am c04d21fc: Merge "add placeholder for platform name in download button. This change depends on the following change to the script that loads the platform name... https://googleplex-android-review.git.corp.google.com/#/c/752776/" into mnc-dev
* commit 'c04d21fc4ec66d34ca5395db59fadc5e4626bb1c':
  add placeholder for platform name in download button. This change depends on the following change to the script that loads the platform name... https://googleplex-android-review.git.corp.google.com/#/c/752776/
2015-08-24 16:41:22 +00:00
Scott Main
c04d21fc4e Merge "add placeholder for platform name in download button. This change depends on the following change to the script that loads the platform name... https://googleplex-android-review.git.corp.google.com/#/c/752776/" into mnc-dev 2015-08-24 16:34:35 +00:00
Geoff Mendal
4e3af2ec5a Import translations. DO NOT MERGE
Change-Id: I62399fd97cd9a757f8e6b8ec6c7f0b21154c1a43
Auto-generated-cl: translation import
2015-08-24 11:04:11 -05:00
Sungmin Choi
ae046508b0 Don't show roaming icon when connecting HT HR network with Tele2 SIM
Bug: 23263661
Change-Id: Idcc52d53f7d7860ca561688ea311fdf50f3447b2
2015-08-23 15:46:51 -07:00
Eino-Ville Talvala
ec2efb9cac am 08b12dfb: Merge "Camera2: Legacy: Lock down surface sizes before creating EGL surfaces" into mnc-dev
* commit '08b12dfba630659601972f0d857b6580fdae4313':
  Camera2: Legacy: Lock down surface sizes before creating EGL surfaces
2015-08-22 05:38:01 +00:00
Eino-Ville Talvala
08b12dfba6 Merge "Camera2: Legacy: Lock down surface sizes before creating EGL surfaces" into mnc-dev 2015-08-22 05:33:26 +00:00
Jim Miller
827afdab0e Handle driver errors from remove, enroll and auth.
FingerprintService expects callbacks from the HAL to happen over
the provided notify() method.  However, there are some circumstances
when errors can't be propagated (i.e. the driver cannot be loaded).

In this case, the call to the method (remove(), enroll(), authenticate())
fails and we get a return status != 0. When this happens, FingerprintService
now sends an error response to the client. In general, this will mean
the driver is unavailable, so we send FINGERPRINT_ERROR_HW_UNAVAILABLE.

Fixes bug 23183484

Change-Id: Ifb40ba6fb1d960810043749fd8478ba37c968405
2015-08-21 18:56:37 -07:00
Jorim Jaggi
4351111bbb Merge "Fix jank when clicking on HUN" into mnc-dr-dev 2015-08-22 01:10:17 +00:00
Eino-Ville Talvala
2e3215c9f6 Camera: Add support for notifying NFC stack when camera is active
On some devices, NFC full poll operation and camera operation
interfere.  Add a system property ro.camera.notify_nfc.  When set to >
0, the NFC adapter will be notified to disable polling whenever the
camera is active.

Bug: 23393557
Change-Id: I7e22018900970cbbd3d34bd8b3974e0b1cc98a8d
2015-08-21 17:41:47 -07:00
Andrew Solovay
e2ca8593a7 am 9520071b: Merge "docs: Fix return info for support lib checkSelfPermission()" into mnc-dev
* commit '9520071b983e2ca61160f580e0be3fe24d305760':
  docs: Fix return info for support lib checkSelfPermission()
2015-08-22 00:36:54 +00:00
Andrew Solovay
9520071b98 Merge "docs: Fix return info for support lib checkSelfPermission()" into mnc-dev 2015-08-22 00:30:59 +00:00
Eino-Ville Talvala
e5b4c3d5f3 am a7dde2e8: Merge "Camera: Fix depth documentation issues" into mnc-dev
* commit 'a7dde2e89ec9a8c0ce5460d4f57d1e561f16520f':
  Camera: Fix depth documentation issues
2015-08-22 00:25:38 +00:00
Eino-Ville Talvala
a7dde2e89e Merge "Camera: Fix depth documentation issues" into mnc-dev 2015-08-22 00:14:13 +00:00
Glenn Kasten
c445438e64 am d9eef347: Merge "MIDI docs: fix buffer allocation" into mnc-dev
* commit 'd9eef3478ae2bea4d943082aaefd1a4a91a30600':
  MIDI docs: fix buffer allocation
2015-08-21 23:32:32 +00:00
Eino-Ville Talvala
315bc09715 Camera2: Legacy: Lock down surface sizes before creating EGL surfaces
This ensures that sizes don't change after being initially inspected,
and/or stale size information isn't reused incorrectly.

Bug: 22092273
Change-Id: I5b26ea53977da4c1412e476d06d94aa791846393
2015-08-21 16:31:58 -07:00
Glenn Kasten
d9eef3478a Merge "MIDI docs: fix buffer allocation" into mnc-dev 2015-08-21 23:27:08 +00:00
Cheryl Potter
a4f65ff5e0 am 41fc973c: am 251f2479: am dc35d48f: Merge "docs: changed red to yellow in code snippet" into mnc-preview-docs
* commit '41fc973c144287c010d6219ab82f2640ebaff9dc':
  docs: changed red to yellow in code snippet
2015-08-21 23:12:47 +00:00
Fyodor Kupolov
d7cdbd4d81 am e6c64508: Merge "Fixed a typo in convertRestrictionsToBundle JavaDoc" into mnc-dev
* commit 'e6c64508aba566b5bd4ac9cd87a07358b13f5a06':
  Fixed a typo in convertRestrictionsToBundle JavaDoc
2015-08-21 23:12:43 +00:00
Cheryl Potter
41fc973c14 am 251f2479: am dc35d48f: Merge "docs: changed red to yellow in code snippet" into mnc-preview-docs
* commit '251f24790757cf38bffbd6cec06c6503f99299dd':
  docs: changed red to yellow in code snippet
2015-08-21 23:08:00 +00:00
Fyodor Kupolov
e6c64508ab Merge "Fixed a typo in convertRestrictionsToBundle JavaDoc" into mnc-dev 2015-08-21 23:04:09 +00:00
Cheryl Potter
251f247907 am dc35d48f: Merge "docs: changed red to yellow in code snippet" into mnc-preview-docs
* commit 'dc35d48f4fdc2016f900207ebc934e5a57bd9265':
  docs: changed red to yellow in code snippet
2015-08-21 23:01:17 +00:00
Adrian Roos
2c632c8831 Merge "Invoke strong auth callback and default strong auth expired to true" into mnc-dr-dev 2015-08-21 22:59:43 +00:00
Cheryl Potter
dc35d48f4f Merge "docs: changed red to yellow in code snippet" into mnc-preview-docs 2015-08-21 22:51:30 +00:00
Jorim Jaggi
b7303a36ba Disable RT animations for header ripple
Bug: 22208997
Change-Id: I10a890d4f8f70c7c786940ffdb86cf4d21bdaf05
2015-08-21 15:21:12 -07:00
Jim Miller
1bbc2750bb am 74d9c2aa: Merge "Fix type-o in FingerprintManager documentation" into mnc-dev
* commit '74d9c2aad1bcd52933a8dba7752b28e9aef1902d':
  Fix type-o in FingerprintManager documentation
2015-08-21 22:11:30 +00:00
Jim Miller
74d9c2aad1 Merge "Fix type-o in FingerprintManager documentation" into mnc-dev 2015-08-21 21:59:51 +00:00
Trevor Bunker
fbcd78e6ed Merge "Add support for new window orientation sensor." into mnc-dr-dev 2015-08-21 21:14:00 +00:00
Adrian Roos
1de8bcb1e5 Invoke strong auth callback and default strong auth expired to true
Split off from I0af11da1b7cd7c8d837bc5ba3a62ef2ffca74b1b.

The initial value did not matter previously because
a SystemUI crash triggered the boot logic and forced
a manual entry before fingerprint works.

Long term the timeout logic should be moved to StrongAuthTracker
so it can be shared with the trust agent implementation (currently
implemented by the trust agents themeselfes)

Bug: 22846469
Bug: 22115393
Change-Id: I0af11da1b7cd7c8d837bc5ba3a62ef2ffca74b1b
2015-08-21 13:28:01 -07:00
Adrian Roos
b5e4722891 Add StrongAuthTracker
Bug: 22846469
Bug: 22115393
Change-Id: I6ef5322d02e540fc043e7f20d3aabf595ce7c224
2015-08-21 13:28:00 -07:00
Jorim Jaggi
5eb67c2248 Fix jank when clicking on HUN
There is jank at the beginning of the transition when the heads-up
disappears when clicking, because a lot of stuff is going on. In
order to make it consistent with other notification clicks in the
shade, introduce a delay for the disappear animation.

Bug: 23365512
Change-Id: Ib7c5db552d6803f96374198c2af38cf8236769cd
2015-08-21 12:43:40 -07:00