223297 Commits

Author SHA1 Message Date
Robert Carr
12701f64d9 Fix build by making docs match params.
Change-Id: Id5bb5161514be372b709ecbb5d56e86554d3ec64
2015-12-04 15:18:40 -08:00
Chong Zhang
75b3720c50 Fix app over lockscreen being cropped by docked stack
When secure apps are launched over lockscreen, the bounds should always
be fullscreen. Also docked stack and divider shouldn't be visible while
lockscreen is shown.

bug: 25837786
Change-Id: I0bc681cdb46404fb79e9332d1f82fee51f338da9
2015-12-04 15:06:47 -08:00
Yohei Yukawa
bd2b4aa3f6 Merge changes I0af0f520,I51be014c
* changes:
  Rewrite a fake language code "tl" in SpellChecker.
  retry: Add @hide SpellCheckerSubtype#getLocaleObject().
2015-12-04 22:49:49 +00:00
Jeff Sharkey
65196ee28b Merge "Add tagging variants for DatagramSocket." 2015-12-04 22:44:40 +00:00
Yohei Yukawa
eae60ba5a4 Rewrite a fake language code "tl" in SpellChecker.
With following CLs, we already have a special rewrite rule of "tl" to
"fil" for IMEs that are targeting older versions of Android earlier than
Lollipop that did not support three letter language codes and used
"tl" (Tagalog) as the language string for "fil" (Filipino).
  - 92280cd309b0f5967dd253280962d8581844db89 [1]
  - ed65bc0c62ca99a118057db7ad54c4ccc14d52d0 [2]

  [1]: I94f203bddceb9c87710cb187cc3cc0ee6d9092a5
  [2]: Ica9cd2baac002c406f92331aadd7725d7424046a

With this CL, we have the same rewrite rule for spell checker services.

Bug: 20696126
Change-Id: I0af0f520a15337e33973391c9965364e3ae1ee4c
2015-12-04 14:43:17 -08:00
Yohei Yukawa
658c29e86e retry: Add @hide SpellCheckerSubtype#getLocaleObject().
This is the 2nd try of I39dc0c310158ad23ba6c987efce07deaf30ce693.

This is a mechanical refactoring with no behavior change.

With this CL, InputMethodSubtype and SpellCheckerSubtype have the same
getLocaleObject() hidden API, which makes it easy to share the logic in
subsequent CLs.

No behavior change is intended.

Bug: 11736916
Bug: 20696126
Bug: 22858221
Change-Id: I51be014c752b736a808e2b0d56e664941a218a2f
2015-12-04 14:43:01 -08:00
Jeff Sharkey
f0d7633bdc Add tagging variants for DatagramSocket.
Oops, we missed these along the way.

Bug: 25799174
Change-Id: I4ad368f9faee4b1996d605534dce4c2b23dbe200
2015-12-04 15:32:07 -07:00
Yohei Yukawa
8687b42463 Merge "Revert "Add @hide SpellCheckerSubtype#getLocaleObject()."" 2015-12-04 22:30:45 +00:00
Steve McKay
5a24749237 Merge "Fix broken copy after recent copy related chagnes." 2015-12-04 22:29:43 +00:00
Yohei Yukawa
80a918c3bd Revert "Add @hide SpellCheckerSubtype#getLocaleObject()."
This reverts commit e3c761c87efdee7c28461559015fa76602d4605a.

Previous CL unintentionaly contained behavior change.

Change-Id: I1e350f224df815e991d9f42ac4145ecfc5c1c8b0
2015-12-04 22:26:41 +00:00
Suprabh Shukla
35de4aa0ca Merge "Added default config to enable adding users from lockscreen" 2015-12-04 22:26:20 +00:00
Steve McKay
8fd086a18d Fix broken copy after recent copy related chagnes.
Also, add a label to Downloads app, and enabled drag and drop by default.
Cleanued up menu handling in BaseActivity (use switch statement).

Bug: 26033335
Change-Id: I3cef89a4a9f9e30b4e926411e94cf06bc2dc0f8d
2015-12-04 14:24:48 -08:00
Yohei Yukawa
ab004d5ad8 Merge "Add @hide SpellCheckerSubtype#getLocaleObject()." 2015-12-04 22:17:32 +00:00
Felipe Leme
5662dd8379 Merge "Refactoring: pulled ServiceHandler methods to its parent class." 2015-12-04 22:14:05 +00:00
Yohei Yukawa
34e284acce Merge "Add SpellCheckerSubtypeTest." 2015-12-04 22:12:36 +00:00
Felipe Leme
62607a4de0 Merge "Changed workflow so max progress can be dynamically updated." 2015-12-04 22:12:20 +00:00
Yohei Yukawa
e3c761c87e Add @hide SpellCheckerSubtype#getLocaleObject().
This is a mechanical refactoring with no behavior change.

With this CL, InputMethodSubtype and SpellCheckerSubtype have the same
getLocaleObject() hidden API, which makes it easy to share the logic in
subsequent CLs.

Bug: 11736916
Bug: 20696126
Bug: 22858221
Change-Id: I39dc0c310158ad23ba6c987efce07deaf30ce693
2015-12-04 22:07:39 +00:00
Felipe Leme
923afa9fe1 Refactoring: pulled ServiceHandler methods to its parent class.
Now ServiceHandler only have 2 methods:

- handleMessage(): part of its interface.
- poll(): delegates work to parent, but sends a delayed message
  so it keeps polling.

Also changed hardcoded "N/A" to a resource.

BUG: 25794470
Change-Id: I486fff46c1532685bfd6f5903349d14e55059219
2015-12-04 14:05:17 -08:00
Felipe Leme
5d70aebc28 Merge "Improved phrasing for "in progress" message." 2015-12-04 21:48:14 +00:00
Dianne Hackborn
371baee4d3 Merge "Add package command to print resolve activity." 2015-12-04 21:28:59 +00:00
Rob Carr
6a935af378 Merge "Restore exception behavior of getLocationInWindow." 2015-12-04 21:08:54 +00:00
Yohei Yukawa
9534ae1858 Add SpellCheckerSubtypeTest.
Before introducing behavior changes, this CL adds
SpellCheckerSubtypeTest to make the current behavior clear.

Bug: 11736916
Bug: 20696126
Bug: 22858221
Change-Id: Ied18580f31497156510e1b785adfc248683ba94d
2015-12-04 13:05:20 -08:00
Filip Gruszczynski
8294f82562 Merge "Put PIP windows above transition animations." 2015-12-04 20:50:23 +00:00
Filip Gruszczynski
114d5ca711 Put PIP windows above transition animations.
PIP activities are already on top of everything else, but during
animation we increase the layer of the animated window for the duration
of the animation and it may cover the PIP. By forcing the same
adjustment on PIP windows we will keep them above animating windows.

Bug: 26015827
Change-Id: I8f7a87f41fed24b3e520fb599a94cf24cc2eeb50
2015-12-04 12:49:42 -08:00
Robert Carr
b948014e3e Restore exception behavior of getLocationInWindow.
Restore exception throwing behavior on invalid arguments
for getLocationInWindow. This is tested by CTS.
Tweak some variable names to make the exception string readable.

Change-Id: I069d63b354d90ce74d156362b223765a5c2da2f0
2015-12-04 12:48:55 -08:00
Julia Reynolds
c030986883 Merge "Topics can now have an Importance." 2015-12-04 20:37:28 +00:00
Julia Reynolds
5d25ee7a00 Topics can now have an Importance.
Bug: 22451710
Change-Id: I627121da6c4b85492715a8e8a099656dca52b734
2015-12-04 15:20:34 -05:00
Steve McKay
21217af63b Merge "Followup changes to ag/810782." 2015-12-04 20:14:34 +00:00
Steve McKay
27fd7c6727 Followup changes to ag/810782.
Note, one of the requested changes already happened.

Change-Id: I253cbc2b3b7f2091ca80f43c90e951263fc50ad2
2015-12-04 12:13:25 -08:00
Filip Gruszczynski
ae5fe6abb3 Merge "Remove some sized based resource (match support lib removal)." 2015-12-04 20:09:31 +00:00
Jun Mukai
b68d1639c6 Merge "Reset mPointerIconShape properly on window manager." 2015-12-04 20:08:02 +00:00
Vinit Deshpande
0dfd4faf01 Merge "Mark WIFI_AP_STATE_CHANGED_ACTION and extras @SystemApi." 2015-12-04 19:58:58 +00:00
Felipe Leme
719aaae3c1 Changed workflow so max progress can be dynamically updated.
BUG: 25794470
Change-Id: I75dfdabf9febf54f2fb714441d48b339f8d3d293
2015-12-04 11:50:58 -08:00
Amit Mahajan
28be2bdbe4 Merge "Cleanup related to files removed in Phone refactor." 2015-12-04 19:40:38 +00:00
Tony Mantler
eca49fa599 Merge "Move strings to SettingsLib" 2015-12-04 19:38:31 +00:00
Tony Mantler
5881ebc882 Move strings to SettingsLib
Change-Id: I8dc93cfc206e41b14f894b03ecd8a18225d47fe7
2015-12-04 11:24:34 -08:00
Nathan Harold
cea7fecc07 Merge "Add hidden APIs for retrieving LTE RSRQ and RSSNR" 2015-12-04 19:20:26 +00:00
Jun Mukai
02812ba501 Reset mPointerIconShape properly on window manager.
Sometimes mPointerIconShape wrongly remember old icon shape,
so that it fails to specify the icon on some situation, such
as reported in the bug.
- task == null: happening tasks are overlapping and mouse moves
  directly from an edge of a task to inside of another task
- hover_exit: happening the mouse moves outside of any tasks.
  I believe I added this line but anyways it's been lost at
  some point.

Bug: 26011155
Change-Id: I0bdc345a28089bd13443d9b7b8e7c770e56247f3
2015-12-04 11:11:17 -08:00
Chris Craik
85cdc25fe5 Merge "Correct shadowtext glyph count" 2015-12-04 18:30:28 +00:00
George Mount
9f93d375ce Remove accidentally left-in commented out line. am: 8e6fc083fe
am: 827902553d

* commit '827902553d2642a3ed82553e1e5b6214960c3986':
  Remove accidentally left-in commented out line.
2015-12-04 10:15:08 -08:00
George Mount
827902553d Remove accidentally left-in commented out line.
am: 8e6fc083fe

* commit '8e6fc083fe33543fa3ffd3bbfd25fa937f4ec7bf':
  Remove accidentally left-in commented out line.
2015-12-04 18:07:17 +00:00
George Mount
0b2664913f Merge "Revert "Revert "Choose the correct Fragment to pull a Transiton from.""" 2015-12-04 18:02:28 +00:00
George Mount
ac97ba0c4c Merge "Revert "Revert "Give transitioning fragment a context prior to retrieving transition""" 2015-12-04 18:02:18 +00:00
George Mount
233c97c26f Revert "Revert "Choose the correct Fragment to pull a Transiton from.""
This reverts commit c30d875c7f21890a4167938e536771675964a613.

Change-Id: Ica7c9b6d1dc6553aae893d2ce07bedef7da7dfe5
2015-12-04 18:00:55 +00:00
Filip Gruszczynski
206cebc7ca Merge "Force divider visibility reevaluation when system ui registers listener." 2015-12-04 17:36:26 +00:00
Chris Craik
0868477971 Correct shadowtext glyph count
bug:25837773

Change-Id: Id890624ddce3e5a331ecef207011709be0daf703
2015-12-04 09:28:22 -08:00
Filip Gruszczynski
85d5cc4959 Force divider visibility reevaluation when system ui registers listener.
If system UI dies and then returns, we need to make sure it receives
information about visibility of the divider.

Bug: 26009659
Change-Id: I067d2023ce27b2d36723070127a18c71b694eb45
2015-12-04 09:21:37 -08:00
Jeff Sharkey
0534ac90e5 Merge "Handle non-encryption-aware accounts and sync." 2015-12-04 16:50:38 +00:00
Filip Gruszczynski
abd1ea4b2b Merge "Run activity visibility adjustment even if there is no top running." 2015-12-04 16:42:49 +00:00
Jeff Sharkey
9d8a1048bb Handle non-encryption-aware accounts and sync.
The system can now boot in a "locked" state where only encryption
aware (EA) components can be safely started.  When in this state,
PackageManager already filters away non-EA components, but system
services like AccountManager and SyncManager need to carefully handle
these temporarily "missing" components.

As a guiding principle, all known Accounts are still present when
the device is locked, but communication with underlying non-EA
authenticators is blocked.

To keep things simple for now, all SyncManager requests are kept
dormant until the user enters the unlocked state.

The core of this logic is that RegisteredServicesCache now works
with all components regardless of EA status, which prevents us from
accidentally thinking a service was removed when the user is locked.

Bug: 25945136
Change-Id: I8714121f6236b00821769023c4df7de1c8a99944
2015-12-04 09:36:39 -07:00