150185 Commits

Author SHA1 Message Date
Adam Powell
a672a7c5ca Merge "Menu callbacks for ToolbarActionBars, part 2" into lmp-dev 2014-09-05 02:40:19 +00:00
Adam Powell
c461250424 Menu callbacks for ToolbarActionBars, part 2
Pass through the menu mode change events and make sure Activities get
prepare/open/close events properly.

Bug 17326424

Change-Id: I0ac2f56e4d0054ef01720b2ff1c41ded053750c7
2014-09-04 19:16:39 -07:00
Svetoslav
0c06286c83 am 395392ce: Merge "Handle user changes off the main thread." into lmp-dev
* commit '395392ce80b776952f1d4bcc78882645ab3b24a7':
  Handle user changes off the main thread.
2014-09-05 02:15:55 +00:00
Svetoslav
a88e8926ab Merge "Handle user changes off the main thread." into lmp-dev 2014-09-05 02:02:47 +00:00
Svetoslav
c82768ff4b Handle user changes off the main thread.
The remote print spooler can only be accessed off the main thread
by design as calls into it may block for a short amoun of time since
the frist call into the spooler may have to wait for the system to
bind to the spooler service. A recent change introduced a regression
where the user state changes are now dispatched on the main thread.
This change schedules the user change handling to a background handler
thread.

bug:17396682

Change-Id: I059be8f31ba41122cb2967d8afadd19e6b5a08e5
2014-09-04 18:57:05 -07:00
Craig Mautner
885c935606 am d5bb6256: Merge "Update API per council request" into lmp-dev
* commit 'd5bb62566b987c2266fbf527fda1b1f71912860e':
  Update API per council request
2014-09-05 01:40:24 +00:00
Craig Mautner
f634c08b57 Merge "Update API per council request" into lmp-dev 2014-09-05 01:33:31 +00:00
John Reck
adbc6e29a5 am 5347ddea: Merge "Yet more layer tracking logging" into lmp-dev
* commit '5347ddea2180e6d4e1247e588a91e0ac60426525':
  Yet more layer tracking logging
2014-09-05 01:27:07 +00:00
Craig Mautner
f7dcc9e384 am 4075b321: Merge "Prevent recursion in resumeTopActivityLocked" into lmp-dev
* commit '4075b321a0aa823600ebf269425e63a929457c3e':
  Prevent recursion in resumeTopActivityLocked
2014-09-05 01:12:44 +00:00
Alan Viverette
87e1b36777 am 610e985f: Merge "Don\'t switch to touch exploring state on pointer up" into lmp-dev
* commit '610e985faec477bde6db324c5e91d4c5017c6614':
  Don't switch to touch exploring state on pointer up
2014-09-05 01:12:40 +00:00
John Reck
6dad93eff6 Merge "Yet more layer tracking logging" into lmp-dev 2014-09-05 01:06:08 +00:00
Craig Mautner
46edee0994 Merge "Prevent recursion in resumeTopActivityLocked" into lmp-dev 2014-09-05 00:59:46 +00:00
Alan Viverette
15aebbbe53 Merge "Don't switch to touch exploring state on pointer up" into lmp-dev 2014-09-05 00:54:42 +00:00
John Reck
443a714fa7 Yet more layer tracking logging
Bug: 17208461

Change-Id: I55e7d0921eb565867e966d68b798b7b92c391b55
2014-09-04 17:40:05 -07:00
Craig Mautner
544efa7663 Prevent recursion in resumeTopActivityLocked
The existing recursion in resumeTopActivityLocked() finally caused
a problem by attempting to pause the same activity twice. By
preventing the recursion with this change we no longer face that
problem.

Fixes bug 17260463.

Change-Id: I0954614fc1a7dc0eeeef9335c1b973a42a7fc345
2014-09-04 17:37:15 -07:00
Adam Powell
70cb95fcbf am 2e9f1521: Merge "Dispatch more menu events to window callbacks from ToolbarActionBar" into lmp-dev
* commit '2e9f15211891b474475afb7c9952b6041680a580':
  Dispatch more menu events to window callbacks from ToolbarActionBar
2014-09-05 00:29:25 +00:00
Adam Powell
f8b6a3868c am 5a01e292: Merge "Material EdgeEffect refinements" into lmp-dev
* commit '5a01e292ff706f8b9e454dd512f1bbd48dfbea16':
  Material EdgeEffect refinements
2014-09-05 00:29:21 +00:00
Yorke Lee
d500584234 am 52cd366d: Merge "ContactsContract API changes per API review" into lmp-dev
* commit '52cd366d9d094af6b8c3b4e91e54d00a88f50cb8':
  ContactsContract API changes per API review
2014-09-05 00:29:17 +00:00
Adam Powell
e50a26f3d8 Merge "Dispatch more menu events to window callbacks from ToolbarActionBar" into lmp-dev 2014-09-05 00:26:30 +00:00
Adam Powell
1e7b18188c Merge "Material EdgeEffect refinements" into lmp-dev 2014-09-05 00:24:58 +00:00
Yorke Lee
2c404b1e5d Merge "ContactsContract API changes per API review" into lmp-dev 2014-09-05 00:20:07 +00:00
Wink Saville
905bb54108 More cleanup prior to unhiding
Adding comments and rename publci SubInfoRecord instance variables

Change-Id: I25a56d779c63a3f483d7a43c5c123404bf489fa3
2014-09-04 17:10:23 -07:00
Adam Powell
710c456ddb Material EdgeEffect refinements
Add back auto-recede for EdgeEffect, but with a longer delay. Removing
it caused compatibility issues in existing custom views that never
call onRelease. The longer delay will be a signal that something is
amiss without disrupting the UX too badly.

Recede the glow more quickly on release.

Start translucent and fade to more opaque as the glow grows and is
pulled further. Make the opacity stronger in the extreme cases so the
glow is more prominent.

Equalize glow size across the width and height.

Bug 15146438
Bug 15936708

Change-Id: I020d705906e6225b044d0f5303bafa733a679a66
2014-09-04 17:03:43 -07:00
Jungshik Jang
3d6d6688c2 am d427ee65: Merge "CEC: Revamp volume control action." into lmp-dev
* commit 'd427ee6517486be598621d6911ede5254e3f3f91':
  CEC: Revamp volume control action.
2014-09-04 23:57:25 +00:00
Yorke Lee
78814623e0 ContactsContract API changes per API review
Bug: 17390425
Change-Id: Ia88fb0235a56becc3ec5a770067856311769a68c
2014-09-04 16:51:53 -07:00
Jungshik Jang
4480efa05a Prevent sending <Feature Abort> for some messages.
This change fixes the following cases.
- <Report Power Status>(0x90)
-  When TV receives <Report Power Status> as a reply of <Give Device Power Status>, TV does not send <Feature Abort>. But if a device sends <Report Power Status> actively, TV sends <Feature Abort>.
-  <Set System Audio Mode>(0x72)
-  <System Audio Mode Status>(0x7E) Directly address message is also defined.
-  <Record Status>(0x0A) (We will support One-touch record function at least in Japan)
-  <Timer Status>(0x35) (We will support Timer programming function at least in Japan)
-  No response for <Record TV Screen>(0x0F)

Bug: 17382769
Change-Id: I8ae355337757710d54b788edfdf37293f96cfa97
2014-09-05 08:50:02 +09:00
Jungshik Jang
f4df7656b9 Merge "CEC: Revamp volume control action." into lmp-dev 2014-09-04 23:47:03 +00:00
Ye Wen
fbce7b598a am 3442921f: Merge "MMS API cleanup (1/4)" into lmp-dev
* commit '3442921f2cbf42147df917618854b85f0a1f7a75':
  MMS API cleanup (1/4)
2014-09-04 23:45:36 +00:00
Nick Kralevich
bcf810a515 am 395a78c3: Merge "AppWidgetServiceImpl: Use enforceCallingOrSelfPermission for checking DUMP" into lmp-dev
* commit '395a78c341f26eb6e7696f8d5892caff9c41df8a':
  AppWidgetServiceImpl: Use enforceCallingOrSelfPermission for checking DUMP
2014-09-04 23:45:32 +00:00
Andrew Lee
00a37404b8 am 1cc96754: Merge "Tweak methods for get/set DefaultOutgoing phone account." into lmp-dev
* commit '1cc96754140f8298898adaf498db9c086cc08df8':
  Tweak methods for get/set DefaultOutgoing phone account.
2014-09-04 23:45:28 +00:00
Ye Wen
70afe9ee84 Merge "MMS API cleanup (1/4)" into lmp-dev 2014-09-04 23:36:00 +00:00
Nick Kralevich
9ce72731f2 Merge "AppWidgetServiceImpl: Use enforceCallingOrSelfPermission for checking DUMP" into lmp-dev 2014-09-04 23:36:00 +00:00
Andrew Lee
8d223eb3f9 Merge "Tweak methods for get/set DefaultOutgoing phone account." into lmp-dev 2014-09-04 23:34:41 +00:00
George Mount
c6186bffe4 Fix selection of epicenter in Activity Transitions.
Bug 17393451

Change-Id: Ibbcdc104ef3193fe8ce11fa27799801ea7e73986
2014-09-04 16:33:59 -07:00
Jungshik Jang
2e8f1b6399 CEC: Revamp volume control action.
Here is a list of changes
1. Change volume control into event base not level base
2. Hide volume ui if volume change is triggered by CEC
3. Report volume change triggered by CEC in OSD message
4. Revamp HdmiLogger so that normal class uses static method only.
5. Apply format message to HdmiLogger's helper methods.

Bug: 17367215

Change-Id: I9f3cd41f7c66f76919059b463df956ed5176b054
2014-09-05 08:30:19 +09:00
Adam Powell
04c0d46078 Dispatch more menu events to window callbacks from ToolbarActionBar
Wire through the callbacks that result in onPrepareOptionsMenu being
called properly when an activity overflow menu is opened.

Bug 17326424

Change-Id: Ifc5b67af0d215f210bb00326f82f60ba55a36d52
2014-09-04 16:25:26 -07:00
George Mount
6e7fb60b93 Fix NPE when Window disappears during a transition.
Bug 17343866

Change-Id: I421a28e833ecb78cd542f3f6a728ac87b65ef832
2014-09-04 16:20:20 -07:00
Raph Levien
d592c861a0 am 43012fec: Merge "Up/down arrow moves to beginning/end of buffer" into lmp-dev
* commit '43012fecc4871a2994bf9fb8d0a23710368e4327':
  Up/down arrow moves to beginning/end of buffer
2014-09-04 23:18:19 +00:00
Dianne Hackborn
8e132e0f4f am c5e138f7: Merge "Fix issue #17375172... sshhhhhh!!!" into lmp-dev
* commit 'c5e138f774ca46cf2f2fb58a040c2f91685d00cf':
  Fix issue #17375172...   sshhhhhh!!!
2014-09-04 23:18:15 +00:00
Raph Levien
26573425da Merge "Up/down arrow moves to beginning/end of buffer" into lmp-dev 2014-09-04 23:08:58 +00:00
Dianne Hackborn
edfc6af590 Merge "Fix issue #17375172... sshhhhhh!!!" into lmp-dev 2014-09-04 23:08:24 +00:00
Tom O'Neill
de40d8e57f am b1a1f355: Merge "Keep LMP from breaking KitKat API" into lmp-dev
* commit 'b1a1f35522ac14076d79942ccb673ef2d2b4061a':
  Keep LMP from breaking KitKat API
2014-09-04 23:05:58 +00:00
Tom O'Neill
649db7f0a5 Merge "Keep LMP from breaking KitKat API" into lmp-dev 2014-09-04 22:56:58 +00:00
Jeff Sharkey
f4c68d8fae am 04324ae4: Merge changes I10ab0b4a,Id32dcbd5 into lmp-dev
* commit '04324ae4f14b1b8bfaa79d3e90535b8080bd517b':
  Catch incompatible API regressions.
  Add blame to API lint, some exemptions.
2014-09-04 22:53:57 +00:00
Jeff Sharkey
39107c9090 am 8fcdda89: Merge "Hold package cleaning until system is ready." into lmp-dev
* commit '8fcdda893bb0113fcf4b839ca1a3f2b075a1be6a':
  Hold package cleaning until system is ready.
2014-09-04 22:53:53 +00:00
Amith Yamasani
218b78a825 am 3971e42e: Merge "Fix crash if package setting is not populated yet" into lmp-dev
* commit '3971e42ebcbc1cd07961f338c657c1392a87f4a5':
  Fix crash if package setting is not populated yet
2014-09-04 22:53:50 +00:00
Jeff Sharkey
8b9c97a4e2 Merge changes I10ab0b4a,Id32dcbd5 into lmp-dev
* changes:
  Catch incompatible API regressions.
  Add blame to API lint, some exemptions.
2014-09-04 22:49:22 +00:00
Jeff Sharkey
fd12f4c9e4 Merge "Hold package cleaning until system is ready." into lmp-dev 2014-09-04 22:49:17 +00:00
Amith Yamasani
7767df3c9c Merge "Fix crash if package setting is not populated yet" into lmp-dev 2014-09-04 22:47:51 +00:00
Jeff Sharkey
037458a5ba Catch incompatible API regressions.
Ignore deprecation, synchronized, and throws definitions.  Look
through full inheritance hierarchy to catch refactored classes like
BaseBundle.

Change-Id: I10ab0b4a0ef64e7508f38d0c223f08711293d643
2014-09-04 15:46:23 -07:00