Commit Graph

61708 Commits

Author SHA1 Message Date
Mihai Nita
d7b58ee8c8 Merge "Show locale in region list even if suggested in language list" into nyc-dev
am: ee172e7bcb

* commit 'ee172e7bcb0afbcd236b822e0ce798844b5b8471':
  Show locale in region list even if suggested in language list
2016-03-03 22:06:26 +00:00
George Mount
2c141416a2 Merge "Remove animation listener while paused." into nyc-dev
am: 7d09ca79f1

* commit '7d09ca79f158e1fc48a4531b027a5dc549c84084':
  Remove animation listener while paused.
2016-03-03 22:03:34 +00:00
Todd Kennedy
75c1fb0f48 Merge "Splits without restart" into nyc-dev
am: e8498cd006

* commit 'e8498cd0066113068f2b0294144837546f213bd1':
  Splits without restart
2016-03-03 21:52:59 +00:00
Robert Carr
10312fdfc6 Merge "Reimplement PIP animation to not use drag resizing." into nyc-dev
am: adef831761

* commit 'adef831761017d6d84d7bd4a388714a04fb73d66':
  Reimplement PIP animation to not use drag resizing.
2016-03-03 21:50:11 +00:00
Robert Carr
de3d71955b Merge "Fix pinned stack frame computation." into nyc-dev
am: acd7a22cd7

* commit 'acd7a22cd7fe1c2d1a1ba6ed8e97e4e21dd31a1d':
  Fix pinned stack frame computation.
2016-03-03 21:44:08 +00:00
Mihai Niță
ee172e7bcb Merge "Show locale in region list even if suggested in language list" into nyc-dev 2016-03-03 21:39:57 +00:00
George Mount
7d09ca79f1 Merge "Remove animation listener while paused." into nyc-dev 2016-03-03 21:38:25 +00:00
Ji Yang
20771666db Merge "New CarrierMessagingService API for sms filtering" into nyc-dev
am: 456b9620f0

* commit '456b9620f0bbd91adf18a4f3e1cf8b1ee21faa5c':
  New CarrierMessagingService API for sms filtering
2016-03-03 21:37:01 +00:00
Todd Kennedy
e8498cd006 Merge "Splits without restart" into nyc-dev 2016-03-03 21:34:57 +00:00
Rob Carr
adef831761 Merge "Reimplement PIP animation to not use drag resizing." into nyc-dev 2016-03-03 21:23:55 +00:00
Rob Carr
acd7a22cd7 Merge "Fix pinned stack frame computation." into nyc-dev 2016-03-03 21:23:01 +00:00
Ji Yang
456b9620f0 Merge "New CarrierMessagingService API for sms filtering" into nyc-dev 2016-03-03 21:10:46 +00:00
Ji Yang
a8c9c6c593 New CarrierMessagingService API for sms filtering
Add a new sms filtering method to let the carrier app tell
the platform to keep the message while keep it invisible to
the end user.

BUG: 27292180
Change-Id: I306a7dbde6dcb9929e358b3d1bbda9807ef35943
2016-03-03 13:07:13 -08:00
Seigo Nonaka
e40ab5d564 Merge "Fix unexpected ellipsize for long suggestion text." into nyc-dev
am: 71208d6f7b

* commit '71208d6f7b1a56dd6a1af101a65c944109a2bbb4':
  Fix unexpected ellipsize for long suggestion text.
2016-03-03 20:47:33 +00:00
Seigo Nonaka
71208d6f7b Merge "Fix unexpected ellipsize for long suggestion text." into nyc-dev 2016-03-03 20:20:45 +00:00
Robert Carr
0d00c2e25b Reimplement PIP animation to not use drag resizing.
When using drag resizing it is difficult to keep big surface
surfaces (e.g. main app windows) and child windows in sync
as we resize. Furthermore it's difficult to resize child windows
quick enough to achieve more than a few frames a second as we have
to propagate through the client UI thread. Our new implementation
uses window scaling.

Bug: 26454664

Change-Id: Iac96619cefc075b1412cfeba3d3c9bcd7ce22f52
2016-03-03 12:00:58 -08:00
Robert Carr
e627558fef Fix pinned stack frame computation.
We want to compute the frames for pinned like we do for freeform
as we are not constraining layout to the suggested display area by the
PhoneWindowManager. Also update applyGravityAndUpdateFrame
to not clip frames to the display for child windows. In the case
of computeFrameLw this would not be a problem as we would then
go on to overwrite mFrame anyway, but in the case of repositionChild
it could create issues (where we have applyGravityAndUpdateframe without
compute frame).

Bug: 26454664
Change-Id: I6fd4c9f37060d51003d041566368edd2b9eb7afd
2016-03-03 11:51:44 -08:00
Dianne Hackborn
623ebce5fb Merge "Add APIs to find out the time when a process was created." into nyc-dev
am: ef1971ffc5

* commit 'ef1971ffc505f75ca71f7ba78d52fb3ed323fa16':
  Add APIs to find out the time when a process was created.
2016-03-03 19:50:28 +00:00
Dianne Hackborn
ef1971ffc5 Merge "Add APIs to find out the time when a process was created." into nyc-dev 2016-03-03 19:47:56 +00:00
Steve McKay
f3322fccfa Merge "Show proper icons for SD and USB attached storage." into nyc-dev
am: eef85e0c02

* commit 'eef85e0c02a28b610b4611071749baf48ba67e2f':
  Show proper icons for SD and USB attached storage.
2016-03-03 19:43:27 +00:00
Mihai Nita
f1f39cf193 Show locale in region list even if suggested in language list
Even if English US is suggested, when choosing English I should
still see US in the country list.
Because now the same LocaleInfo object (from cache) can be present
in both lists (language & region), it means that the label should
depend on the context.
We also need to explicitely disable suggestions in the region list.

Bug: 26590073
Bug: 26939203
Change-Id: Ib1cbad9d26a8b183bf462505335bef04193e82f4
2016-03-03 11:41:09 -08:00
Steve McKay
eef85e0c02 Merge "Show proper icons for SD and USB attached storage." into nyc-dev 2016-03-03 19:39:18 +00:00
Steve McKay
ba23e54d26 Show proper icons for SD and USB attached storage.
Use USB icon for MTP devices.

Bug: 26883880
Change-Id: I8ce85ffc915a012dca79a5de1cc7c74361776792
2016-03-03 10:58:36 -08:00
Siyamed Sinir
7919b1f7e5 Merge "TextView should fade edges according to text." into nyc-dev
am: 1ca7c80844

* commit '1ca7c808447737fb38330a013dae5ab21deea9b9':
  TextView should fade edges according to text.
2016-03-03 18:52:21 +00:00
Siyamed Sinir
f1038a8995 Merge "Email address autolink regex updates." into nyc-dev
am: 84d0f8775b

* commit '84d0f8775b2d19597e2a2a29dedcdf93ca613d1e':
  Email address autolink regex updates.
2016-03-03 18:49:21 +00:00
Siyamed Sinir
ea87a00927 Merge "Update EditText.setEllipsize JavaDoc" into nyc-dev
am: 15dfbdd0ea

* commit '15dfbdd0eaf266c49aac07ba127ad28fa1945c95':
  Update EditText.setEllipsize JavaDoc
2016-03-03 18:47:21 +00:00
Siyamed Sinir
1ca7c80844 Merge "TextView should fade edges according to text." into nyc-dev 2016-03-03 18:43:23 +00:00
Siyamed Sinir
84d0f8775b Merge "Email address autolink regex updates." into nyc-dev 2016-03-03 18:42:59 +00:00
Siyamed Sinir
15dfbdd0ea Merge "Update EditText.setEllipsize JavaDoc" into nyc-dev 2016-03-03 18:42:44 +00:00
Adam Powell
d50e0e2e28 Merge "Fix crash for showing linker errors for apps with no label" into nyc-dev
am: f08b7b3698

* commit 'f08b7b3698e09d0aee438108b6a91e92fd805ccd':
  Fix crash for showing linker errors for apps with no label
2016-03-03 17:08:21 +00:00
Adam Powell
f08b7b3698 Merge "Fix crash for showing linker errors for apps with no label" into nyc-dev 2016-03-03 17:04:23 +00:00
Adam Powell
d93f3b10e2 Fix crash for showing linker errors for apps with no label
Use ApplicationInfo#loadLabel to provide the standard fallback chain
of strings to identify an app instead of getString on the raw label
resource id, which will throw a NotFoundException if 0.

Bug 27469189

Change-Id: I344273c600f029361f3accfe5d91b0d332635b3d
2016-03-03 08:43:37 -08:00
George Mount
a06b3f19d4 Remove animation listener while paused.
Bug 27418573

While an animator was paused, it continued to receive
Choreographer callbacks. This has been changed now so
that after the first callback, it is removed.

Change-Id: If73483404b38f1f354a63fc98d07696f442987e6
2016-03-03 08:12:58 -08:00
Paul Jensen
171160a352 Have ConnectivityService install packet filters when possible am: 578a76e7de
am: 978c80b474

* commit '978c80b474e4b390e62da3e13b5e7e11667005bb':
  Have ConnectivityService install packet filters when possible
2016-03-03 14:52:40 +00:00
Paul Jensen
978c80b474 Have ConnectivityService install packet filters when possible
am: 578a76e7de

* commit '578a76e7de77492ac33e407fff4fb9a2f5550d8a':
  Have ConnectivityService install packet filters when possible
2016-03-03 14:48:45 +00:00
Seigo Nonaka
aa370e1fb3 Merge "Improve forward delete key handling." into nyc-dev
am: 19f47929ea

* commit '19f47929ea4fd7d657c83c16672e4004c3d531ba':
  Improve forward delete key handling.
2016-03-03 13:03:24 +00:00
Seigo Nonaka
19f47929ea Merge "Improve forward delete key handling." into nyc-dev 2016-03-03 12:58:03 +00:00
Calin Juravle
44a39b00ac Merge "Better handling of various types of compilation in DexOptimizer" into nyc-dev
am: 0c9ef61944

* commit '0c9ef61944e883219dd167f765a504ab8cdb7710':
  Better handling of various types of compilation in DexOptimizer
2016-03-03 10:58:44 +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
Yohei Yukawa
536d7e737b Merge "Fix a regression in InputMethodUtils." into nyc-dev
am: 488727f8c0

* commit '488727f8c0b03a6067d9927af75f1d76bec5d640':
  Fix a regression in InputMethodUtils.
2016-03-03 09:53:12 +00:00
Yohei Yukawa
488727f8c0 Merge "Fix a regression in InputMethodUtils." into nyc-dev 2016-03-03 09:30:37 +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
      e985c240e3

Bug: 27129703
Bug: 27425459
Change-Id: Icd86cad955bf827a1eb41255f57fdf4ec315b93b
2016-03-03 09:05:11 +00:00
Paul Jensen
578a76e7de Have ConnectivityService install packet filters when possible
Listen for ICMP6 router advertisements on networks that support
packet filters.  Construct packet filters and install them to
ignore redundant future ICMP6 router advertisements.

Bug: 26238573
Change-Id: If78300b9fda257c21f3ee6533e1da7de9f897cb4
2016-03-03 17:32:01 +09:00
Ryan Bavetta
e2e8824861 Merge "Fix soundtrigger test, adds null pointer check" into nyc-dev
am: 840c617c38

* commit '840c617c3869222132748fb54f4126f19605de0e':
  Fix soundtrigger test, adds null pointer check
2016-03-03 03:50:52 +00:00
Ryan Bavetta
840c617c38 Merge "Fix soundtrigger test, adds null pointer check" into nyc-dev 2016-03-03 03:46:10 +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
Christopher Tate
06cfa553e3 Merge "Add API to clear a specific wallpaper" into nyc-dev
am: d493ed6c0c

* commit 'd493ed6c0c37b3d70087ea0512811526e41bb8b8':
  Add API to clear a specific wallpaper
2016-03-03 01:49:26 +00:00
Dianne Hackborn
d98885c128 Add APIs to find out the time when a process was created.
Change-Id: Id0d12c377f278fec6e31a98eab0c865a23c006ec
2016-03-02 17:40:52 -08:00
Vadim Tryshev
dfe2f7ce30 Merge "Adding getManagedUserBadgedDrawableForDensity() to PackageManager." into nyc-dev
am: c9f0a1103e

* commit 'c9f0a1103ea307e5e157e63e7915b38f83d27ca3':
  Adding getManagedUserBadgedDrawableForDensity() to PackageManager.
2016-03-03 01:31:18 +00:00
Chris Tate
d493ed6c0c Merge "Add API to clear a specific wallpaper" into nyc-dev 2016-03-03 01:30:35 +00:00