Commit Graph

62011 Commits

Author SHA1 Message Date
Alex Klyubin
ea9917a570 Merge "Workaround for verifying large APKs." into nyc-dev
am: 026cf53fe4

* commit '026cf53fe46a3da512088212f22a2989993eb963':
  Workaround for verifying large APKs.
2016-03-11 23:54:20 +00:00
Makoto Onuki
5592d0ed7c Merge "Add a flag to log service side runtime exception" into nyc-dev
am: 4b19f4a702

* commit '4b19f4a702b9da07c91d093b922b30163ddd1471':
  Add a flag to log service side runtime exception
2016-03-11 23:54:18 +00:00
Ruben Brunk
c5630f8247 Merge "Allow per-package exemptions for restricted AppOps" into nyc-dev
am: 89db9dbedb

* commit '89db9dbedbb250e012d5853a7c3ae2b8fa070ecc':
  Allow per-package exemptions for restricted AppOps
2016-03-11 23:54:17 +00:00
Doris Liu
d6c67154cb Merge "Set end value immediately when start a 0-duration animation" into nyc-dev
am: 5a705d0bbb

* commit '5a705d0bbbd1f5eb117170c9c68399cc7b484b7a':
  Set end value immediately when start a 0-duration animation
2016-03-11 23:54:10 +00:00
Yohei Yukawa
2d9b9b8181 Merge "Use LocaleUtils#filterByLanguage for non-keyboard subtypes." into nyc-dev
am: fc1713dfad

* commit 'fc1713dfadecf089e88cecc765e99a460b7f4513':
  Use LocaleUtils#filterByLanguage for non-keyboard subtypes.
2016-03-11 23:54:04 +00:00
Todd Kennedy
52e1a26891 Merge "Allow app downgrades" into nyc-dev
am: b0f6e311ce

* commit 'b0f6e311ce19add792048db855844e542e808dd6':
  Allow app downgrades
2016-03-11 23:54:03 +00:00
Todd Kennedy
aa2b0035de Merge "Add minSdk to dumpsys" into nyc-dev
am: 1374af2c7b

* commit '1374af2c7be265701b9b402b7d4749ffe716ef01':
  Add minSdk to dumpsys
2016-03-11 23:54:00 +00:00
Alex Klyubin
026cf53fe4 Merge "Workaround for verifying large APKs." into nyc-dev 2016-03-11 23:03:59 +00:00
Makoto Onuki
4b19f4a702 Merge "Add a flag to log service side runtime exception" into nyc-dev 2016-03-11 22:52:35 +00:00
Alex Klyubin
005c7caa61 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
2016-03-11 14:51:47 -08:00
Ruben Brunk
89db9dbedb Merge "Allow per-package exemptions for restricted AppOps" into nyc-dev 2016-03-11 22:48:38 +00:00
Ruben Brunk
29931bc684 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
2016-03-11 14:05:44 -08:00
Doris Liu
5a705d0bbb Merge "Set end value immediately when start a 0-duration animation" into nyc-dev 2016-03-11 20:25:21 +00:00
Yohei Yukawa
fc1713dfad Merge "Use LocaleUtils#filterByLanguage for non-keyboard subtypes." into nyc-dev 2016-03-11 19:56:03 +00:00
Todd Kennedy
b0f6e311ce Merge "Allow app downgrades" into nyc-dev 2016-03-11 19:38:35 +00:00
Todd Kennedy
c84d1ab11a Allow app downgrades
only system apps can do this

Change-Id: If0947f13f5c447f9396690bfda3ad40b07fbbb6b
2016-03-11 11:37:17 -08:00
Todd Kennedy
1374af2c7b Merge "Add minSdk to dumpsys" into nyc-dev 2016-03-11 19:26:37 +00:00
Todd Kennedy
89d60189cd Add minSdk to dumpsys
Bug: 27526333
Change-Id: I0148275013ebab899bcb63c07d71a840539c1863
2016-03-11 11:18:32 -08:00
Alan Viverette
a3710fbd27 Merge "Add consistent @NonNull annotations for drawable callbacks" into nyc-dev
am: 79936ddda4

* commit '79936ddda4c8d1709f736cda013070c3ab32db6f':
  Add consistent @NonNull annotations for drawable callbacks
2016-03-11 18:49:50 +00:00
Alan Viverette
79936ddda4 Merge "Add consistent @NonNull annotations for drawable callbacks" into nyc-dev 2016-03-11 18:42:43 +00:00
Yohei Yukawa
238faad984 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
       e985c240e3
  [2]: I8fc774154f5175abff2f16e8f12a4847bf5f5b7c
       072a95a309

Bug: 27560993
Change-Id: I416b5671602c550805ed6267dd210968aa1de83c
2016-03-11 10:39:51 -08:00
Eino-Ville Talvala
e398d06352 Merge "Camera2: Add buffer drop error callback" into nyc-dev
am: 95171050e9

* commit '95171050e9877deb9b1f84b4c55aa828229e2809':
  Camera2: Add buffer drop error callback
2016-03-11 18:18:13 +00:00
Eino-Ville Talvala
95171050e9 Merge "Camera2: Add buffer drop error callback" into nyc-dev 2016-03-11 18:13:01 +00:00
Makoto Onuki
0408672bcb Merge "Test for ShortcutManager.updateShortcuts(), also" into nyc-dev
am: 04efe9e5ff

* commit '04efe9e5ff56ff6c4db6fe7eb4c35acb5b6f61ac':
  Test for ShortcutManager.updateShortcuts(), also
2016-03-11 18:06:01 +00:00
Makoto Onuki
04efe9e5ff Merge "Test for ShortcutManager.updateShortcuts(), also" into nyc-dev 2016-03-11 18:00:18 +00:00
Alan Viverette
9f4f4f3962 Merge "Add temporary logging to SimpleMonthView" into nyc-dev
am: d969cc6856

* commit 'd969cc68560bbec8d17c610b9330155ea8c65624':
  Add temporary logging to SimpleMonthView
2016-03-11 15:12:30 +00:00
Alan Viverette
f6d87ec193 Add consistent @NonNull annotations for drawable callbacks
Bug: 27599515
Change-Id: I33fdc5392302403bfff9cc74a8226173ec962af6
2016-03-11 10:09:14 -05:00
Alan Viverette
d969cc6856 Merge "Add temporary logging to SimpleMonthView" into nyc-dev 2016-03-11 15:08:25 +00:00
Jorim Jaggi
b1e14fc05e Merge "Add ability to swap docked/fullscreen stack" into nyc-dev
am: 95b69f8231

* commit '95b69f82316220bc40d227bf7208920eb6ed9283':
  Add ability to swap docked/fullscreen stack
2016-03-11 12:06:04 +00:00
Jorim Jaggi
95b69f8231 Merge "Add ability to swap docked/fullscreen stack" into nyc-dev 2016-03-11 12:02:38 +00:00
Keisuke Kuroyanagi
f6c1149985 Merge "Fix: Context menu can contain obsolete suggestions." into nyc-dev
am: 13d66d8456

* commit '13d66d8456ec4661a9eda5f26e72b1d9188bfbe6':
  Fix: Context menu can contain obsolete suggestions.
2016-03-11 11:31:13 +00:00
Keisuke Kuroyanagi
13d66d8456 Merge "Fix: Context menu can contain obsolete suggestions." into nyc-dev 2016-03-11 11:17:37 +00:00
Yohei Yukawa
3e5a1abba0 Merge "Make sure to compare subtype language with system language." into nyc-dev
am: 0f3647f444

* commit '0f3647f444bc6fdade70d91f473d599a53a1778d':
  Make sure to compare subtype language with system language.
2016-03-11 10:32:45 +00:00
Yohei Yukawa
0f3647f444 Merge "Make sure to compare subtype language with system language." into nyc-dev 2016-03-11 10:25:59 +00:00
Keisuke Kuroyanagi
182f5fec53 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
2016-03-11 10:08:11 +00:00
Yohei Yukawa
80861ff1c0 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
       e985c240e3

Bug: 27560993
Change-Id: If2d1710174853180465832e6ecbbb91235b76210
2016-03-11 01:08:52 -08:00
Keisuke Kuroyanagi
5b47ae745f Merge "Reset mWordIteratorWithText when SpellChecker locale is changed." into nyc-dev
am: 01ef02d785

* commit '01ef02d7853fd2996eae3d139f02d190f3c174a2':
  Reset mWordIteratorWithText when SpellChecker locale is changed.
2016-03-11 05:48:42 +00:00
Keisuke Kuroyanagi
01ef02d785 Merge "Reset mWordIteratorWithText when SpellChecker locale is changed." into nyc-dev 2016-03-11 05:43:19 +00:00
Selim Cinek
00fdea7e14 Merge changes I8c1cd4d4,I5ed13c17,If603049c,I5cb7937c into nyc-dev
am: 00e61f5a64

* commit '00e61f5a6455ba0ae90859acdd76e54efc849c3c':
  Fixed a bug where text would still not animate
  Reseting user expansions when the shade is collapsed
  Added more spacing around notifications
  Fixed an bug with the notification backgrounds
2016-03-11 02:27:55 +00:00
Selim Cinek
00e61f5a64 Merge changes I8c1cd4d4,I5ed13c17,If603049c,I5cb7937c into nyc-dev
* changes:
  Fixed a bug where text would still not animate
  Reseting user expansions when the shade is collapsed
  Added more spacing around notifications
  Fixed an bug with the notification backgrounds
2016-03-11 02:20:15 +00:00
Makoto Onuki
7a6a05f0cc Test for ShortcutManager.updateShortcuts(), also
... fix bugs

Bug 27548047

Change-Id: Ia55d35521912dcba2fb1bb9c20588a83d1a2d004
2016-03-10 18:01:06 -08:00
Raph Levien
8c8e942b50 Merge "Invalidate TextView on change of elegantTextHeight" into nyc-dev
am: a4750fd71d

* commit 'a4750fd71d2a87e02b666590537a0ba026b331ec':
  Invalidate TextView on change of elegantTextHeight
2016-03-11 01:33:14 +00:00
Raph Levien
a4750fd71d Merge "Invalidate TextView on change of elegantTextHeight" into nyc-dev 2016-03-11 01:26:52 +00:00
Aga Wronska
dfd8ef3a63 Merge "Display file names in Media libraries in grid mode" into nyc-dev
am: 8800f2d314

* commit '8800f2d314793b3a97d27b96c0d2faef9e2efbd1':
  Display file names in Media libraries in grid mode
2016-03-11 01:26:40 +00:00
Aga Wronska
8800f2d314 Merge "Display file names in Media libraries in grid mode" into nyc-dev 2016-03-11 01:23:20 +00:00
Makoto Onuki
f9b941f528 Add a flag to log service side runtime exception
Often during development I get runtime exceptions from system
server but I only see client side stacktrace on logcat, which is
pretty much inconvenient.

Change-Id: I9c60fd92f6008d2c3a7eaf848b89ce3f1dffbe8a
2016-03-10 17:19:08 -08:00
Steve McKay
412f1c9e58 Merge "Delete downloads activity." into nyc-dev
am: 4064f60831

* commit '4064f60831faf30a1ceced3b08c61ee945f79bfb':
  Delete downloads activity.
2016-03-11 00:15:24 +00:00
Steve McKay
4064f60831 Merge "Delete downloads activity." into nyc-dev 2016-03-11 00:04:00 +00:00
Aga Wronska
09c07bdf37 Display file names in Media libraries in grid mode
Bug: 26829518
Change-Id: If9e2f331df0233ef114c4147ffbc16214558b5ce
2016-03-10 15:56:43 -08:00
Adam Lesinski
3283e02a45 Merge "Cache per-Activity Resources objects" into nyc-dev
am: 58f1018c56

* commit '58f1018c56a88e7864c7ff85f5b85129e790ffd2':
  Cache per-Activity Resources objects
2016-03-10 20:53:54 +00:00