104239 Commits

Author SHA1 Message Date
Wink Saville
a8489beed5 Allow carrier provisioning to turn toggle radio power.
Previously CarrierProvisioning toggle airplane mode, but now that's
available only by the system.

Bug: 9356811
Change-Id: I5167f8614c07bafb688983a360a008f76403b2b8
2013-06-12 16:24:42 -07:00
Winson Chung
27979946cb Fixing issue where AppWidgetHost.onProvidersChanged() was not being called. (Bug 9270309)
Change-Id: I6cfb8e0c586fad7360a07f98e1280a954f62e5e1
2013-06-12 16:24:33 -07:00
Christopher Tate
0041684255 Need to explicitly disable scan-always when turning off wifi
... when you want wifi to be really most sincerely off, because
settings restore is about to rewrite the conf file.

Bug 9032154

Change-Id: I6a3a34ac3f14ec43aa9d9cc0159fca6168ccd0a2
2013-06-11 17:53:08 -07:00
Jean-Michel Trivi
d61650a0ad Let RemoteControlDisplay know more about playback position
The BT stack needs to differentiate between applications that use
 the new RemoteControlClient APIs to pass a playback position but
 don't have one yet, and applications that use the legacy API and
 will never pass a position.

Bug 9294855

Change-Id: I05cba82a073e6e0aaea1d8bbf9cc8c99da715f58
2013-06-11 17:52:58 -07:00
Marco Nelissen
05e2b6be66 Unhide MediaExtractor.getPsshInfo()
b/9373882

Change-Id: I2af42656d6a7eb19e8e9ec798b615dab0d9d33cb
2013-06-11 17:52:50 -07:00
Baligh Uddin
45bd14ffb2 Import translations. DO NOT MERGE
Change-Id: Iaa894cf0f19b3e153c980a9a48a92beb361124ec
Auto-generated-cl: translation import
2013-06-10 15:19:01 -07:00
Ashish Sharma
89581aef18 Do not allow 0 or smaller periodicity for syncs.
b/9295383

Change-Id: I5f758f4a033d74e42a04b214a6b70b94d394280d
(cherry picked from commit 4970974d74a2986a333e645a5c141ef5f9a753cc)
2013-06-10 15:18:49 -07:00
John Spurlock
e18b34d003 Save Notification large icon to extras.
This piece of semantic info was defined, cleared properly on
lightenPayload, but never saved.

Change-Id: Ib2c5372a57d2a01617e401231c150260d22b05d6
2013-06-10 15:18:36 -07:00
Chris Craik
cc65fbc2da Workaround possible use after delete
bug:9321162
Change-Id: Ic35af5b5925da56e9a143e6b33658831038f3b72
2013-06-10 15:18:19 -07:00
Daniel Sandler
9698fa4c38 Do not block notifications or toasts for SYSTEM_UID or PHONE_UID.
The specific bug is this: SIM PIN unlock attempt toasts are
sent from com.android.settings/.IccLockSettings which runs
as the phone process; NoMan wasn't having any of that and
was blocking the toasts.

With this change we treat SYSTEM_UID and PHONE_UID the same
for all security checks, and furthermore we guarantee that
all notifications and toasts from those UIDs will be
permitted.

Bug: 9098802
Change-Id: Idc788527aa2cb38e015fe92773766a514167999e
2013-06-10 15:18:04 -07:00
Romain Guy
3ad5dfda32 Don't orphan footers with transient state
Bug #8725945

Selecting text in an EditText causes the View to have transient
state. This would in turn cause the View to be removed from its
ListView parent. When removed, the EditText would lose its
AttachInfo, causing all sorts of problems. Headers and footers
must not be removed, only detached. This is the part of the fix
in AbsListView.

Fixing AbsListView triggered a second bug: when a View is removed
from the Window manager, it would keep its parent assigned, thus
making it impossible to add it again to the window manager. When
a ViewRootImpl goes through doDie(), it must set its content view's
parent to null to properly cleanup.

Change-Id: I0489daa74f8f7fcf85526f0928f8925ec30d4f42
2013-06-10 15:17:48 -07:00
Jeff Sharkey
9e87efbb00 Avoid logging sensitive data.
When building commands to send across NativeDaemonConnector, scrub
sensitive arguments to prevent them from being logged.

Bug: 8609800
Change-Id: I84b16791749264a010f7e59f9918f68d71bac6b9
2013-06-10 15:17:32 -07:00
Dianne Hackborn
d270028c10 Maybe fix issue #9296868: Crash in system process
There were some paths in LocationManagerService where
mRecivers was being accessed/modified without the lock held.
Update method names to indicate they need to be called with
lock held to make it more clear in the future when such a
problem may happen.

Change-Id: Ie2a9d019155ac7cedd1db298caca75b8fe382ca7
2013-06-05 15:39:13 -07:00
Jeff Brown
5087b7f27c Fix regression in long-press home behavior on tablets.
Some config.xml resources have values that vary based on the
configuration.  A previous change caused initialization to
occur at a time when the configuration is was not yet available.
This change fixes the problem.

Bug: 8891502
Change-Id: Ia768dc2308cc6ae5f11812c6bce6a6e116cfd759
2013-06-05 15:39:07 -07:00
Baligh Uddin
3f77c59688 Import translations. DO NOT MERGE
Change-Id: I9a9d3071332508b3efbb0bed4eeb435cdc5ba3d9
Auto-generated-cl: translation import
2013-06-05 15:39:00 -07:00
Jeff Sharkey
85eae9c1aa Create missing Uids when recording network stats.
Bug: 5543387
Change-Id: I138c8d2f84e6fd737f2f6ef0945e75ca31256e3d
2013-06-05 15:38:53 -07:00
Baligh Uddin
c81085a320 Import translations. DO NOT MERGE
Change-Id: I455b359698e9bf43d7065374241783fa1f06faca
Auto-generated-cl: translation import
2013-06-04 12:03:53 -07:00
Robert Greenwalt
b0a88e5716 Apply scan-always setting to initial wifi state.
Otherwise there's nothing to kick us into scanable modes unless
the user toggles wifi.

bug:9217455
Change-Id: I6460305e3f299646433546598412f817579cc805
2013-06-03 15:03:36 -07:00
The Android Automerger
9c7ee73d9c merge in jb-mr2-release history after reset to jb-mr2-dev 2013-06-03 05:55:11 -07:00
The Android Automerger
327f639336 merge in jb-mr2-release history after reset to jb-mr2-dev 2013-06-02 05:55:28 -07:00
Robert Greenwalt
0161d229fd Merge "Remember wifi country that's set before boot" into jb-mr2-dev 2013-06-01 15:57:12 +00:00
Dirk Dougherty
8ebfb8c9c3 am fdc0c861: am b18c7254: am a404a629: am 6fe992d8: am 4fad5c17: Merge "Doc change: restore warning not to abort NEW_OUTGOING_CALL." into jb-mr1.1-docs
* commit 'fdc0c8618b4e51c322f747202ff94508124e7c9c':
  Doc change: restore warning not to abort NEW_OUTGOING_CALL.
2013-06-01 08:32:11 -07:00
Dirk Dougherty
fdc0c8618b am b18c7254: am a404a629: am 6fe992d8: am 4fad5c17: Merge "Doc change: restore warning not to abort NEW_OUTGOING_CALL." into jb-mr1.1-docs
* commit 'b18c725442e498a6447de37c3b9428b09837eda9':
  Doc change: restore warning not to abort NEW_OUTGOING_CALL.
2013-06-01 08:28:48 -07:00
Dirk Dougherty
b18c725442 am a404a629: am 6fe992d8: am 4fad5c17: Merge "Doc change: restore warning not to abort NEW_OUTGOING_CALL." into jb-mr1.1-docs
* commit 'a404a62951ad8a2d657a587feb12780e725296e3':
  Doc change: restore warning not to abort NEW_OUTGOING_CALL.
2013-06-01 08:26:32 -07:00
Dirk Dougherty
a404a62951 am 6fe992d8: am 4fad5c17: Merge "Doc change: restore warning not to abort NEW_OUTGOING_CALL." into jb-mr1.1-docs
* commit '6fe992d88abc1c8c75ede638e6b0d52cd06f098f':
  Doc change: restore warning not to abort NEW_OUTGOING_CALL.
2013-06-01 08:24:12 -07:00
Dirk Dougherty
6fe992d88a am 4fad5c17: Merge "Doc change: restore warning not to abort NEW_OUTGOING_CALL." into jb-mr1.1-docs
* commit '4fad5c176a245203c1f8d26397ef6cc838753357':
  Doc change: restore warning not to abort NEW_OUTGOING_CALL.
2013-06-01 08:21:25 -07:00
Robert Greenwalt
304aad49cd Remember wifi country that's set before boot
Telehony seems to sometimes be reporting the country before boot
is completed so can't persist the data at that time.  Remember
and write it on BOOT_COMPLETED

Also, there are permission issues around writing the setting.

bug:9225156
Change-Id: Ifdf2243da71b0d2ce5743267842597937d790ef5
2013-05-31 21:10:15 -07:00
Jason Sams
413adc9260 Merge "Fix free after use with createFromBitmapResource" into jb-mr2-dev 2013-06-01 00:54:17 +00:00
Baligh Uddin
51e01f9ec0 Merge "Import translations. DO NOT MERGE" into jb-mr2-dev 2013-05-31 22:30:30 +00:00
Jim Miller
00d4c94625 Merge "Fix keyguard issue where an incoming SMS would switch widget" into jb-mr2-dev 2013-05-31 21:41:34 +00:00
Dirk Dougherty
4fad5c176a Merge "Doc change: restore warning not to abort NEW_OUTGOING_CALL." into jb-mr1.1-docs 2013-05-31 21:08:45 +00:00
Jason Sams
3ece2f3268 Fix free after use with createFromBitmapResource
Bug 9227350

Change-Id: Iee7610a9bf3d9d1baf14b968aed2a7d0876d2af7
2013-05-31 14:01:04 -07:00
kmccormick
0dc7891ccb am 7356dde4: am a75fb065: am c02821ef: am eca01252: am 3886fad5: Merge "Doc Update: fix host title in main doc." into jb-mr1.1-docs
* commit '7356dde40439e2c787d28ed05aff4ff81d8a2d39':
  Doc Update: fix host title in main doc.
2013-05-31 13:38:15 -07:00
kmccormick
7356dde404 am a75fb065: am c02821ef: am eca01252: am 3886fad5: Merge "Doc Update: fix host title in main doc." into jb-mr1.1-docs
* commit 'a75fb065aff42ff7671a5b418229294f43da5cf3':
  Doc Update: fix host title in main doc.
2013-05-31 13:36:43 -07:00
kmccormick
a75fb065af am c02821ef: am eca01252: am 3886fad5: Merge "Doc Update: fix host title in main doc." into jb-mr1.1-docs
* commit 'c02821efde98a62fe9bbfd718847a8c3bd90eea2':
  Doc Update: fix host title in main doc.
2013-05-31 13:34:09 -07:00
kmccormick
c02821efde am eca01252: am 3886fad5: Merge "Doc Update: fix host title in main doc." into jb-mr1.1-docs
* commit 'eca0125267d453ab60631317a44abe869eb660fe':
  Doc Update: fix host title in main doc.
2013-05-31 13:32:52 -07:00
kmccormick
eca0125267 am 3886fad5: Merge "Doc Update: fix host title in main doc." into jb-mr1.1-docs
* commit '3886fad5d1c50dd14b11185104401887bc129c7f':
  Doc Update: fix host title in main doc.
2013-05-31 13:31:23 -07:00
kmccormick
3886fad5d1 Merge "Doc Update: fix host title in main doc." into jb-mr1.1-docs 2013-05-31 20:28:57 +00:00
kmccormick
20ec5c5b13 Doc Update: fix host title in main doc.
Change-Id: Ide683eb651ea7b485dae6c4d348b19a8d988187b
2013-05-31 12:28:05 -07:00
ztenghui
4f0002e6de Merge "MediaMuxer sample code update, no functional change" into jb-mr2-dev 2013-05-31 18:05:43 +00:00
Scott Main
b5a9e73154 am 75e12713: am c1032cca: am ca9948ae: revise migrating to Studio procedure
* commit '75e12713108954237991960a9e4b0482063bc09c':
  revise migrating to Studio procedure
2013-05-31 11:00:26 -07:00
Scott Main
75e1271310 am c1032cca: am ca9948ae: revise migrating to Studio procedure
* commit 'c1032ccae3511de06cf76a700627c41f0b71209e':
  revise migrating to Studio procedure
2013-05-31 10:58:33 -07:00
Scott Main
c1032ccae3 am ca9948ae: revise migrating to Studio procedure
* commit 'ca9948ae33e4ffdc057cc8f2b1efef9c38625436':
  revise migrating to Studio procedure
2013-05-31 10:57:24 -07:00
ztenghui
34a5b011cd MediaMuxer sample code update, no functional change
bug:9213533

Change-Id: I0d42ec58576d9fd797dba9c9c9f5ebed1170a818
2013-05-31 10:50:08 -07:00
Scott Main
ca9948ae33 revise migrating to Studio procedure
Change-Id: Ic8d2498414ccdbe45b7ce349ecb84925e9830ee9
2013-05-31 10:42:35 -07:00
Joe Malin
dd51bc3f5b am 13c305e9: am 09bc2f2d: am 7d469061: am 62ba3609: am 59e24472: Merge "Fix #8499531: Command line instructions" into jb-mr1.1-docs
* commit '13c305e944610d4b15f22908fed887f6fdbb42fa':
  Fix #8499531: Command line instructions
2013-05-31 09:08:29 -07:00
Joe Malin
13c305e944 am 09bc2f2d: am 7d469061: am 62ba3609: am 59e24472: Merge "Fix #8499531: Command line instructions" into jb-mr1.1-docs
* commit '09bc2f2d6449259bbd4820ec33ea7837996612ed':
  Fix #8499531: Command line instructions
2013-05-31 09:06:39 -07:00
Joe Malin
09bc2f2d64 am 7d469061: am 62ba3609: am 59e24472: Merge "Fix #8499531: Command line instructions" into jb-mr1.1-docs
* commit '7d469061ef7cec751fda3e9d13460d2465395d45':
  Fix #8499531: Command line instructions
2013-05-31 09:04:23 -07:00
Joe Malin
7d469061ef am 62ba3609: am 59e24472: Merge "Fix #8499531: Command line instructions" into jb-mr1.1-docs
* commit '62ba36096fa14bdc148bbfc85849a7bed44a1b82':
  Fix #8499531: Command line instructions
2013-05-31 09:03:15 -07:00
Joe Malin
62ba36096f am 59e24472: Merge "Fix #8499531: Command line instructions" into jb-mr1.1-docs
* commit '59e24472f3fb4f3dc5d1acee40efd6b8b4d66bd7':
  Fix #8499531: Command line instructions
2013-05-31 09:02:06 -07:00