OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Logging to KEY_INTENT security failure" into nyc-dev
Carlos Valdivia [Sat, 12 Mar 2016 02:06:37 +0000 (02:06 +0000)]
Merge "Logging to KEY_INTENT security failure" into nyc-dev

8 years agoMerge "Once restored, the wallpaper needs to actually draw" into nyc-dev
Chris Tate [Sat, 12 Mar 2016 01:55:18 +0000 (01:55 +0000)]
Merge "Once restored, the wallpaper needs to actually draw" into nyc-dev

8 years agoOnce restored, the wallpaper needs to actually draw
Christopher Tate [Fri, 11 Mar 2016 00:46:15 +0000 (16:46 -0800)]
Once restored, the wallpaper needs to actually draw

We now wait until both the wallpaper imagery and the metadata have
been restored [if present], and then explicitly regenerate the crop
from the source based on that.

Bug 27423845

Change-Id: I986efd13b6b73d25b5ab1215af516ccea3a5c609

8 years agoMerge "Fixed a bug where the expandhelper was expanding to quickly" into nyc-dev
Selim Cinek [Sat, 12 Mar 2016 01:43:48 +0000 (01:43 +0000)]
Merge "Fixed a bug where the expandhelper was expanding to quickly" into nyc-dev

8 years agoLogging to KEY_INTENT security failure
Carlos Valdivia [Fri, 11 Mar 2016 04:12:32 +0000 (20:12 -0800)]
Logging to KEY_INTENT security failure

To help debugging we would like to know the targetPackageName and uid of
the KEY_INTENT that is being rejected.

Bug: 27598664
Change-Id: Idcf1eea82a96913947975b6fe3aa1e9c6e5109a7

8 years agoFixed a bug where the expandhelper was expanding to quickly
Selim Cinek [Sat, 12 Mar 2016 01:24:19 +0000 (17:24 -0800)]
Fixed a bug where the expandhelper was expanding to quickly

It was expanding even when the xDifference was bigger than the
yDifference.

Bug: 27376558
Change-Id: Ie5faeb40a1b8391ace8822f9f210f519302ca133

8 years agoMerge "Dynamic audio policies: allow device passing for RENDER mixes" into nyc-dev
Jean-Michel Trivi [Sat, 12 Mar 2016 01:09:10 +0000 (01:09 +0000)]
Merge "Dynamic audio policies: allow device passing for RENDER mixes" into nyc-dev

8 years agoMerge "Fix some errors in errorCalculator.rs." into nyc-dev
Stephen Hines [Sat, 12 Mar 2016 00:56:42 +0000 (00:56 +0000)]
Merge "Fix some errors in errorCalculator.rs." into nyc-dev

8 years agoMerge "Fixed a bug where expanding in the bottom stack messed up the whole layout...
Selim Cinek [Sat, 12 Mar 2016 00:56:09 +0000 (00:56 +0000)]
Merge "Fixed a bug where expanding in the bottom stack messed up the whole layout" into nyc-dev

8 years agoFix some errors in errorCalculator.rs.
Stephen Hines [Thu, 10 Mar 2016 00:42:40 +0000 (16:42 -0800)]
Fix some errors in errorCalculator.rs.

Bug: http://b/26987366

This code was accidentally casting a uchar4 to a single integer, which
the latest llvm-rs-cc will flag as an error. The comparison was also
incorrectly using a single integer comparison, instead of looking at all
4 uchar vector components.

(cherry picked from commit 74be0c9b4329bb79ed46f2532022995429ffdfe8)

Change-Id: Ic3727e234ffc87571ccacab19b2a4efb27ac0f20

8 years agoFixed a bug where expanding in the bottom stack messed up the whole layout
Selim Cinek [Sat, 12 Mar 2016 00:45:52 +0000 (16:45 -0800)]
Fixed a bug where expanding in the bottom stack messed up the whole layout

Bug: 27596737
Change-Id: If6d5f693bbc953962eb2e746a6293d66be3c4373

8 years agoDynamic audio policies: allow device passing for RENDER mixes
Jean-Michel Trivi [Fri, 4 Mar 2016 00:53:16 +0000 (16:53 -0800)]
Dynamic audio policies: allow device passing for RENDER mixes

AudioMix: add system method for specifying an AudioDeviceInfo
 to be used by this mix. This only works for AudioMix
 instance with the RENDER route flag.
Previous dynamic policy implementation didn't enforce
 mix route flag check, but only supported LOOP_BACK,
 so make LOOP_BACK the default.
When a policy gets registered and the registration ID is
 set on each mix, for RENDER mixes use the device
 address for registration.

Bug 25448664

Change-Id: If5789d84ff4c4c25a6e81ba1513a39916220498a

8 years agoMerge "Run all downloads through trampoline." into nyc-dev
Steve McKay [Sat, 12 Mar 2016 00:43:44 +0000 (00:43 +0000)]
Merge "Run all downloads through trampoline." into nyc-dev

8 years agoRun all downloads through trampoline.
Steve McKay [Fri, 11 Mar 2016 18:11:52 +0000 (10:11 -0800)]
Run all downloads through trampoline.

This guarantees the retry/delete support in the downloads
    trampoline can do its thing.
Allow APKs not in downloads to go directly to pakcage
    manager via VIEW intent.
Add test coverage for retry dialog.

Bug: 27539337

Change-Id: I75c5db8915e24a7648c7990136d39ed86d407637

8 years agoMerge "Don't log metrics for initial screenshot." into nyc-dev
Felipe Leme [Sat, 12 Mar 2016 00:38:33 +0000 (00:38 +0000)]
Merge "Don't log metrics for initial screenshot." into nyc-dev

8 years agoMerge "Fix for drag start event being incorrectly cached" into nyc-dev
Yorke Lee [Sat, 12 Mar 2016 00:04:47 +0000 (00:04 +0000)]
Merge "Fix for drag start event being incorrectly cached" into nyc-dev

8 years agoMerge changes Ia6156d7c,I396ac936 into nyc-dev
Selim Cinek [Fri, 11 Mar 2016 23:52:44 +0000 (23:52 +0000)]
Merge changes Ia6156d7c,I396ac936 into nyc-dev

* changes:
  Fixed a bug with autoredacted custom views.
  Fixed a bug where notifications could become all white

8 years agoMerge "Update docs for DisplayMetrics pixel size fields" into nyc-dev
Andrii Kulian [Fri, 11 Mar 2016 23:50:45 +0000 (23:50 +0000)]
Merge "Update docs for DisplayMetrics pixel size fields" into nyc-dev

8 years agoMerge "Add GlopBuilder test for snapping" into nyc-dev
Sergei Vasilinetc [Fri, 11 Mar 2016 23:43:08 +0000 (23:43 +0000)]
Merge "Add GlopBuilder test for snapping" into nyc-dev

8 years agoMerge "Revert "Improve interaction around showing / hiding the gear behind notificati...
Mady Mellor [Fri, 11 Mar 2016 23:41:07 +0000 (23:41 +0000)]
Merge "Revert "Improve interaction around showing / hiding the gear behind notifications"" into nyc-dev

8 years agoMerge "Minor animation cleanup." into nyc-dev
Steve McKay [Fri, 11 Mar 2016 23:40:13 +0000 (23:40 +0000)]
Merge "Minor animation cleanup." into nyc-dev

8 years agoRevert "Improve interaction around showing / hiding the gear behind notifications"
Mady Mellor [Fri, 11 Mar 2016 23:36:41 +0000 (23:36 +0000)]
Revert "Improve interaction around showing / hiding the gear behind notifications"

This reverts commit 273ed107f1d414571a01bf8ebd9c9ffa942d9e11.

Change-Id: I5f4d2c2dfa2bd965abd2ea2ec385639deb4511f9

8 years agoFixed a bug with autoredacted custom views.
Selim Cinek [Fri, 11 Mar 2016 23:36:06 +0000 (15:36 -0800)]
Fixed a bug with autoredacted custom views.

Bug: 27616717
Change-Id: Ia6156d7cadca0c1f9aadd49f76f62ac92991eced

8 years agoMerge "Fix issue with the component layout not having updated on config change" into...
Winson Chung [Fri, 11 Mar 2016 23:27:54 +0000 (23:27 +0000)]
Merge "Fix issue with the component layout not having updated on config change" into nyc-dev

8 years agoMerge "Added logoutCurrentUser method" into nyc-dev
Fyodor Kupolov [Fri, 11 Mar 2016 23:25:09 +0000 (23:25 +0000)]
Merge "Added logoutCurrentUser method" into nyc-dev

8 years agoFix issue with the component layout not having updated on config change
Winson [Fri, 11 Mar 2016 22:56:00 +0000 (14:56 -0800)]
Fix issue with the component layout not having updated on config change

Bug: 27618066

Change-Id: I362c893222439c0dd1faa0000b29ead7ef621606

8 years agoMerge "Workaround for verifying large APKs." into nyc-dev
Alex Klyubin [Fri, 11 Mar 2016 23:03:57 +0000 (23:03 +0000)]
Merge "Workaround for verifying large APKs." into nyc-dev

8 years agoMerge "Add system wide long-press back button functionality" into nyc-dev
Anthony Hugh [Fri, 11 Mar 2016 22:52:57 +0000 (22:52 +0000)]
Merge "Add system wide long-press back button functionality" into nyc-dev

8 years agoMerge "Add a flag to log service side runtime exception" into nyc-dev
Makoto Onuki [Fri, 11 Mar 2016 22:52:34 +0000 (22:52 +0000)]
Merge "Add a flag to log service side runtime exception" into nyc-dev

8 years agoWorkaround for verifying large APKs.
Alex Klyubin [Fri, 11 Mar 2016 22:45:19 +0000 (14:45 -0800)]
Workaround for verifying large APKs.

When an APK is verifier during installation, the recently added
APK Signature Scheme v2 code uncondionally memory-maps the whole file.
This fails for very large APKs, even those which are not signed with
APK Signature Scheme, thus preventing installation of such APKs.

This temporary workaround pretends that the APK is not signed with
APK Signature Scheme v2 if the APK cannot be memory-mapped because
there's insufficient memory.

This workaround will be removed soon, once APK Signature Scheme v2
APK verification logic can handle very large APKs.

Bug: 27613575
Change-Id: I27bad534855fe4bf3e09b1087398ffdd7f98f482

8 years agoMerge "Allow per-package exemptions for restricted AppOps" into nyc-dev
Ruben Brunk [Fri, 11 Mar 2016 22:48:37 +0000 (22:48 +0000)]
Merge "Allow per-package exemptions for restricted AppOps" into nyc-dev

8 years agoAdd system wide long-press back button functionality
Anthony Hugh [Fri, 4 Mar 2016 20:03:37 +0000 (12:03 -0800)]
Add system wide long-press back button functionality

This CL adds long-press back button functionality as a system
intercepted keypress.

Incorporated in this is an update to clockwork overlays so that
long-press on back will launch ACTION_VOICE_ASSIST.

BUG: 27313719
BUG: 27427088
Change-Id: Iaff337dc50e0022d2392c19d095cec98563b1c7d

8 years agoAdd GlopBuilder test for snapping
sergeyv [Fri, 11 Mar 2016 21:45:15 +0000 (13:45 -0800)]
Add GlopBuilder test for snapping

Change-Id: I7aa5cddef6f0a0e78f3ade67b0446c1f76cf3d13

8 years agoMinor animation cleanup.
Steve McKay [Fri, 11 Mar 2016 22:08:07 +0000 (14:08 -0800)]
Minor animation cleanup.

Delete unused animators and add a cautionary warning.

Change-Id: I10c79ccef42147c01e4db256a082dc20b3f30de1

8 years agoAllow per-package exemptions for restricted AppOps
Ruben Brunk [Fri, 11 Mar 2016 08:24:26 +0000 (00:24 -0800)]
Allow per-package exemptions for restricted AppOps

- When setting blanket user restrictions, per-package
  exemptions may be granted.
- Exempt the current active VrListenerService from the
  blanket restriction on drawing overlays while in VR mode.

Bug: 26775563
Change-Id: I14b17a126502c7905a970ad42d25d6dd600b86b1

8 years agoMerge "ShortcutManager refactor: per-user information class" into nyc-dev
Makoto Onuki [Fri, 11 Mar 2016 21:52:20 +0000 (21:52 +0000)]
Merge "ShortcutManager refactor: per-user information class" into nyc-dev

8 years agoMerge "Centralize animation related resources." into nyc-dev
Steve McKay [Fri, 11 Mar 2016 21:50:58 +0000 (21:50 +0000)]
Merge "Centralize animation related resources." into nyc-dev

8 years agoCentralize animation related resources.
Steve McKay [Fri, 11 Mar 2016 18:49:32 +0000 (10:49 -0800)]
Centralize animation related resources.

Fix minor bug in animation (use height not width).

Change-Id: I357224086b2732fe9ad49a145db3e82259a87891

8 years agoShortcutManager refactor: per-user information class
Makoto Onuki [Fri, 11 Mar 2016 21:44:32 +0000 (13:44 -0800)]
ShortcutManager refactor: per-user information class

Bug 27548047

Change-Id: Id6de8bfbad6281daec5e89be85ba8b140b599268

8 years agoMerge "AAPT2: statically link protobuf library" into nyc-dev
Adam Lesinski [Fri, 11 Mar 2016 21:33:33 +0000 (21:33 +0000)]
Merge "AAPT2: statically link protobuf library" into nyc-dev

8 years agoMerge "Add test script for sanity of font fallback chain" into nyc-dev
Roozbeh Pournader [Fri, 11 Mar 2016 20:36:00 +0000 (20:36 +0000)]
Merge "Add test script for sanity of font fallback chain" into nyc-dev

8 years agoFixed a bug where notifications could become all white
Selim Cinek [Fri, 11 Mar 2016 20:34:13 +0000 (12:34 -0800)]
Fixed a bug where notifications could become all white

Bug: 27588152
Change-Id: I396ac9369b24f69de3c1d9034ebac91cc07feaeb

8 years agoMerge "Testing initial value for 0-duration animations" into nyc-dev
Doris Liu [Fri, 11 Mar 2016 20:25:38 +0000 (20:25 +0000)]
Merge "Testing initial value for 0-duration animations" into nyc-dev

8 years agoMerge "Set end value immediately when start a 0-duration animation" into nyc-dev
Doris Liu [Fri, 11 Mar 2016 20:25:19 +0000 (20:25 +0000)]
Merge "Set end value immediately when start a 0-duration animation" into nyc-dev

8 years agoMerge "Invalidate DrawableContainer's cached canConstantState on child add" into...
Alan Viverette [Fri, 11 Mar 2016 20:19:09 +0000 (20:19 +0000)]
Merge "Invalidate DrawableContainer's cached canConstantState on child add" into nyc-dev

8 years agoMerge "Display home activity behind pinned activity that should return home" into...
Wale Ogunwale [Fri, 11 Mar 2016 20:18:55 +0000 (20:18 +0000)]
Merge "Display home activity behind pinned activity that should return home" into nyc-dev

8 years agoMerge "fix build" into nyc-dev
Todd Kennedy [Fri, 11 Mar 2016 20:04:18 +0000 (20:04 +0000)]
Merge "fix build" into nyc-dev

8 years agoMerge "Notify task changed listeners when a pinned activity is removed" into nyc-dev
Wale Ogunwale [Fri, 11 Mar 2016 20:03:46 +0000 (20:03 +0000)]
Merge "Notify task changed listeners when a pinned activity is removed" into nyc-dev

8 years agofix build
Todd Kennedy [Fri, 11 Mar 2016 20:03:44 +0000 (12:03 -0800)]
fix build

Change-Id: Icd05c30eabaa526d85ef328d781380781b44d371

8 years agoMerge "Use LocaleUtils#filterByLanguage for non-keyboard subtypes." into nyc-dev
Yohei Yukawa [Fri, 11 Mar 2016 19:56:01 +0000 (19:56 +0000)]
Merge "Use LocaleUtils#filterByLanguage for non-keyboard subtypes." into nyc-dev

8 years agoDon't log metrics for initial screenshot.
Felipe Leme [Fri, 11 Mar 2016 19:45:36 +0000 (11:45 -0800)]
Don't log metrics for initial screenshot.

BUG: 26759986
Change-Id: Ie1ff6626bb3174efa12c7cefe14782f4c18fb6d2

8 years agoMerge "Allow app downgrades" into nyc-dev
Todd Kennedy [Fri, 11 Mar 2016 19:38:34 +0000 (19:38 +0000)]
Merge "Allow app downgrades" into nyc-dev

8 years agoAllow app downgrades
Todd Kennedy [Fri, 11 Mar 2016 19:37:17 +0000 (11:37 -0800)]
Allow app downgrades

only system apps can do this

Change-Id: If0947f13f5c447f9396690bfda3ad40b07fbbb6b

8 years agoMerge "Ensure Outline consistently sets the radius to be undefined" into nyc-dev
Alan Viverette [Fri, 11 Mar 2016 19:34:03 +0000 (19:34 +0000)]
Merge "Ensure Outline consistently sets the radius to be undefined" into nyc-dev

8 years agoMerge "Add minSdk to dumpsys" into nyc-dev
Todd Kennedy [Fri, 11 Mar 2016 19:26:36 +0000 (19:26 +0000)]
Merge "Add minSdk to dumpsys" into nyc-dev

8 years agoAdd minSdk to dumpsys
Todd Kennedy [Fri, 11 Mar 2016 19:18:32 +0000 (11:18 -0800)]
Add minSdk to dumpsys

Bug: 27526333
Change-Id: I0148275013ebab899bcb63c07d71a840539c1863

8 years agoMerge "Add consistent @NonNull annotations for drawable callbacks" into nyc-dev
Alan Viverette [Fri, 11 Mar 2016 18:42:41 +0000 (18:42 +0000)]
Merge "Add consistent @NonNull annotations for drawable callbacks" into nyc-dev

8 years agoUse LocaleUtils#filterByLanguage for non-keyboard subtypes.
Yohei Yukawa [Fri, 11 Mar 2016 18:39:51 +0000 (10:39 -0800)]
Use LocaleUtils#filterByLanguage for non-keyboard subtypes.

With this CL, we expand the target of Bug 27129703 and Bug 27348943 to
non-keyboard subtypes.

Suppose there is a handwriting IME (mode == "handwriting") that supports
the following 5 subtypes.
  - en-US
  - en-GB
  - fr
  - sr-Cyrl
  - sr-Latn

Also suppose the system languages are configured as follows.
  1. sr-Latn-RS
  2. ja-JP
  3. fr-FR
  4. en-GB
  5. en-US

In this case we want to enable [sr-Latn, fr, en-GB] by default when
"use system language" is checked in the subtype enabler.

See previous commits [1][2] about how we addressed those issues for
keyboard subtypes.

  [1]: Iaf179d60c12b9a98b4f097e2449471c4184e049b
       e985c240e3feb62ea38d5b4e386be083ca0f215b
  [2]: I8fc774154f5175abff2f16e8f12a4847bf5f5b7c
       072a95a3094af2ced4f009ad62c4553c28e3f830

Bug: 27560993
Change-Id: I416b5671602c550805ed6267dd210968aa1de83c

8 years agoFixing issue where screenshot notification remains non-dismissible.
Winson [Thu, 10 Mar 2016 22:00:14 +0000 (14:00 -0800)]
Fixing issue where screenshot notification remains non-dismissible.

- Ensure that we start the screenshot as a foreground service to reduce
  likelihood that it is killed while taking a screenshot.
- If the screenshot process times out or gets killed for any reason,
  ensure that we update the notification with an appropriate error
  message.

Bug: 27389179
Change-Id: I5007bda95538044bc753e4ceffd2f59a069c857b

8 years agoPrevent crash with invalid cancelled params.
Winson [Thu, 10 Mar 2016 20:52:27 +0000 (12:52 -0800)]
Prevent crash with invalid cancelled params.

Bug: 27368990
Change-Id: I3eaa9e0391a4149da29bb5dc638ef152f5125bc6

8 years agoNotify task changed listeners when a pinned activity is removed
Wale Ogunwale [Fri, 11 Mar 2016 18:38:36 +0000 (10:38 -0800)]
Notify task changed listeners when a pinned activity is removed

Bug: 27558494
Change-Id: I68573e5654f476e0b3027ad80d0e86496867f128

8 years agoFix for drag start event being incorrectly cached
Yorke Lee [Fri, 11 Mar 2016 02:20:04 +0000 (18:20 -0800)]
Fix for drag start event being incorrectly cached

Since DRAG_END is now being delivered only to views that
returned true from DRAG_STARTED, make sure to clear
mCurrentDragStartEvent when returning false from DRAG_STARTED,
to avoid incorrectly sending DRAG_STARTED events to children
views on visibility changes.

Bug: 27595763

Change-Id: Ic18628b48b474351e2433e871bf545657a6ebf52

8 years agoMerge "Camera2: Add buffer drop error callback" into nyc-dev
Eino-Ville Talvala [Fri, 11 Mar 2016 18:13:00 +0000 (18:13 +0000)]
Merge "Camera2: Add buffer drop error callback" into nyc-dev

8 years agoMerge "Fix caller validation on secondary user." into nyc-dev
Makoto Onuki [Fri, 11 Mar 2016 18:00:38 +0000 (18:00 +0000)]
Merge "Fix caller validation on secondary user." into nyc-dev

8 years agoMerge "Test for ShortcutManager.updateShortcuts(), also" into nyc-dev
Makoto Onuki [Fri, 11 Mar 2016 18:00:16 +0000 (18:00 +0000)]
Merge "Test for ShortcutManager.updateShortcuts(), also" into nyc-dev

8 years agoFix build failure.
Sanket Padawe [Fri, 11 Mar 2016 17:59:34 +0000 (17:59 +0000)]
Fix build failure.
am: 44729c613f

* commit '44729c613fe65fd9b2f14b1844c1f02ba94ad498':
  Fix build failure.

8 years agoFix build failure.
Sanket Padawe [Fri, 11 Mar 2016 17:50:56 +0000 (09:50 -0800)]
Fix build failure.

+ Fix build failure caused by
https://partner-android-review.googlesource.com/#/c/538910/

Change-Id: I83b579f3db4c5a167b206318edcc627c6d2f4b0a

8 years agoDisplay home activity behind pinned activity that should return home
Wale Ogunwale [Fri, 11 Mar 2016 17:33:17 +0000 (09:33 -0800)]
Display home activity behind pinned activity that should return home

If we are pinning an activity whose task should return home, then move
the home stack forward so that the home activity is visible behind it
instead of the next task in the fullscreen stack.

Bug: 26697763
Change-Id: Iadb7f5453d4351bc4200bcc2feed0ab9fe41e530

8 years agoMerge "Add RIL Error code list" into mm-wireless-dev
twen.chang [Fri, 11 Mar 2016 17:37:06 +0000 (17:37 +0000)]
Merge "Add RIL Error code list" into mm-wireless-dev
am: 49916d39e9

* commit '49916d39e9d27acbc6fb28b38abc78ad5dada5a4':
  Add RIL Error code list

8 years agoMerge "Add the missing overriden API" into nyc-dev
Tenghui Zhu [Fri, 11 Mar 2016 17:35:58 +0000 (17:35 +0000)]
Merge "Add the missing overriden API" into nyc-dev

8 years agoMerge "Add RIL Error code list" into mm-wireless-dev
Sanket Padawe [Fri, 11 Mar 2016 17:31:55 +0000 (17:31 +0000)]
Merge "Add RIL Error code list" into mm-wireless-dev

8 years agoMerge "Improve interaction around showing / hiding the gear behind notifications...
Mady Mellor [Fri, 11 Mar 2016 17:03:56 +0000 (17:03 +0000)]
Merge "Improve interaction around showing / hiding the gear behind notifications" into nyc-dev

8 years agoMerge "Set QS edit overflow bg" into nyc-dev
Jason Monk [Fri, 11 Mar 2016 16:00:46 +0000 (16:00 +0000)]
Merge "Set QS edit overflow bg" into nyc-dev

8 years agoSet QS edit overflow bg
Jason Monk [Fri, 11 Mar 2016 13:56:25 +0000 (08:56 -0500)]
Set QS edit overflow bg

Bug: 27396825
Change-Id: I656e49f66518f23bd05d59392f43fc1227207666

8 years agoMerge "More snazzy animation for UX happiness." into nyc-dev
Steve McKay [Fri, 11 Mar 2016 15:42:01 +0000 (15:42 +0000)]
Merge "More snazzy animation for UX happiness." into nyc-dev

8 years agoInvalidate DrawableContainer's cached canConstantState on child add
Alan Viverette [Tue, 8 Mar 2016 23:12:56 +0000 (18:12 -0500)]
Invalidate DrawableContainer's cached canConstantState on child add

Bug: 27553319
Change-Id: I625234baea8a992900935f562f9b767c85e527fd

8 years agoAdd consistent @NonNull annotations for drawable callbacks
Alan Viverette [Fri, 11 Mar 2016 15:09:14 +0000 (10:09 -0500)]
Add consistent @NonNull annotations for drawable callbacks

Bug: 27599515
Change-Id: I33fdc5392302403bfff9cc74a8226173ec962af6

8 years agoMerge "Add temporary logging to SimpleMonthView" into nyc-dev
Alan Viverette [Fri, 11 Mar 2016 15:08:24 +0000 (15:08 +0000)]
Merge "Add temporary logging to SimpleMonthView" into nyc-dev

8 years agoMerge "Add ability to swap docked/fullscreen stack" into nyc-dev
Jorim Jaggi [Fri, 11 Mar 2016 12:02:36 +0000 (12:02 +0000)]
Merge "Add ability to swap docked/fullscreen stack" into nyc-dev

8 years agoMerge "Fix: Context menu can contain obsolete suggestions." into nyc-dev
Keisuke Kuroyanagi [Fri, 11 Mar 2016 11:17:35 +0000 (11:17 +0000)]
Merge "Fix: Context menu can contain obsolete suggestions." into nyc-dev

8 years agoMerge "Make sure to compare subtype language with system language." into nyc-dev
Yohei Yukawa [Fri, 11 Mar 2016 10:25:57 +0000 (10:25 +0000)]
Merge "Make sure to compare subtype language with system language." into nyc-dev

8 years agoFix: Context menu can contain obsolete suggestions.
Keisuke Kuroyanagi [Fri, 11 Mar 2016 07:31:29 +0000 (16:31 +0900)]
Fix: Context menu can contain obsolete suggestions.

When there are not enough number of suggestions, previously used
suggestions was continue to be used. This fixes it and simplifies code
by always allocating SuggestionInfo array.

Bug: 27602619
Change-Id: I9378315b8c810f126f65fade96ce9f6ff5271957

8 years agoMerge "AAPT2: Add descriptions of Attributes in Styleables for R.java" into nyc-dev
Adam Lesinski [Fri, 11 Mar 2016 09:16:43 +0000 (09:16 +0000)]
Merge "AAPT2: Add descriptions of Attributes in Styleables for R.java" into nyc-dev

8 years agoMake sure to compare subtype language with system language.
Yohei Yukawa [Fri, 11 Mar 2016 09:08:52 +0000 (01:08 -0800)]
Make sure to compare subtype language with system language.

This CL addresses a regression introduced by a recent CL [1] that
non-keyboard subtypes are no longer implicitly enabled based on the
system language (a.k.a. "use system language" in the subtype enabler)
due to a type mismatch in comparison.

Here is the original logic:
 if (language.equals(systemLanguage) && systemLocale.startsWith(locale))

And here is the logic replaced by [1]:
 if (locale != null && locale.equals(systemLanguage)) {

The new logic is simply broken, because locale is a Locale object while
systemLanguage is a String object.  It never matches.

With this CL we will compare the system language with the locale
language again, with several test cases that should have been included
in [1], as a temporary solution until we start relying on
LocaleUtils#filterByLanguage() for non-keyboard subtypes.

  [1]: Iaf179d60c12b9a98b4f097e2449471c4184e049b
       e985c240e3feb62ea38d5b4e386be083ca0f215b

Bug: 27560993
Change-Id: If2d1710174853180465832e6ecbbb91235b76210

8 years agoMerge "Persist isAsciiCapable attribute of additional subtypes." into nyc-dev
Yohei Yukawa [Fri, 11 Mar 2016 09:02:21 +0000 (09:02 +0000)]
Merge "Persist isAsciiCapable attribute of additional subtypes." into nyc-dev

8 years agoMerge "NFC antenna location asset." into nyc-dev
Martijn Coenen [Fri, 11 Mar 2016 08:38:58 +0000 (08:38 +0000)]
Merge "NFC antenna location asset." into nyc-dev

8 years agoAAPT2: Add descriptions of Attributes in Styleables for R.java
Adam Lesinski [Fri, 11 Mar 2016 05:55:04 +0000 (21:55 -0800)]
AAPT2: Add descriptions of Attributes in Styleables for R.java

Change-Id: I69e7b73cbdfe4baf502348397435c501ae29ff5e

8 years agoAdd RIL Error code list
twen.chang [Fri, 4 Mar 2016 10:25:25 +0000 (18:25 +0800)]
Add RIL Error code list

BUG: 27589497

Change-Id: Ib8d7e0ff13f72106b79210ea786020c17b0ba842

8 years agoPersist isAsciiCapable attribute of additional subtypes.
Yohei Yukawa [Fri, 11 Mar 2016 07:46:07 +0000 (23:46 -0800)]
Persist isAsciiCapable attribute of additional subtypes.

This was somehow missed in the previous commit [1] that added
isAsciiCapable attribute to InputMethodSubtype.

For devices from API level 14 to 23, IME developers might be able to
work around this issue by specifying "AsciiCapable" [2] in
imeSubtypeExtraValue, which is not coverted by CTS though.

  [1]: Ic3ace4b6e0432d56696bcbc0be336aec1dc744a5
       dc8abf6cee0bcf44e2cad8155f0c151105d46471
  [2]: I0bc9954f163a3ec38d08b9ba842a8a31176eb6a6
       8e303cc5dd4860b6050d5725ce60ca7e6fb00c7b

Bug: 27603986
Change-Id: Ifb6bc83e782ac05df180dfe0d689897d07441a0c

8 years agoAAPT2: statically link protobuf library
Adam Lesinski [Fri, 11 Mar 2016 03:24:00 +0000 (19:24 -0800)]
AAPT2: statically link protobuf library

Change-Id: I0bce42dfef2f11181c6407839875c97f88445dbd

8 years agoUpdate docs for DisplayMetrics pixel size fields
Andrii Kulian [Fri, 11 Mar 2016 06:08:14 +0000 (22:08 -0800)]
Update docs for DisplayMetrics pixel size fields

Update docs to reflect that values in fields store sizes available for
application (not full screen size).

Bug: 27449789
Change-Id: I92f7552a92fa1b66c5eba4cf28693528cbff21d3

8 years agoMerge "Reset mWordIteratorWithText when SpellChecker locale is changed." into nyc-dev
Keisuke Kuroyanagi [Fri, 11 Mar 2016 05:43:17 +0000 (05:43 +0000)]
Merge "Reset mWordIteratorWithText when SpellChecker locale is changed." into nyc-dev

8 years agoMerge "docs: Fix reference docs build to indicate N changes" into nyc-dev
Joe Fernandez [Fri, 11 Mar 2016 04:50:17 +0000 (04:50 +0000)]
Merge "docs: Fix reference docs build to indicate N changes" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Fri, 11 Mar 2016 04:42:34 +0000 (04:42 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Fri, 11 Mar 2016 04:42:17 +0000 (04:42 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Fri, 11 Mar 2016 04:41:59 +0000 (04:41 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Fri, 11 Mar 2016 04:41:43 +0000 (04:41 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Fri, 11 Mar 2016 04:41:25 +0000 (04:41 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 11 Mar 2016 03:02:22 +0000 (19:02 -0800)]
Import translations. DO NOT MERGE

Change-Id: I4dfab5521dc760ea630dbc54490f1531d6a2c22d
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 11 Mar 2016 02:52:52 +0000 (18:52 -0800)]
Import translations. DO NOT MERGE

Change-Id: If375ea874afe99e685cb66c295785b108fc98e29
Auto-generated-cl: translation import