234512 Commits

Author SHA1 Message Date
Seigo Nonaka
19f47929ea Merge "Improve forward delete key handling." into nyc-dev 2016-03-03 12:58:03 +00:00
Narayan Kamath
34bfcf1fdf Track libcore change 2c423c81bfa731df2577a.
Also includes a regenerated test-current.txt.

bug: 27423298

(cherry picked from commit a1becdc6982d770737d6b56f974c4f5beb244076)

Change-Id: Iaa385947af79cee7b0fa1cde10d106411e2f67d2
2016-03-03 11:41:36 +00:00
Calin Juravle
0c9ef61944 Merge "Better handling of various types of compilation in DexOptimizer" into nyc-dev 2016-03-03 10:54:02 +00:00
Diego Perez
a38b7c180d Merge "Implement native methods in VectorDrawable" into nyc-dev 2016-03-03 09:55:05 +00:00
Yohei Yukawa
488727f8c0 Merge "Fix a regression in InputMethodUtils." into nyc-dev 2016-03-03 09:30:37 +00:00
Neil Fuller
44be5f0ed7 Merge "Change libraries needed by layoutlib to "host" libs" into nyc-dev 2016-03-03 09:11:09 +00:00
Yohei Yukawa
42275bc8b3 Fix a regression in InputMethodUtils.
It turns out that my previous CL [1] unexpectedly changed the behavior
of InputMethodUtils#getImplicitlyApplicableSubtypesLocked() in terms of
when "EnabledWhenDefaultIsNotAsciiCapable" extra value is taken into
account.

Suppose if an IME X has the following three subtypes:
 A. locale: en_US
    mode: handwriting
    extraValue:
 B. locale: hi
    mode: keyboard
    extraValue:
 C. locale: en_US
    mode: keyboard
    extraValue: AsciiCapable
 D. locale: zz
    mode: keyboard
    extraValue: AsciiCapable, EnabledWhenDefaultIsNotAsciiCapable

Given the above subtypes, here are results of what subtypes are enabled
by InputMethodUtils#getImplicitlyApplicableSubtypesLocked() I) before
the CL [1] and II) after the CL [1].

  - system language: hi:
      I:  B, D
     II:  B, D
  - system language: hi-IN:
      I:  B, D
     II:  B, D
  - system language: en-US
      I:  A, C
     II:  A, C
  - system language: en-GB
      I:  A, C
     II:  A, C
  - system language: ja-JP
      I:  B
     II:  D

What my previous CL actually broke is the the last one, and it's broken
because we accidentally started using
"EnabledWhenDefaultIsNotAsciiCapable" even when there is no subtype that
matches to the requested language.  Previously that attribute was used
if and only if 1) there is a subtype that matches the requested language
and 2) that subtype is not marked to be AsciiCapable.

If there there is no subtype that matches to the requested language,
what we had relied on is actually the result of
InputMethodUtils#findLastResortApplicableSubtypeLocked() called with
  canIgnoreLocaleAsLastResort = true,
which means that we had just picked up the first keyboard subtype as the
last fallback candidate regardless of it's locale.  This is why the
subtype B should be picked up in the last case where system language is
ja-JP.

This CL fixes the above unexpected behavior change regarding
"EnabledWhenDefaultIsNotAsciiCapable" so that the previous behavior can
be preserved.

  [1] Iaf179d60c12b9a98b4f097e2449471c4184e049b
      e985c240e3feb62ea38d5b4e386be083ca0f215b

Bug: 27129703
Bug: 27425459
Change-Id: Icd86cad955bf827a1eb41255f57fdf4ec315b93b
2016-03-03 09:05:11 +00:00
Lorenzo Colitti
3921a90ec6 Support 464xlat on Ethernet.
am: 853d741ce7

* commit '853d741ce739e0562e8b5386b8165e3d560fe7d4':
  Support 464xlat on Ethernet.
2016-03-03 08:39:16 +00:00
Lorenzo Colitti
853d741ce7 Support 464xlat on Ethernet.
Bug: 26991160
Change-Id: I848c9e86e1ed337e95cfddda46723a9a1dcaed30
2016-03-03 17:31:57 +09:00
Ricky Wai
8bbace3afc Merge "Fix clearDeviceOwner() not working in split-user mode" into nyc-dev 2016-03-03 06:02:31 +00:00
Ryan Bavetta
840c617c38 Merge "Fix soundtrigger test, adds null pointer check" into nyc-dev 2016-03-03 03:46:10 +00:00
Steve McKay
3b8db2dc0e Merge "Correctly determine when to show details cell." into nyc-dev 2016-03-03 03:21:27 +00:00
mukesh agrawal
3896412dd4 Merge "add configuration knob for WifiLogger ringbuffers" into mm-wireless-dev
am: 2cdf03fe35

* commit '2cdf03fe3547e4d30f46463bca1bfe4e0a54ee04':
  add configuration knob for WifiLogger ringbuffers
2016-03-03 03:12:46 +00:00
Ryan Bavetta
ea04e8fe75 Fix soundtrigger test, adds null pointer check
BUG:27461735
Change-Id: I95ea641e41bcaefce15004f508ddb4bed0b5f2a8
2016-03-03 03:10:40 +00:00
Mukesh Agrawal
2cdf03fe35 Merge "add configuration knob for WifiLogger ringbuffers" into mm-wireless-dev 2016-03-03 03:09:23 +00:00
Chris Tate
d493ed6c0c Merge "Add API to clear a specific wallpaper" into nyc-dev 2016-03-03 01:30:35 +00:00
Seigo Nonaka
23a67678e3 Improve forward delete key handling.
Forward delete key now deletes characters until the next grapheme
cluster boundary.

Bug: 25737208
Bug: 27035430
Change-Id: Ie2fb510fefa115657cc48063be5319b1eecb30b9
2016-03-02 17:21:36 -08:00
Aga Wronska
8755301017 Merge "Force show keyboard when presenting FragmentDialogs with EditText." into nyc-dev 2016-03-03 01:06:44 +00:00
Christopher Tate
79a2457e19 Add API to clear a specific wallpaper
There was previously no public API for clearing the keyguard wallpaper
versus the system wallpaper, or both.  Now there is.

Bug 27400185

Change-Id: If1789dd430040acdf16d77413c0e4b46bf3789f3
2016-03-02 17:05:25 -08:00
Lifu Tang
99a4966ed7 Merge "Addressed the review comments from API Council" into nyc-dev 2016-03-03 00:48:39 +00:00
Lifu Tang
76a620f048 Addressed the review comments from API Council
Following are the review comments from API Council:

(Places below that reference "s/foo/bar/" below are suggesting that "foo" be
 replaced with "bar".)

GnssClock
-- Class docs should not refer to "GPS" at the top level
-- s/InNs/Nanos/
-- s/Sec/Second/

GnssMeasurement
-- s/In// for "InUnitname"
-- s/Sec/Second/
-- s/Ms/Millis/
-- s/Deg/Degrees/
-- STATUS_GPS_LOCATION_DISABLED -> STATUS_GNSS_LOCATION_DISABLED

GnssMeasurementsEvent.Callback
-- "returns" -> "reports" in the method docs as the methods return void

LocationManager
-- register/unregisterGnssMeasurementEventCallback ->
   register/unregisterGnssMeasurementsEventCallback (plural)

GnssNavigationMessage
-- MESSAGE_TYPE_ constants -> change to just TYPE_; the "MESSAGE" is redundant
   with the class name
-- is a signed byte/short ok based on the standard here? If not consider using
   int in the public api

GnssStatus
-- Make sure @IntDef exists for the constellation type
-- Please append unit types for values returned to match GnssMeasurement methods

GnssStatusCallback
-- Please document time base/units for the time parameter of onFirstFix

Bug: 27385557
Change-Id: Ifed6a2eca3fd7ba89b3ded6964a70376235af8f4
2016-03-02 16:41:47 -08:00
Aga Wronska
02c532fb54 Force show keyboard when presenting FragmentDialogs with EditText.
Bug: 26823589
Change-Id: I593ed0e7ef40c9c95c311ca529d3826d73496458
2016-03-02 16:32:00 -08:00
Vadim Tryshev
c9f0a1103e Merge "Adding getManagedUserBadgedDrawableForDensity() to PackageManager." into nyc-dev 2016-03-03 00:28:17 +00:00
Selim Cinek
8316fac9c0 Merge "Adjusted the behavior when expanding the notification panel" into nyc-dev 2016-03-02 23:55:31 +00:00
Chris Craik
3f445f0eee Merge "Fix merged bitmap mesh generation and reenable merging" into nyc-dev 2016-03-02 23:55:28 +00:00
Selim Cinek
d1ad9ab312 Adjusted the behavior when expanding the notification panel
The topmost notification is now not collapsed anymore but slides in
expanded from the top. Therefore it's layout doesn't need to animate
anymore. This also cleans up a lot of code in the algorithm which was
depending on this resizing which isn't needed anymore.
In order to have that transition working perfectly, the padding when
collapsing a card is now the same as the slowdown length.
Also improved the logic when notification contents are allowed to
animate and when not.
Also fixed a bug where the top notification was cut off when QS was
expanded.

Bug: 27402534
Bug: 18434284
Change-Id: I31afa199d38d94e74fd45500c2236ffdb51d989d
2016-03-02 23:54:38 +00:00
Renat Aksitov
8351ff25a1 Merge "Voice Messaging Intent API." into nyc-dev 2016-03-02 23:47:25 +00:00
Doris Liu
352fcaeb20 Merge "Handle multiple animation actions within one frame" into nyc-dev 2016-03-02 23:39:06 +00:00
Yohei Yukawa
3d68c9d30f Merge "Add more JavaDoc to InputConnectionWrapper." into nyc-dev 2016-03-02 23:35:35 +00:00
Chris Craik
f6c20e4b42 Fix merged bitmap mesh generation and reenable merging
bug:26793764
bug:26569206
Change-Id: I54628e99b61f58f5726a387ea3599c29695c0efc
2016-03-02 15:34:02 -08:00
Jeff Sharkey
be3c6041ad Merge "More protected broadcasts!" into nyc-dev 2016-03-02 23:24:23 +00:00
Jeff Sharkey
925cc2a066 More protected broadcasts!
Bug: 26144973
Change-Id: I56f047d7e4b9d7bcf1ac40c98ee381badd909057
2016-03-02 16:21:58 -07:00
Steve McKay
d53f0df7df Merge "Use device model and name for internal storage." into nyc-dev 2016-03-02 23:03:40 +00:00
Jim Miller
042a68ae32 Merge "Attempt to fix bug where OwnerInfo gets lost." into nyc-dev 2016-03-02 23:01:59 +00:00
Steve McKay
ecec7cb062 Use device model and name for internal storage.
Bug: 27157923
Change-Id: I1d723e33fa871565fbd187509ffb05f691f030ac
2016-03-02 14:57:12 -08:00
Vadim Tryshev
66ae66a7f7 Adding getManagedUserBadgedDrawableForDensity() to PackageManager.
It allows badging an image regardless of of the user (no
user id parameter). The styling for managed users is applied.

This is useful for new cases where the existing functions
wouldn't badge the icon, but we need it.

Bug: 25192539
Change-Id: I2fd2f226f626fb2e6cda1cfe072013350e12b41c
2016-03-02 14:55:04 -08:00
Hyunyoung Song
5d634d7828 Merge "Revert the default wall paper for framework / emulator b/27451024 Change-Id: I68ed094f44f1b4c48407497790f809147ec0ad5a" into nyc-dev 2016-03-02 22:54:05 +00:00
Steve McKay
1c1219b250 Correctly determine when to show details cell.
Logic was messed up resulting in no file size and messed up date
    on files.

Change-Id: I02547803de00e1836b20fdf31694ccfd94a8b8f9
2016-03-02 14:06:20 -08:00
Wale Ogunwale
3716e52be5 Merge "config_supportsMultiWindow for device to specify multi-window support" into nyc-dev 2016-03-02 21:55:22 +00:00
Eino-Ville Talvala
74989b4d3f Merge "Camera2: Switch to auto-gen C++ binder interfaces" into nyc-dev 2016-03-02 21:47:13 +00:00
Svetoslav Ganov
e7f82ec533 Merge "Fix a regression in SettingsProvider" into nyc-dev 2016-03-02 21:32:05 +00:00
Ido Ofir
51e06e011d Merge "checking additional metadata and completed categories before displaying suggested actions in settings." into nyc-dev 2016-03-02 21:30:36 +00:00
Svetoslav Ganov
67a8d3516c Fix a regression in SettingsProvider
bug24990012

Change-Id: I1631d125df029f559ffc059ffcb73067389184e8
2016-03-02 13:26:43 -08:00
Pierre-Laurent Coirier
3be2727d28 Merge "Grant fixed SMS & Phone permission to package handling the twinning settings intent." into cw-e-dev am: 54c3808802
am: 0048acfc16  -s ours

* commit '0048acfc16dc29aef69faeafa1200d0fd0206763':
  Grant fixed SMS & Phone permission to package handling the twinning settings intent.
2016-03-02 21:14:49 +00:00
Jason Monk
f2bf0c4ba0 Merge "Guard against battery tile crash" into nyc-dev 2016-03-02 21:08:12 +00:00
Jason Monk
2462a50e8f Guard against battery tile crash
Bug: 27419759
Change-Id: Ic152ab56f7648e7346cbddf21840bd5313e50d3c
2016-03-02 16:04:39 -05:00
Jason Monk
25b86cca0f Merge "Fix crash while editing QS" into nyc-dev 2016-03-02 20:31:14 +00:00
Jason Monk
b01da9e4a2 Fix crash while editing QS
Bug: 27061859
Change-Id: I758bb6b881eadddca1a2e4eaae7b24319e512d14
2016-03-02 15:28:30 -05:00
Julia Reynolds
c523dc1ff9 Merge "Allow notifications to be hidden from lockscreen at a package level." into nyc-dev 2016-03-02 20:15:54 +00:00
Julia Reynolds
26fa8a54b6 Allow notifications to be hidden from lockscreen at a package level.
Bug: 26642033
Change-Id: I67674ea9d42ee6b5865702be5d9ab2b09b53e15f
2016-03-02 15:13:54 -05:00