228947 Commits

Author SHA1 Message Date
Neil Fuller
6a103d33a0 Hide static setDefault methods in ICU4J
Associated with a change in external/icu.

Bug: 25924145
Change-Id: I3fea5e3d88417cfb702550147c0c33d1cd2d0dc9
2016-01-06 14:30:23 +00:00
Adrian Roos
d28ccd7cab Show back button while RemoteInput is active on keyguard
Bug: 22452379
Change-Id: Iea1cdb885698c717b98904453bf14e2bdd7d7562
2016-01-06 15:23:14 +01:00
Jason Monk
5a34cb8a73 Merge "More QS Tile modes in the API" 2016-01-06 14:18:57 +00:00
Geoff Mendal
07354e8788 Merge "Import translations. DO NOT MERGE" 2016-01-06 14:05:03 +00:00
Geoff Mendal
9e6fe0cf38 Merge "Import translations. DO NOT MERGE" 2016-01-06 14:04:33 +00:00
Geoff Mendal
53453502ca Import translations. DO NOT MERGE
Change-Id: Idd3021ee355626bc12361a252aab329d1d116b24
Auto-generated-cl: translation import
2016-01-06 05:57:10 -08:00
Jorim Jaggi
d8fb3ac4b8 Start moving divider only after passing touch slop
So there is a clear distinction between grabbing it and
start moving it.

Change-Id: I51b50220bd35d8040d0c11f131918d9741cd8403
2016-01-06 13:53:28 +00:00
Geoff Mendal
ee03b99a47 Import translations. DO NOT MERGE
Change-Id: I069886b4230a02864c84c5e12d29ac2149f88878
Auto-generated-cl: translation import
2016-01-06 05:53:27 -08:00
Jorim Jaggi
0035e383e4 Make sure to use right thread to change icon
Not sure why this ever worked.

Change-Id: Ib044236856522fb9d9e737c885d5e9223e5f3fe3
2016-01-06 13:52:01 +00:00
Geoff Mendal
41a324ebea Import translations. DO NOT MERGE
Change-Id: Icd9c16ad1f8cad8f53a99a1b7a4d7ca73510881d
Auto-generated-cl: translation import
2016-01-06 05:20:03 -08:00
Tony Mak
64ef34bc1a Merge "Add a new property PROPERTY_WORK_CALL" 2016-01-06 12:25:14 +00:00
Keisuke Kuroyanagi
cb4a2bb5de Fix: TextView cannot be scrolled.
scrollTo in Touch#onTouchEvent was wrongly removed in
I1b29a65be3d321ac while moving mouse text selection logic
added in Iab264bb954b.

Bug: 26409193

Change-Id: Ibb0b13be9492d658785f2ac72be383e634ad96f8
2016-01-06 19:23:43 +09:00
Daichi Hirono
60e9a07557 Leave from the current root when the root is removed.
This is needed to handle removable roots.

1. Add a listener to RootCache.
2. BaseActivity handles roots change and leaves from the current
   directory if the current root is removed.

BUG=26316940
Change-Id: I41921fe17782fa1a2d9e58f55ea84326b8f1d3c0
2016-01-06 13:32:39 +09:00
Vadim Tryshev
1ee3e370f9 Merge "Fixing crash in D&D due to race conditions during drag end." 2016-01-06 02:55:06 +00:00
Tomasz Mikolajewski
7e6040d981 Merge "Set the default mode to grid view." 2016-01-06 02:45:56 +00:00
Winson
ef06413afc Moving more callbacks to animated events.
- In preparation for the animation refactoring, this CL just moves the
  enter/exit callbacks that route though RecentsView into events that
  the task stack can handle directly.

Change-Id: I90f602c5486e1781129225a73dbf97af29477479
2016-01-05 18:18:05 -08:00
Jeremy Joslin
5b294b45d0 Exit getAllValidScorers early if not the primary.
This fixes the crash that occurs when getAllValidScorers() is invoked by
a non-primary user when a scorer is active.

BUG: 23040221
Change-Id: I42c9e18d74389be3191258ca5626f2c433ca7cc7
2016-01-05 17:44:05 -08:00
Roozbeh Pournader
7eae10928a Merge "For locale negotiation, assume English is always supported" 2016-01-06 01:27:42 +00:00
Roozbeh Pournader
f0ce621ceb Merge "Add pseduolocales back to Settings" 2016-01-06 01:18:21 +00:00
Roozbeh Pournader
4f06e6ed6e Add pseduolocales back to Settings
The change I2f264cdb7b7fc586124dd58fad2c68060d5b7aa8 unintentionally
removed pseduolocales from the list of locales in Settings. This
adds them back.

Bug: 26412909
Change-Id: I1d89154e1c0e0312f996252bbfc9f6ded2412d90
2016-01-05 17:12:15 -08:00
Tyler Gunn
ae85bc3c65 [DO NOT MERGE] Add "acceptRingingCall()" API which accepts a videoState.
- Added acceptRingingCall API which accepts a videostate to complement the
existing API.

Bug: 20159300
Change-Id: I2a9d53fd4dbbb0be49d95416f7e26d3ec61774cd
2016-01-05 16:33:07 -08:00
Aurimas Liutikas
61fa2d466a Change fragment removal order for fragment replacement.
Before this patch it for loop was accessing mManager.mAdded elements using
an integer index and also removing the fragments from mAdded using
mManager.removeFragment().

Bug: 24693644
Change-Id: I8e32fffa9f65c2795141f61670956740399960e4
2016-01-05 15:58:29 -08:00
Steve McKay
44408260ba Don't proxy calls to DocumentsAdapter in MultiSelManager.
We were bouncing calls out to the adapter pulled from RecyclerView,
but the adapter is easy to write a test double for and
we can readily inject the adapter when needed at runtime.

Eliminates unnecessary indirection.
Also, protect against failure when documents can't be loaded for delete.

Change-Id: Ief6585bf2e3e4fd407d801d485a9d7cd888b8500
2016-01-05 15:50:35 -08:00
Roozbeh Pournader
fb9236cb0c For locale negotiation, assume English is always supported
In practice, a lot of apps provide English resources as their default
resources, so assume that English is always supported.

With this change, users can safely set secondary locales after
English in their preferred locale lists. Such settings would help
the apps (and parts of the system that are aware of multiple locales)
consider the user's familiarity with the secondary locale or the
user's preference for glyphs forms in the secondary locale.  This
change makes sure that no app unintentionally switches to such
secondary locales.

Note that this doesn't break from the tradition of previous releases.
Traditionally, if the user had set the system locale to English, they
would get the default resources when the app didn't explicitly
provide English resources. This will continue to be the case where
the user's locale list has English in it before another supported
language. (English will be the first locale in most cases.)

Bug: 26192817
Change-Id: I2c1a003760299157786c1b3f9fb116ce18db3b8c
2016-01-05 14:52:38 -08:00
Steve McKay
ab6fb6fcaf Merge "Fix event relay to correctly dispatch events." 2016-01-05 22:47:37 +00:00
Chad Brubaker
8885958f4b Merge "Unhide hostname aware isCleartextTrafficPermitted" 2016-01-05 22:37:06 +00:00
Steve McKay
955e46d004 Fix event relay to correctly dispatch events.
This fixes:
- UI to show selection which was broken in ag/838866
- Delete undo, which throws IOB exception
  when undoing a a full delete of all entries.

Change-Id: Idbb43510974e130d283313602a71ac15ad10aadf
2016-01-05 14:13:57 -08:00
Roozbeh Pournader
37bcaf3b6e Merge "Replace Qaae script with Zsye" 2016-01-05 21:54:29 +00:00
Seigo Nonaka
dcf2ea2fbe Replace Qaae script with Zsye
The emoji variant script "Zsye" is registered in ISO 15924.

Bug: 26226285
Change-Id: Ie561d8192c4ec8f242706339ca67b44133867e50
2016-01-05 21:53:53 +00:00
Filip Gruszczynski
f8b3266124 Merge "Fix flashing dialogs when IME enters/exits." 2016-01-05 21:36:31 +00:00
Filip Gruszczynski
c46f41c5b5 Fix flashing dialogs when IME enters/exits.
The flashing is caused by changing the shown frame of the window
prematurely, before the animation kicks in. After the animation kicks
in, the shown frame goes back to the original position and then animates
to the final position.

We need the shown calculation to happen during layout for resizing and
the layout might be triggered at any time before the animation is run.
In order to avoid flashing, we don't calculate shown frame for windows
that are animating during the layout and let the animation position the
shown frame correctly later.

Includes also logging for inset setting, which triggers layout run.

Bug: 26323134
Change-Id: Ibe1efae798415d3564c659aa94c2b94af92c743a
2016-01-05 13:35:12 -08:00
Alex Klyubin
4f6d400b0f Merge "No need to pass digest of AndroidManifest.xml around." 2016-01-05 21:19:41 +00:00
Tony Mantler
4c66048659 Merge "Increase charlimit for select_logd_size_summaries" 2016-01-05 21:08:47 +00:00
Tony Mantler
ea2295c446 Increase charlimit for select_logd_size_summaries
b/26328941
b/26335699

Change-Id: I40d5b745a5794bc63e3cb4c8bfb357164b36265d
2016-01-05 12:53:51 -08:00
Julia Reynolds
1a3d9ba7cc Merge "Show 'end now' in expanded volume panel." 2016-01-05 20:47:20 +00:00
Julia Reynolds
ed150013e3 Merge "DND visual interruptions: prevent screen on." 2016-01-05 20:45:45 +00:00
Glenn Kasten
bd2c3d65d6 Use FCC_2 and FCC_8 to highlight channel count assumptions
Bug: 21656069
Change-Id: I20a74575eddf6e28f1777d04eeab396f28bcc0cc
2016-01-05 11:44:12 -08:00
Winson Chung
61dead71a4 Merge "Fixing issue with exit animation due to incorrect visibility state." 2016-01-05 19:41:23 +00:00
Chad Brubaker
25e34339ba Unhide hostname aware isCleartextTrafficPermitted
Change-Id: Id2bde5889d963ca2820fdecce1628dce022b510b
2016-01-05 11:36:43 -08:00
Steve McKay
eceac1b1e3 Merge "Move Adapters to their own classes." 2016-01-05 19:29:46 +00:00
Roozbeh Pournader
771bc90e43 Merge "Move Language normalization code from Paint.cpp to Minikin." 2016-01-05 19:27:32 +00:00
Roozbeh Pournader
34c4756e2d Merge "Optimize locale negotiation when there's only one locale" 2016-01-05 19:23:42 +00:00
Winson
d8b1d63f96 Fixing issue with exit animation due to incorrect visibility state.
- This CL ensures that only Recents updates the SysUI visibility state
  for itself, ensuring that the visibility state reflects the state in
  Recents, and allows us to skip unnecessary work to close system
  dialogs when it is not required.

Bug: 26390248
Change-Id: Ib6301a8300cc3da6da75fcbbceceb0e1da3beab4
2016-01-05 11:19:56 -08:00
Wale Ogunwale
59dad14d9f Merge "Don't set replacing flag in starting windows." 2016-01-05 19:16:29 +00:00
Kenny Guy
06de4e77c2 Add support message for device admins
Allow admins to set a long and short support
message for settings to display.

Bug: 25659579
Change-Id: Ib645490785642e49c69d8dbc65455eb3398547ee
2016-01-05 19:07:04 +00:00
Steve McKay
ef16f5f411 Move Adapters to their own classes.
Move section break support into a separate wrapper class.
Fix issue where intermediate directory updates were briefly showing hidden files.
Add a rudimentary test for ModelBackedDocumentsAdapter.

Bug: 26293561, 26383237, 26293561, 26309025
Change-Id: I1fa489b110754d8801091b2009caebe9d2278701
2016-01-05 10:50:52 -08:00
Roozbeh Pournader
4fac768030 Merge "Avoid matching system locales in locale negotiation" 2016-01-05 18:45:29 +00:00
Wale Ogunwale
6d8e06bad4 Don't set replacing flag in starting windows.
When ever an app is changing stacks we set replacing flag on all it's
windows. Starting windows can be part of an apps window list, but is
added by window manager not the app. So, when we set replacing flag
on the starting window it can cause the starting window never to be
cleaned up since we are expecting the client to replace it which will
never happen since it was added by window manager.
We shouldn't be setting replacing flag on starting windows since they
can never be replaced.

Bug: 26294740
Change-Id: I0a4f1e44188e96e73614130cbea02a3860850f58
2016-01-05 10:43:25 -08:00
Julia Reynolds
a45869a0b6 Show 'end now' in expanded volume panel.
Bug: 26165288
Change-Id: I1e75a33f7745a7aa0b4740010cc554b4f1d924c6
2016-01-05 13:42:43 -05:00
Chris Craik
982dcf3eff Merge "Support for stencil clipping in layers" 2016-01-05 18:33:54 +00:00