3299 Commits

Author SHA1 Message Date
Brian Carlstrom
839849111c Merge "Fix backwards arguments to performDexOpt" into lmp-dev 2014-09-05 07:25:37 +00:00
Brian Carlstrom
d382be9b22 Fix backwards arguments to performDexOpt
Bug: 16696554
Change-Id: I302f8edc8243d3537afd564599cc798708124dbe
2014-09-05 00:07:25 -07:00
Jungshik Jang
71cc3b8e84 Merge "Prevent sending <Feature Abort> for some messages." into lmp-dev 2014-09-05 05:25:37 +00:00
Craig Mautner
46edee0994 Merge "Prevent recursion in resumeTopActivityLocked" into lmp-dev 2014-09-05 00:59:46 +00: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
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
70afe9ee84 Merge "MMS API cleanup (1/4)" into lmp-dev 2014-09-04 23:36:00 +00: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
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
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
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
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
Adam Lesinski
430f5680b6 Merge "Add Configuration changes to UsageStats" into lmp-dev 2014-09-04 20:35:51 +00:00
Adam Lesinski
7f61e96db7 Add Configuration changes to UsageStats
Bug:17354208
Change-Id: I9b2f595e51b656607e30e798926cfb7e25134944
2014-09-04 12:15:32 -07:00
dcashman
977c5bec52 Merge "Add upgrade KeySets check to permission pruning on install." into lmp-dev 2014-09-04 18:39:35 +00:00
Dianne Hackborn
925e2b3352 Fix issue #17175312: Calendar crashed when tapping on the event notification
mActivities can be null.

Change-Id: I9cc1a08d19d2c38a4ebaaf0ed2168cfbeeaf3b51
2014-09-04 11:26:09 -07:00
Michael Wright
18aa9f65fd Merge "Add support for SW_CAMERA_LENS_COVER." into lmp-dev 2014-09-04 18:07:00 +00:00
George Mount
0f6c32af06 Merge ""Back" with translucent window now sets ActivityOptions." into lmp-dev 2014-09-04 18:03:52 +00:00
George Mount
9e18397112 "Back" with translucent window now sets ActivityOptions.
Also made convertToTranslucent set the canvas opacity.

Bug 16215650

Change-Id: Id4325eaed34cda1269d874f239aeb5f6f82c959f
2014-09-04 11:02:29 -07:00
Chris Wren
0fb810a3fa Merge "Honor per-app sensitivity setting." into lmp-dev 2014-09-04 17:42:18 +00:00
Amith Yamasani
dea8e01122 Merge "Allow adb install to work even if unknown sources is disallowed" into lmp-dev 2014-09-04 17:31:32 +00:00
Amith Yamasani
ece305d585 Allow adb install to work even if unknown sources is disallowed
adb installs should continue to work for developer usecases,
but PackageInstaller continues to be blocked for sideloading
via the UI - browser, downloads, etc.

Bug: 13760585
Change-Id: I4f8c1445448584c17e5acf77b399579c2643f333
2014-09-04 09:10:10 -07:00
Chris Wren
3ad4e3a45b Honor per-app sensitivity setting.
Settings are stored by NotificationManagerService in the policy file,
and are communicated to NotificationListeners via a hidden API on the
RankingMap object.

Bug: 16324353
Change-Id: I2d5cf6782273744cbf9b309dec76780cc0a4c39e
2014-09-04 11:49:06 -04:00
Kenny Guy
4c4e796444 Merge "Use context for user when calling notifyAsUser" into lmp-dev 2014-09-04 11:23:53 +00:00
Brian Carlstrom
ebb42e18e8 Ensure that BackgroundDexOptService can still perform dexopt
Bug: 16696554
Change-Id: Id5877618ec9620112fa31dd69016c060bb26b2a7
2014-09-03 16:54:42 -07:00
dcashman
436e264e87 Add upgrade KeySets check to permission pruning on install.
Bug: 16564805
Change-Id: I80393eec3c6e1e861a9ec2ae27fe37027311948d
2014-09-03 16:33:27 -07:00
Christopher Tate
b541f09be3 Merge "Fix crash in KeySet dump" into lmp-dev 2014-09-03 23:33:05 +00:00
Christopher Tate
6441bc7e53 Fix crash in KeySet dump
This was unfortunately DOSing some important parts of the Package
Manager's dumpsys output.

Change-Id: I228f23e8e26820b40a8d8772cd5f5b04ee8317d9
2014-09-03 16:11:31 -07:00
Yuncheol Heo
aa6a67a3e1 Merge "Invoke the callback only when DeviceInfo is available." into lmp-dev 2014-09-03 22:41:43 +00:00
Marco Fucci
8364885a7d Merge "Disconnect TrustAgent when not active." into lmp-dev 2014-09-03 20:39:05 +00:00
Julian Odell
6c25708eb5 Merge "Bug 17262099: MMS API changes (multi-project)." into lmp-dev 2014-09-03 20:20:34 +00:00
Julian Odell
31ef14d4f0 Bug 17262099: MMS API changes (multi-project).
Move MMS api to using content provider rather than byte[] to pass MMS message contents.
Rebased and merged into TOT.

Change-Id: I3509b2774b1cb30a1c8100bb25d283140c963b6b
2014-09-03 13:11:56 -07:00
Brian Carlstrom
e7a2138635 Merge "Restrict lazy dexopt to eng builds only" into lmp-dev 2014-09-03 20:02:42 +00:00
Marco Fucci
4e68f11672 Disconnect TrustAgent when not active.
Bug: 17191952
Change-Id: I470261f659a573400b2eb1421eeb953c87e58b66
2014-09-03 12:24:22 -07:00
Paul Jensen
1f0ce33821 Merge "Use alarm rather than delayed message to end lingering." into lmp-dev 2014-09-03 19:08:16 +00:00
Brian Carlstrom
230561eef4 Restrict lazy dexopt to eng builds only
Bug: 16696554
Change-Id: I56bb63ce534842994a70df6b09843b4e3153c845
2014-09-03 11:59:38 -07:00
Matthew Williams
5bdc16974a Merge "Add timeout when waiting to bind to JobService" into lmp-dev 2014-09-03 17:49:07 +00:00
Matthew Williams
75fc5258b7 Add timeout when waiting to bind to JobService
BUG: 17322886

bindService() to an invalid service might never actually result in
onServiceConnected being called , for e.g. if the client service doesn't
actually implement JobService. This wastes an execution slot as we end
up waiting forever.

Also made the javadocs clearer for the JobScheduler class.

Change-Id: Ie15ebbe18c0b7579f2ab77dd46428d354ef632c3
2014-09-03 10:47:27 -07:00
Jason Monk
327f7ebc01 Merge "Add lock task checking to moving tasks to back" into lmp-dev 2014-09-03 17:41:41 +00:00
Craig Mautner
db606d2b28 Merge "Unconditionally move stack to front." into lmp-dev 2014-09-03 17:35:19 +00:00
Jason Monk
a7a61594df Add lock task checking to moving tasks to back
Chrome seems to use this method of moving itself to the back on
back presses, causing it to escape lock task mode.

Bug: 17365048
Change-Id: I2e8bc614f771951ed96cfc36f9789d12b1742e70
2014-09-03 13:17:05 -04:00
Craig Mautner
02a4aa261c Unconditionally move stack to front.
Recents was depending on using moveTaskToFront() to also move the
task's stack to the front. But that only works if the task is
actually in the stack because moveTaskToFront() doesn't do the
stack movement if the task is no longer in the stack. This change
calls ActivityStack.moveToFront() in addition to moveTaskToFront().

Fixes bug 17361027.

Also logs callingUid when starting an activity.

Change-Id: I023f956bafae00f45c58757ff5707ce520f02b55
2014-09-03 10:03:57 -07:00
Jason Monk
cc1f2c08e3 Merge "Enforce permissions on start/stopLockTaskModeOnCurrent" into lmp-dev 2014-09-03 12:59:35 +00:00
Yuncheol Heo
7c5d31ea93 Invoke the callback only when DeviceInfo is available.
- There is possibility that DeviceInfo can be null when unplugging MHL cable,
  if the capability register event is missed. and we should not invoke
  the callback in this case.
- In addition, we'd better use the portId of HdmiMhlLocalDevice directly,
  not one of DeviceInfo.

Bug: 17366541
Change-Id: I40d71e27d82c5f3a4c7aabda32119856c0bde83d
2014-09-03 17:03:42 +09:00
Lorenzo Colitti
e21b564168 Merge "Kill the NetworkInfo(int type) constructor. IT'S A TRAP!" into lmp-dev 2014-09-03 06:27:12 +00:00
Dianne Hackborn
a42c0de977 Add more slow execution logs.
This time *without* mixing in an bunch of unintentional reverts!

Change-Id: Iab4cb9eb6d475d9fe5ebe16e9ea4be24c6f312e8
2014-09-03 01:18:54 +00:00
Dianne Hackborn
39a59eb1af Merge "Revert "And yet more logging for slow execution."" into lmp-dev 2014-09-03 01:09:39 +00:00
Dianne Hackborn
1257e82b94 Revert "And yet more logging for slow execution."
This reverts commit 113390ac113083884b6f498424b3f6afa2df4ebc.

Change-Id: I16fdb08f83ad31c10d943862bae639f622542339
2014-09-03 01:09:21 +00:00