192685 Commits

Author SHA1 Message Date
Geoff Mendal
dc038f3246 Import translations. DO NOT MERGE
Change-Id: Ibc636bc980ceaead21d2eaf2dd813de284341ab0
Auto-generated-cl: translation import
2015-05-21 06:10:03 -07:00
Jae Seo
184016aac0 Merge "TIF: Build the list of available TV inputs as the current user" into mnc-dev 2015-05-21 05:27:09 +00:00
Jae Seo
76976fae6f TIF: Build the list of available TV inputs as the current user
Bug: 21313985
Change-Id: I8aa881570915d14d63e4ac0b8034044f8736443b
2015-05-20 21:52:28 -07:00
Chet Haase
4b901c4506 Merge "Fix docs to not refer to non-public classes." into mnc-dev 2015-05-21 04:47:42 +00:00
Keisuke Kuroyanagi
27a6361234 Merge "Fix: Crash when modifying text while using drag accelerator." into mnc-dev 2015-05-21 04:07:57 +00:00
John Spurlock
dbf2cd1660 Merge "Volume: Include a11y bit in dialog dump." into mnc-dev 2015-05-21 03:35:12 +00:00
John Spurlock
84ee67ce70 Volume: Include a11y bit in dialog dump.
Bug: 21340132
Change-Id: Ie9a347e7e0f08c7019b4a483a3a87a8cba6f37da
2015-05-20 23:33:43 -04:00
Deepanshu Gupta
8562b08f04 Merge "Fix overrides for BridgeResources." into mnc-dev 2015-05-21 01:50:23 +00:00
Deepanshu Gupta
4d8e078c7c Fix overrides for BridgeResources.
New method overloads have been introduces in android.content.Resources.
Change BridgeResources to overrides the appropriate ones. Also, fix the
implementation to the new behaviour.

Change-Id: I7b83b329f04286512f223c0fafc3f989f1b9a244
2015-05-20 18:49:56 -07:00
Deepanshu Gupta
84fd4af053 Merge "Make DatePicker rendering not fail." into mnc-dev 2015-05-21 01:47:15 +00:00
Christopher Tate
62d1e1ef7e Scan at boot time to detect newly-present full backup candidates
OTA or similar might have caused an app to appear without the usual
notifications being sent.  Make sure we pick up those apps as
appropriate for full-data backup.

Bug 19462310

Change-Id: Ic17bc72b14cc7599ae8ea540548fda932606b8f2
2015-05-21 01:32:39 +00:00
Chet Haase
fa2dafa741 Fix docs to not refer to non-public classes.
Issue #21328285 public Midi docs refer to internal utility class

Change-Id: Idddd5c98a78159190c6c34b17350f4630c33d6d5
2015-05-20 18:20:08 -07:00
Adrian Roos
770e98953e Merge "Fix ObservableScrollView's cancel dispatch" into mnc-dev 2015-05-21 01:13:00 +00:00
Adrian Roos
5c82e340c3 Fix ObservableScrollView's cancel dispatch
Bug: 21239185
Change-Id: I8005556a2a6fcd8981e615a6f5537a1d7e9ce6a7
2015-05-20 18:08:58 -07:00
Deepanshu Gupta
d5b8284545 Make DatePicker rendering not fail.
Ensures that having a DatePicker in the layout doesn't crash the
complete rendering. The rendering is still not perfect, but at least it
works.

- Return a non-null window token so that ViewPager thinks that it's
  attached to a window and doesn't skip populating the views.
- Fix a style not found issue.

Change-Id: Ied2b71de5b32bcb640bf4ec445e8a39509f800e9
2015-05-20 18:01:48 -07:00
Jim Miller
0a17fb4e56 Merge "Move from native FingerprintService implementation to fingerprintd" into mnc-dev 2015-05-21 00:57:44 +00:00
Svetoslav
eff649862b Merge "Do not call out of the settings provider with a lock held" into mnc-dev 2015-05-21 00:35:13 +00:00
Svetoslav
7ec28e8513 Do not call out of the settings provider with a lock held
bug:20443441

Change-Id: I704520b75f5deaeeb1b4098cda0783c667e8cdd1
2015-05-20 17:24:13 -07:00
Amith Yamasani
4c02d38e97 Merge "Use screen-on time and wallclock time for idleness calc" into mnc-dev 2015-05-21 00:10:13 +00:00
Deepanshu Gupta
c813375e53 Merge "Use non deprecated method for creating ColorStateList" into mnc-dev 2015-05-21 00:03:06 +00:00
Craig Mautner
116c9ed607 Merge "Avoid resuming activity before launch." into mnc-dev 2015-05-21 00:02:02 +00:00
Deepanshu Gupta
10dff451f3 Use non deprecated method for creating ColorStateList
Change-Id: I9fce928276c8a2af55eb0615a4895abb6a973be5
2015-05-20 16:51:22 -07:00
Deepanshu Gupta
719c9b93f1 Fix line breaking.
Essentially moves line breaking measurement later in the process when
character widths have already been computed.

Change-Id: I17c5bc10d373d8906c5caf86604ce8504650cd7f
2015-05-20 16:51:22 -07:00
Deepanshu Gupta
f2049a4fcb Merge "Inject anonymous inner classes of injected classes" into mnc-dev 2015-05-20 23:32:04 +00:00
Deepanshu Gupta
bfc9c3bcbe Inject anonymous inner classes of injected classes
When injecting classes in LayoutLib (eg. CreateInfo), so that LayoutLib
can refer back to the changes, also inject the anonymous inner classes.
Without this, the injected classes are not loadable. Although, LayoutLib
itself doesn't load these classes, but some tests do.

Change-Id: Ib5f6b779ef4d79dec8d614d3dbb26eeac88a1064
2015-05-20 23:31:31 +00:00
Deepanshu Gupta
d45867a498 Merge "Update platformDir search in tests." into mnc-dev 2015-05-20 23:30:14 +00:00
Andy Hung
b14b7e188f Merge "Fix AudioTrack, AudioRecord, AudioFormat API" into mnc-dev 2015-05-20 23:01:39 +00:00
Andy Hung
e90a0a88f4 Fix AudioTrack, AudioRecord, AudioFormat API
Rename getNativeFrameCount to getBufferSizeInFrames
Remove throw declaration on IllegalArgumentException and
IllegalStateException

Bug: 20887665
Bug: 21304902
Change-Id: Ia85d8010be46524b9a8b93105b16b7b9480f6bd9
2015-05-20 22:58:31 +00:00
Amith Yamasani
547116ea62 Use screen-on time and wallclock time for idleness calc
12 hours of screen-on time and 2 days of wallclock time
must elapse before considering an app idle.

Bug: 20066058
Change-Id: Ie7b584b40e644d868aa2708876723c3391fd432e
2015-05-20 15:40:37 -07:00
Craig Mautner
432f64ee96 Avoid resuming activity before launch.
The locktask logic would always bring a locked task to the front and
then resume it when locking. When a task is to be locked at launch that
would cause it to resume immediately before onLaunch was called. Which
would cause havoc because the token was not yet in
ActivityThread.mActivities. This lead to premature finish() calls and
looping restarts.

This change causes the resume to only be called when an app calls
startLockTask. Otherwise the resume call is skipped.

Plus additional locktask debug logging.

Fixes bug 21031298.

Change-Id: I756b0d607827d0ec7a123377db04d9377c41776d
2015-05-20 15:36:34 -07:00
Cedric Ho
d9b0c913f7 am 782def77: am 80cf2210: Add config_forceVoiceInteractionServicePackage to allow a device to config its VoiceInteractionService package and ignore the regular setting.
* commit '782def772adacaf029d7d9850605923066665424':
  Add config_forceVoiceInteractionServicePackage to allow a device to config its VoiceInteractionService package and ignore the regular setting.
2015-05-20 22:22:23 +00:00
Selim Cinek
d3f216d921 Merge "Fixed that touches where incorrectly consumed when fullscreen" into mnc-dev 2015-05-20 22:21:38 +00:00
Selim Cinek
f83e824216 Fixed that touches where incorrectly consumed when fullscreen
The fake window that was added when View.SYSTEM_UI_FULL_SCREEN was
set consumed all touches, even those going to the SystemUI and not
just those of windows below. The input consumer is now correctly
positioned in the window order to only capture the right touches.
Clicks to the volume panel and the heads up now correctly go to the
right place instead of just unhiding the SystemUI bars.

Bug: 21089476
Change-Id: Ib53dfc0b33b70084ca607d0f044db30b6e6c91d6
2015-05-20 22:20:17 +00:00
Jean-Luc Brouillet
4b478370ac Merge "Clean RenderScript warnings" into mnc-dev 2015-05-20 22:17:12 +00:00
Cedric Ho
782def772a am 80cf2210: Add config_forceVoiceInteractionServicePackage to allow a device to config its VoiceInteractionService package and ignore the regular setting.
* commit '80cf2210226bc652181abafe606b69ebce63af78':
  Add config_forceVoiceInteractionServicePackage to allow a device to config its VoiceInteractionService package and ignore the regular setting.
2015-05-20 21:56:27 +00:00
Jim Miller
be67542182 Move from native FingerprintService implementation to fingerprintd
This adds a new service, fingerprintd, that manages fingerprint
hardware from a separate process.  It provides a binder interface that
FingerprintManager uses to talk to the fingerprint HAL.

Change-Id: I84d8e407c1f1a7d1a396e246c382459ad38810ae
2015-05-20 14:56:06 -07:00
John Reck
8e9d7d5505 Merge "Eliminate requireGlContext" into mnc-dev 2015-05-20 21:38:59 +00:00
Etan Cohen
466503d0bd Merge "Add Carrier Presence to CP2: Phone" into mnc-dev 2015-05-20 21:38:07 +00:00
Jorim Jaggi
f14c40f911 Adjust clock size to spec
Bug: 21111048
Change-Id: I73c6e57421dec4d929e5f87d812b5c2c495d250d
2015-05-20 21:33:30 +00:00
Joseph Wen
5e6861605b Merge "Update the Statement Service. DO NOT MERGE" into mnc-dev 2015-05-20 21:19:18 +00:00
fenglu
22c228f203 Merge "LCE feature enhancement" into mnc-dev 2015-05-20 21:09:09 +00:00
Cedric Ho
80cf221022 Add config_forceVoiceInteractionServicePackage to allow a device to config its VoiceInteractionService package and ignore the regular setting.
Change-Id: Ic40d90f1a7a9942f5e82080668552239bbed9b03
2015-05-20 13:50:22 -07:00
Ruben Brunk
f082bb2a7f Merge "camera: Add AIDL interface for CameraServiceProxy." into mnc-dev 2015-05-20 20:44:28 +00:00
Jean-Luc Brouillet
c19cdfa14d Clean RenderScript warnings
Change-Id: Ia7a98c1c977c839c74ae8081e70b5deb4b60c25d
2015-05-20 13:40:06 -07:00
Joseph Wen
8c7d99c2b7 Update the Statement Service. DO NOT MERGE
For security reason, disallow HTTP include files if the source asset is
a HTTPS site or an Android app.
Change the include statement field name from "delegate" to "include".

Bug: 20323096
Change-Id: Ifc12b61657c9c89a670b9d7c3220853321c15dea
2015-05-20 16:37:51 -04:00
Svet Ganov
084110bd39 Merge "Allow DO/PO to go back to normal permission state." into mnc-dev 2015-05-20 20:09:38 +00:00
Svet Ganov
d8ecc5aee4 Allow DO/PO to go back to normal permission state.
We have APIs for a DO/PO to fix a permission in a granted or
denied state in which the user cannot manage this permission
through the UI. However, there is no way to go back to the
default state in which the user gets to choose the permission
grant state.

Change-Id: I2562a1d8b1385cd740b44812844ef14c895c2902
2015-05-20 13:08:58 -07:00
Jorim Jaggi
d6bd9da8ef Lower fingerprint permission protection level
Bug: 21307136
Change-Id: Iafdb42c6a82b27a5297ad14ffaa289b14fffad23
2015-05-20 19:36:13 +00:00
Jeff Sharkey
4e2add3eb4 Merge "Write packages.list when adding/removing users." into mnc-dev 2015-05-20 19:09:50 +00:00
Jeff Sharkey
91edde24ff Write packages.list when adding/removing users.
FUSE daemons now rely on getting per-user GID information when
packages.list is written.  Normal secondary user adding/removing
usually has enough PackageManager traffic to trigger a side-effect
rewrite, but this change writes explicitly to handle guest users.

Also obtain the user list once, and exclude dying users.  During
user creation we manually splice in the user ID that we're bringing
online.

Bug: 19924661
Change-Id: Icc5b1b169300c9dc12099be12651acbf89d6bea9
2015-05-20 12:05:04 -07:00