150016 Commits

Author SHA1 Message Date
Aravind Akella
e57676baaa Documentation fix for Sensor.getMaxDelay()
Change-Id: Ibec32f098b2036ec1f9795ec8155dac47b5df4fd
2014-09-04 16:24:41 -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
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
649db7f0a5 Merge "Keep LMP from breaking KitKat API" into lmp-dev 2014-09-04 22:56:58 +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
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
Michael Wright
8ab940ab9b Add extra to ASSIST intent to indicate potential input type
This lets Now and other assistance apps know to start up expecting a
specific type of input (e.g.  keyboard).

Bug: 16355810
Change-Id: I158e416ef8310a01cb22b19fd5b6850d2429e266
2014-09-04 14:39:47 -07:00
Wei Liu
636f3eac6d Add clear_top flag to settings action intent.
Bug: 17200185

Change-Id: I156a8726055452b56d8ccd52010cdea8baaa79c3
2014-09-04 21:33:20 +00:00
Tom Taylor
3f70141ed0 Merge "Add mcc/mnc to SubInfoRecord" into lmp-dev 2014-09-04 21:22:45 +00:00
Robert Greenwalt
d35d826fb5 Merge "Catch creation of NetworkRequest without NetCap" into lmp-dev 2014-09-04 21:08:11 +00:00
RoboErik
92e565f715 rename SERVICE_ACTION to SERVICE_INTERFACE
For API consistency this intent is suppose to be named SERVICE_INTERFACE.

bug:17390782
Change-Id: I4c3b1d8476dd6c939792f73615e92d7bfa6d5758
2014-09-04 14:06:34 -07: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
Amith Yamasani
43789f5614 Fix crash if package setting is not populated yet
Bug: 17388687
Change-Id: I441ec37396a3b725a79b933a182c63fbe52d5646
2014-09-04 14:00:49 -07:00
David Christie
e7baf5afc0 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 2014-09-04 20:53:39 +00:00
David Christie
c20b795cf0 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 20:53:21 +00:00
RoboErik
a4b9a191a8 Merge "Ensure there's a valid handler when registering a sessions listener" into lmp-dev 2014-09-04 20:52:56 +00:00
Eric Laurent
b6efa23adc Merge "AudioManager: only use main looper for AudioPort event handler" into lmp-dev 2014-09-04 20:47:44 +00:00
Alan Viverette
3b256c850c Merge "Fix AM/PM text i18n and clean up keyboard support in time picker" into lmp-dev 2014-09-04 20:45:12 +00:00
Alan Viverette
c65e9a480a Merge "Fix clip rect when drawing accessibility focus rect" into lmp-dev 2014-09-04 20:44:38 +00:00
Craig Mautner
127343cb46 Merge "Eliminate deadlock by deferring wipe data call" into lmp-dev 2014-09-04 20:41:39 +00:00
Raph Levien
37d611198f Merge "Fix Layout.isRtlCharAt" into lmp-dev 2014-09-04 20:40:45 +00:00
Alan Viverette
680e425596 Merge "Clear ripple animations on cancel/end" into lmp-dev 2014-09-04 20:40:06 +00:00
Prabhakar Thirumoorthy
785040f483 Merge "Add a missing dependency on a shared JNI library" into lmp-dev 2014-09-04 20:38:09 +00:00
Adam Lesinski
430f5680b6 Merge "Add Configuration changes to UsageStats" into lmp-dev 2014-09-04 20:35:51 +00:00
Jing Zhao
078dede1de AT&T short dialing code
User should be able to dial 0 or 00 in AT&T network.
The code should not be taken as MMI Code.

Bug: 17314389
Change-Id: I2f4187ddcbad6d78ee8d8c1881648b96a9da76dd
2014-09-04 20:21:04 +00:00
Alan Viverette
d2b3e034d1 Don't switch to touch exploring state on pointer up
BUG: 17388688
Change-Id: I146aa2290acf0a587eaccafa5a208ee1cbd84aa5
2014-09-04 13:18:44 -07:00
Alan Viverette
eb3ca22426 Fix clip rect when drawing accessibility focus rect
BUG: 17320910
Change-Id: I4112c2c9c10187d4b085c7eb96112fab090612ce
2014-09-04 13:09:34 -07:00
Xia Ying
8a97320391 Add gid to configure no_ems_support_sim_operators
Since several carriers used same mccmnc, we need to
add gid to distinguish them.

Change-Id: I5e3ca0b09cc0879ef3a62a42b6c4cb07d6cd8f7c
2014-09-04 12:59:42 -07:00
Craig Mautner
66eb521833 Eliminate deadlock by deferring wipe data call
The call to RecoverySystem.rebootWipeUserData() was made while
holding the lock to DevicePolicyManagerService. But it blocks
waiting for system_process' main thread to receive the ordered
broadcast complete callback. It won't receive that callback
because Keyguard is running on the main thread and is concurrently
blocked on DevicePolicyManagerService.

By moving the call to rebootWipeUserData() out of the synchronized
block the deadlock is eliminated.

Fixes bug 16870054.

Change-Id: I3eb587211e5484859cc9dab7e80e5a1f6c85225d
2014-09-04 12:56:39 -07:00
Jason Monk
9f30ce3b82 Merge "Proxy fixes from API review feedback" into lmp-dev 2014-09-04 19:52:03 +00:00
Deepanshu Gupta
75c6c90aa8 am 4576f597: am 9bfa0736: am 7119fbb6: am 4df075bc: am 057eb404: (-s ours) am a5176670: am 033a54ec: am c33fc8de: (-s ours) am 48349ea9: am 66224e25: am 12bbbb2b: am d3328343: am f264080d: am 3ce96efc: am d181ffe6: Merge "Resolve color xml attributes properly. [DO NOT
* commit '4576f597078ade77c38a6432d8ae4edc85446db5':
  Resolve color xml attributes properly. [DO NOT MERGE]
2014-09-04 19:49:26 +00:00
Deepanshu Gupta
df5c2a9627 am 0d5a7d7f: am 8929642c: am 0ff5117f: am 7055778e: am a9f56d5a: (-s ours) am 44db2b3e: am 5d1755e9: am c634383a: (-s ours) am 8bc68f96: am 52ee9b99: am ffd0e8bf: am a6f32d7f: am 64d4ef8c: am 63889480: am 6530cca1: Fix "@null" resource values in LayoutLib. [DO NOT MER
* commit '0d5a7d7f41c0c7bd920fda0e7d4780dc639c90f1':
  Fix "@null" resource values in LayoutLib. [DO NOT MERGE]
2014-09-04 19:49:22 +00:00
Deepanshu Gupta
acf556a29e am b0be9926: (-s ours) am 889ec192: am a7ce1107: am 19fa86cf: am 5384d40e: (-s ours) am b79bb54e: am f4ba8731: am 338e32ba: (-s ours) am 6c1bf6b1: am 2db4037c: am 4f53d92c: Merge "Resolve color xml attributes properly. [DO NOT MERGE]" into jb-mr1.1-dev
* commit 'b0be99261ae96df7c29856eccc571e54247fa3a5':
  Resolve color xml attributes properly. [DO NOT MERGE]
2014-09-04 19:49:17 +00:00
Deepanshu Gupta
407453a57b am 2be81615: (-s ours) am 9f7c594a: am ae6f2595: am 409e42a1: am e19464aa: (-s ours) am 9ee1556d: am 296b120c: am a82db08e: (-s ours) am e73e14fd: am 8ed784e2: am edc8b857: Merge "Fix "@null" resource values in LayoutLib. [DO NOT MERGE]" into jb-mr1.1-dev
* commit '2be81615b2b862ee064d5ed03e8ba44d6168b3ff':
  Fix "@null" resource values in LayoutLib. [DO NOT MERGE]
2014-09-04 19:49:13 +00:00
Jean-Michel Trivi
ba36392557 am 7632ed91: am 525e552e: am 800f3ca4: am 14c8acef: am 5fb35780: am daf113b1: am 5c6248c9: am 1310a1cd: (-s ours) am ec50dfc0: am 20fc473c: am f0336eb8: am 2cb287f9: am 9ea996a3: Do not restore the media button event receiver
* commit '7632ed91d91906504212cb7acc85128c89d6d3c7':
  Do not restore the media button event receiver
2014-09-04 19:49:08 +00:00