150215 Commits

Author SHA1 Message Date
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
Dharmesh Mokani
ae686a5128 Address API review comment:AlwaysOnHotwordDetector
- Methods creating an Intent should be named createFooIntent

Bug: 17389896
Change-Id: Icb9c9f9ca3a41fca09f79ff22b99988a1ded331f
2014-09-04 16:43:17 -07: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
Shishir Agrawal
ed62dd4e7f IccOpenLogicalChannelResponse: Adding final to fa few constants.
Bug: 17390620 
Change-Id: I81d02b5b0d6e353a04d46663baad1b90398f5b36
2014-09-04 23:15:27 +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
Tom O'Neill
17c5e79496 Keep LMP from breaking KitKat API
- Bug: 17390371

Change-Id: I25c1abebcc42ed24abd57bbe2834a40fb8ee834b
2014-09-04 15:42:36 -07:00
Ye Wen
8179c2a6e4 MMS API cleanup (1/4)
- Hide APIs not approved by API council (b/17189780)
- Change configOverrides in MMS APIs from ContentValues to Bundle to be
consistent (b/17390017)
- Change SmsManager.MMS_EXTRA_DATA to EXTRA_MMS_DATA per API council
review (b/17390977)

b/17189780
b/17390017
b/17390977

Change-Id: If5a43e9ab9e42b6328f1581b39051ddf1a58f0dd
2014-09-04 15:41:56 -07:00
Nick Kralevich
75d8c0b8bc AppWidgetServiceImpl: Use enforceCallingOrSelfPermission for checking DUMP
Use enforceCallingOrSelfPermission() for throwing a security exception
rather than creating the security exception ourselves. This has the
advantage that the exception is in a well known format expected by
the CTS test android.security.cts.ServicePermissionsTest#testDumpProtected

Bug: 17165920
Change-Id: I7d3c2d2a0852a490fe1d553cd81d1efc79d2fec3
2014-09-04 15:07:18 -07:00
George Mount
6558056e8f API Review: Change SharedElementListener to SharedElementCallback.
Bug 15863001
Bug 17289526

Changed SharedElementListener to SharedElementCallback
Renamed methods to use "on" prefix.
Adjusted javadoc to reflect usage in Fragments.

Change-Id: I7cc517c269a8e417cb5c3a0948bdd3b654d42472
2014-09-04 15:05:22 -07:00
Dianne Hackborn
61c6366ddd am 10053171: Merge "Fix issue #17175312: Calendar crashed when tapping on the event notification" into lmp-dev
* commit '10053171abe4d09ed0e05cdc68c575a1048593b6':
  Fix issue #17175312: Calendar crashed when tapping on the event notification
2014-09-04 22:03:46 +00:00
Raph Levien
fb0431b525 Up/down arrow moves to beginning/end of buffer
With a hardware keyboard, using up arrow within the top line should
move to the beginning of the buffer, to better match desktop text
editing expectations, and similarly for down arrow on the last line.
This patch implements that behavior.

Bug: 17385784
Change-Id: Ia23c23c9cc2462558bca9aaffec7d83e284d55e8
2014-09-04 15:03:14 -07:00
Craig Mautner
7a629c2d04 Update API per council request
A few protected => public changes and picking up another change
in ViewAnimationUtils that got missed.

Fixes bug 17389511.

Change-Id: I75027535eade6427c2d9067369426297c168e77e
2014-09-04 14:57:04 -07:00
Dianne Hackborn
521e4bd7c5 Fix issue #17375172... sshhhhhh!!!
Change-Id: Idf3eafe829418bfc29e31f893ae6cff249488ffa
2014-09-04 14:50:26 -07:00
Evan Charlton
eb0a8d5621 Add a way to fetch the current connection manager
Apps should have this API so they know if they're the default or not,
so that they can determine whether to send the user to the settings
page in order to enable the app.

Bug: 17383883
Change-Id: I4e75ad94398d7cdc01dbf97bd684c839d897d8e5
2014-09-04 14:41:03 -07:00
Dianne Hackborn
c50e7e8477 Merge "Fix issue #17175312: Calendar crashed when tapping on the event notification" into lmp-dev 2014-09-04 21:40:31 +00:00
Tom Taylor
719126b87c am d1006b0f: Merge "Add mcc/mnc to SubInfoRecord" into lmp-dev
* commit 'd1006b0f0372e068eac20c5c48f825a087577bae':
  Add mcc/mnc to SubInfoRecord
2014-09-04 21:37:18 +00:00
Tom Taylor
3f70141ed0 Merge "Add mcc/mnc to SubInfoRecord" into lmp-dev 2014-09-04 21:22:45 +00:00
Robert Greenwalt
eab1f973a3 am ca6b015f: Merge "Catch creation of NetworkRequest without NetCap" into lmp-dev
* commit 'ca6b015f26c1b8f6d701677961b0b48c21ab7c36':
  Catch creation of NetworkRequest without NetCap
2014-09-04 21:16:25 +00:00
Chris Craik
663c091bfa am b25a4d5f: Merge "Prioritize reveal clipping over Outline clipping" into lmp-dev
* commit 'b25a4d5fbbbbcaefd0c494c410542680db9c7d11':
  Prioritize reveal clipping over Outline clipping
2014-09-04 21:16:22 +00:00
Robert Greenwalt
d35d826fb5 Merge "Catch creation of NetworkRequest without NetCap" into lmp-dev 2014-09-04 21:08:11 +00:00
Chris Craik
2d3f9033f8 Merge "Prioritize reveal clipping over Outline clipping" into lmp-dev 2014-09-04 21:06:10 +00:00
Tom Taylor
7a96207e2b Add mcc/mnc to SubInfoRecord
Bug 17157686

Change-Id: I47d19dea73f038a8d748f95dd33452da62ebf26b
2014-09-04 14:05:20 -07:00
Chris Craik
e83cbd4518 Prioritize reveal clipping over Outline clipping
bug:15780987
bug:17350602

Also update docs around clipping nesting behavior,
and some Z ordering behavior.

Change-Id: Iaa204350a0adfdcbd8c4b821fb4a9c0ae22f2613
2014-09-04 14:05:10 -07:00
David Christie
509e155d76 am 36b0eac4: Merge "Add @SystemApi annotations to methods used by GmsCore. -Currently these methods are called using reflection for location. Bug: 17371392 Change-Id: I6546f5b485415beff69164ba0d526757ee831f69" into lmp-dev
* commit '36b0eac472fdbc45db378646170b891581b53b36':
  Add @SystemApi annotations to methods used by GmsCore. -Currently these methods are called using reflection for location. Bug: 17371392 Change-Id: I6546f5b485415beff69164ba0d526757ee831f69
2014-09-04 21:04:46 +00:00
RoboErik
f2221f40ad am 9c7c737a: Merge "Ensure there\'s a valid handler when registering a sessions listener" into lmp-dev
* commit '9c7c737a603807e727721d00b70a227f60c674e1':
  Ensure there's a valid handler when registering a sessions listener
2014-09-04 21:04:35 +00:00
Eric Laurent
3c38215198 am f225a5c2: Merge "AudioManager: only use main looper for AudioPort event handler" into lmp-dev
* commit 'f225a5c2410eb7a9417f02e65afbe0f92a338a25':
  AudioManager: only use main looper for AudioPort event handler
2014-09-04 21:04:30 +00:00