113551 Commits

Author SHA1 Message Date
Svetoslav
6f71ed5b58 Merge "Sometimes the print button not enabled and an accessibility fix." into klp-dev 2013-10-10 17:11:21 +00:00
Svetoslav Ganov
0ea16e9e76 Merge "Coalescing multiple print job notifications." into klp-dev 2013-10-10 17:10:59 +00:00
John Spurlock
57beb3b5b3 IME navigation guard implemented as a View.
Instead of a custom onDraw in order to stay 100% in sync with abrupt
layout changes.

Also use the unrestricted layout bottom to avoid unnecessary
fitSystemWindows churn.

Bug:11162351
Change-Id: If9bb9a52d503e348d642bf1238f75c4a418ad805
2013-10-10 12:54:05 -04:00
Jeff Sharkey
2ffa50df6f Guard against NPE when using existing process.
Bug: 11167561
Change-Id: I51ca7daa71504119fb64bc7bc2b7da4e03b13861
2013-10-10 09:52:48 -07:00
Chet Haase
5bcd5e8a97 am 94ba8976: Merge "NotificationPanel now shows correct date" into klp-dev
* commit '94ba89763e2bd660662fbcf293968d3e8423ef68':
  NotificationPanel now shows correct date
2013-10-10 09:29:44 -07:00
Chet Haase
94ba89763e Merge "NotificationPanel now shows correct date" into klp-dev 2013-10-10 16:25:56 +00:00
Yuhao Zheng
623dddc9ec am 3309bc5f: Merge "WifiStateMachine: fix for exiting L2ConnectedState" into klp-dev
* commit '3309bc5f249d971a19c3db376dd94e28819fded3':
  WifiStateMachine: fix for exiting L2ConnectedState
2013-10-10 09:21:51 -07:00
Yuhao Zheng
3309bc5f24 Merge "WifiStateMachine: fix for exiting L2ConnectedState" into klp-dev 2013-10-10 16:18:59 +00:00
Chet Haase
9f5664b876 NotificationPanel now shows correct date
There was a problem with a cached instance of a Date object such that it
would retain information about the default TimeZone that was not updated
when the TimeZone was set to the correct value. This resulted in NotificationPanel
sometimes showing the wrong date, based on the time and the delta between
the local timezone and GMT.

The fix is to use an ACTION_TIMEZONE_CHANGED broadcast to recreate the cached
Date object appropriately.

Issue #10854196 Incorrect date showing in notification shade

Change-Id: Ibf883e1ff37f4d0aae6840fb19e43e7e9e45bcc2
2013-10-10 09:10:55 -07:00
Svetoslav Ganov
4ba9254824 Adding missing resourcs for the defaul PDF printer media sizes.
Some regions have different media size standards and the fake PDF
printer shows the media sizes for the current locale. Interestingly,
these files were skipped in my previous change while I remember
adding them - maybe did not upload the patch.

bug:11147920

Change-Id: I819ab08fbef08305be89e3acf297328b1a0ded11
2013-10-10 00:52:42 -07:00
Svetoslav
ebec46847d Sometimes the print button not enabled and an accessibility fix.
1. Sometimes the print button is not enabled after selecting a printer
   from the all printers activity. This was happening after a printer
   was selected, we had to do a layout due to changed print attributes
   (because of the new printer's capabilities), and the content did not
   change. In this case we did not call the updateUi function which
   enables the print button after layout is completed.

2. The accessibility code in the all printers activity was not checking
   whether accessibility is on and doing some unnecessary work - not sending
   events though but still. Further, the delayed runnable that was
   doing the accessibilty announcements was not removed when the activity
   was paused.

bug:10983508

Change-Id: Ib263116a3e21e4c75a25aa051cecbd9194417319
2013-10-10 07:33:02 +00:00
Svetoslav Ganov
a18661d592 Coalescing multiple print job notifications.
1. We used to show a single notificaiton for every print job but
   this is against th UX guidelines. Since we have to lead by
   example, this change adds coalescing of multiple notifications.

bug:11155212

2. Print job state callback in the PrintManager now correctly
   invoked on the main thread.

bug:10983508

Change-Id: I906e9e62198fa37cb4d2f71fce07ed475d61e1bd
2013-10-09 23:43:11 -07:00
Brian Carlstrom
492b527183 am 5bd70c5e: Merge "Update preloaded-classes for KLP" into klp-dev
* commit '5bd70c5eb3ccb5d1eed3f1f7e924a4fb96b0a053':
  Update preloaded-classes for KLP
2013-10-09 22:21:15 -07:00
Brian Carlstrom
5bd70c5eb3 Merge "Update preloaded-classes for KLP" into klp-dev 2013-10-10 05:19:13 +00:00
Michael Jurka
f6a2133fae am 5f0a6009: Merge "Add API to get the built-in wallpaper" into klp-dev
* commit '5f0a600925fe6724f65b4c51ae01e4e3e29d771d':
  Add API to get the built-in wallpaper
2013-10-09 21:07:55 -07:00
Brian Carlstrom
d6b964c16b Update preloaded-classes for KLP
Bug: 9189353
Change-Id: I9136692d7f23a513553981eca398351f28b5ddc6
2013-10-09 20:45:30 -07:00
Michael Jurka
5f0a600925 Merge "Add API to get the built-in wallpaper" into klp-dev 2013-10-10 01:17:38 +00:00
Dianne Hackborn
8029493fa2 am f012b777: Merge "Fix some doc issues." into klp-dev
* commit 'f012b777912c4be6f12dc788db5fb2fac8fb5cc0':
  Fix some doc issues.
2013-10-09 17:49:50 -07:00
Dianne Hackborn
f012b77791 Merge "Fix some doc issues." into klp-dev 2013-10-10 00:48:00 +00:00
Alan Viverette
b8a140f3e0 am 1e2b6438: Merge "Fix accessibility state callbacks" into klp-dev
* commit '1e2b64386f5d53415d547e06cc3c9040d8d506da':
  Fix accessibility state callbacks
2013-10-09 17:41:55 -07:00
Alan Viverette
1e2b64386f Merge "Fix accessibility state callbacks" into klp-dev 2013-10-10 00:40:05 +00:00
Dianne Hackborn
ebc15ef80f Fix some doc issues.
Bug: 11079621
Bug: 10461610
Bug: 10461369
Bug: 10461417
Change-Id: I7fd966f3cda0660ba20fa15d7164dcac95efadd3
2013-10-09 17:36:57 -07:00
Craig Mautner
0daa9b92e0 am 4ca2aec2: Merge "Add task to list before looking it up." into klp-dev
* commit '4ca2aec2be70026a2f8feee258405647985dc389':
  Add task to list before looking it up.
2013-10-09 17:22:36 -07:00
Alan Viverette
7e361d22e3 Fix accessibility state callbacks
BUG: 11141708
Change-Id: Ieff1fb90c4f894eba3c203089dd61e1dabdb7982
2013-10-09 17:20:43 -07:00
Craig Mautner
4ca2aec2be Merge "Add task to list before looking it up." into klp-dev 2013-10-10 00:20:08 +00:00
Alan Viverette
3d1c5a7236 Ensure accessibility node cache is synced with service state
BUG: 11152210
Change-Id: Ibffd2909b6b06568de9344e536a200d8a7abac9d
2013-10-09 17:10:21 -07:00
Robert Greenwalt
f008ca333a am f681058f: Merge "Narrow previous fix for this issue." into klp-dev
* commit 'f681058f2dc08ebfbde93f30b160d5d53f104c99':
  Narrow previous fix for this issue.
2013-10-09 17:10:14 -07:00
Robert Greenwalt
f681058f2d Merge "Narrow previous fix for this issue." into klp-dev 2013-10-10 00:08:00 +00:00
Jim Miller
3f543cd02b am c4d1763e: Merge "Fix touch accessibility in keyguard." into klp-dev
* commit 'c4d1763e68a549d93636e28d67ddeb2eaa315217':
  Fix touch accessibility in keyguard.
2013-10-09 16:54:50 -07:00
Jim Miller
7de6672943 am 12677272: Merge "Have SearchPanel fade camera and search buttons when activated" into klp-dev
* commit '1267727241c941af42faf19bfc1e21034112e0da':
  Have SearchPanel fade camera and search buttons when activated
2013-10-09 16:51:20 -07:00
Jim Miller
c4d1763e68 Merge "Fix touch accessibility in keyguard." into klp-dev 2013-10-09 23:50:19 +00:00
Jim Miller
1267727241 Merge "Have SearchPanel fade camera and search buttons when activated" into klp-dev 2013-10-09 23:49:12 +00:00
Craig Mautner
8e79734ba3 Add task to list before looking it up.
Rearranging the order of operations allows a newly added task to be
bumped to the top during window sorting. Also, redundant calls moving
the home task to the bottom when moving an app task to the top are
removed.

Maybe fix 10858941.

Change-Id: Ic42d2e7045175384591644675dd0e8013a7c7528
2013-10-09 16:39:42 -07:00
Robert Greenwalt
8d9167ded3 Narrow previous fix for this issue.
Networks should be unconditionally disabled when going to
scan only state or we risk connecting when we don't want to.

bug:11062188
Change-Id: If89621ca07d86673a661d2e5fe4ce89286f8835e
2013-10-09 16:31:35 -07:00
Yuhao Zheng
11a3bc702b am 709a4278: Merge "Don\'t mark wifi disabled unless it\'s off." into klp-dev
* commit '709a42783bf05b2084e4c953a80f2442291829fd':
  Don't mark wifi disabled unless it's off.
2013-10-09 16:30:22 -07:00
Jim Miller
ad178a43ba Have SearchPanel fade camera and search buttons when activated
Bug 10991981

Change-Id: Iabc497ce992b675bff1df634add755e67a7fb794
2013-10-09 16:29:24 -07:00
Yuhao Zheng
709a42783b Merge "Don't mark wifi disabled unless it's off." into klp-dev 2013-10-09 23:26:50 +00:00
Jonathan Dixon
a8137c0c86 am b1b2789d: Merge "Do not require WebView usage to come from main thread" into klp-dev
* commit 'b1b2789d1c6e18ab5fb45cff564576a4d9b6c423':
  Do not require WebView usage to come from main thread
2013-10-09 16:26:45 -07:00
Joe Malin
9b6ce6994a am ead8478a: am 299d57f7: am a3da7e4e: am 48872ee0: Merge "DOC CHANGE: Android Beam training class" into jb-mr2-docs
* commit 'ead8478a183895671f5f2924bf900d7c4d7a1824':
  DOC CHANGE: Android Beam training class
2013-10-09 16:23:11 -07:00
Jonathan Dixon
b1b2789d1c Merge "Do not require WebView usage to come from main thread" into klp-dev 2013-10-09 23:21:33 +00:00
Joe Malin
ead8478a18 am 299d57f7: am a3da7e4e: am 48872ee0: Merge "DOC CHANGE: Android Beam training class" into jb-mr2-docs
* commit '299d57f7dfeb291460f68a0f702161847467fd1e':
  DOC CHANGE: Android Beam training class
2013-10-09 16:19:41 -07:00
Scott Main
7b8c6c76ad am a473027d: am 483a2c21: am 144f2e58: am 6a831b7d: fix typo in code comment
* commit 'a473027da92ed4059b70224579b218eace083fcb':
  fix typo in code comment
2013-10-09 16:19:24 -07:00
Scott Main
a473027da9 am 483a2c21: am 144f2e58: am 6a831b7d: fix typo in code comment
* commit '483a2c218cdb5d6a8fad0309b70b5e6f4f1703a5':
  fix typo in code comment
2013-10-09 16:16:06 -07:00
Joe Malin
299d57f7df am a3da7e4e: am 48872ee0: Merge "DOC CHANGE: Android Beam training class" into jb-mr2-docs
* commit 'a3da7e4ec0da78a05e91d74ce50f7b6008deb135':
  DOC CHANGE: Android Beam training class
2013-10-09 16:15:31 -07:00
Scott Main
483a2c218c am 144f2e58: am 6a831b7d: fix typo in code comment
* commit '144f2e58830d1deae77675286fb7eafb27e456bd':
  fix typo in code comment
2013-10-09 16:11:49 -07:00
Joe Malin
a3da7e4ec0 am 48872ee0: Merge "DOC CHANGE: Android Beam training class" into jb-mr2-docs
* commit '48872ee0a0a0d2fcfe36fa1116af00f41ccd1e3c':
  DOC CHANGE: Android Beam training class
2013-10-09 16:11:09 -07:00
Jim Miller
7d8abaeb7d Fix touch accessibility in keyguard.
This changes the accessibility code to monitor state changes
and replace the touch listeners with click listeners when
touch exploration is enabled.

It also fixes a bug where the first touch on the camera was being
ignored by ensuring KeyguardTouchDelegate has started the service
by the time the button is touched.

Bug 10991981

Change-Id: I7c4bf01f9bfa10f54cadb0809b6af526c5386af5
2013-10-09 16:10:27 -07:00
Joe Malin
48872ee0a0 Merge "DOC CHANGE: Android Beam training class" into jb-mr2-docs 2013-10-09 23:08:15 +00:00
Scott Main
144f2e5883 am 6a831b7d: fix typo in code comment
* commit '6a831b7d5cd87b5b2c7660c84ed34f8ccc5ae275':
  fix typo in code comment
2013-10-09 16:07:16 -07:00
Christopher Tate
680fac0c66 am d606be25: Merge "Don\'t crash when component enable/disable broadcasts race with uninstall" into klp-dev
* commit 'd606be2562f937584a274eba5b595c5a08e4dbdc':
  Don't crash when component enable/disable broadcasts race with uninstall
2013-10-09 15:21:49 -07:00