197740 Commits

Author SHA1 Message Date
Jack Yu
e21722a3da Merge "Allow carriers to force disable ETWS/CMAS test messages." into mnc-dev 2015-07-23 15:51:13 +00:00
Geoff Mendal
13edc1609e Import translations. DO NOT MERGE
Change-Id: If02d6e590724181954e4b3f890f1fd5a132f392d
Auto-generated-cl: translation import
2015-07-23 00:28:45 -07:00
Jack Yu
a4f2da3988 Allow carriers to force disable ETWS/CMAS test messages.
This feature can be enabled in carrier config XML. When enabled, the user will not see
ETWS/CMAS enable/disable option in emergency broadcast preference menu.

bug: 22396039
Change-Id: I6ad6fa39852d3b13faeef968a1963b3e0a4a6e61
2015-07-23 05:21:54 +00:00
Jim Miller
d9b9d41082 Add FEATURE_FINGERPRINT to PackageManager's feature list
Fixes bug 22674557

Change-Id: I3d78e6bedc3ac18a25a06ac50e3a7eee4161fe70
2015-07-22 19:54:15 -07:00
Adrian Roos
a4eba9fc35 Disable Keyguard affordances before setup is completed
Bug: 22665279
Change-Id: I5d3c62a5b6896b808d55026df67022192f0b8bfd
2015-07-22 19:13:19 -07:00
Svet Ganov
7bb48725de Shut down UiAutomationConnection without a lock held
bug:22599759

Change-Id: I90bca614960522269497127658c16b0bb6ec0476
2015-07-22 19:03:29 -07:00
Nick Kralevich
06b93a48ad Merge "Revert "UsbDeviceManager: fix b/21429947 regression"" into mnc-dev 2015-07-23 01:46:38 +00:00
Nick Kralevich
0d767e6f09 Revert "UsbDeviceManager: fix b/21429947 regression"
This causes various problems with our testing infrastructure.

This reverts commit b210026e3d5c955628ca8b8b9191ade08891e9ef.

Bug: 22447614
Bug: 21429947
Change-Id: I57623e3d993e65b6ad89e7a7d28e9575cf638994
2015-07-23 01:45:01 +00:00
Svetoslav Ganov
492fc64831 Merge "Grant record audio to system reco service by default" into mnc-dev 2015-07-23 01:13:24 +00:00
Adam Lesinski
f90ed330a0 Merge "UsageStats: Reduce log spam during time change" into mnc-dev 2015-07-23 01:01:22 +00:00
Dianne Hackborn
4a368659ba Merge "Fix issue #22414729: Checkin start clock time is different from hsitory reset time" into mnc-dev 2015-07-23 00:56:19 +00:00
Adrian Roos
f217064404 Merge "Fix cut off charging indication in certain scripts" into mnc-dev 2015-07-23 00:50:55 +00:00
Adam Lesinski
2dfb91412c UsageStats: Reduce log spam during time change
With lots of usage stats files, the log gets spammy
when the time changes and we are moving files around.

Bug:22549399
Change-Id: I9da39399b090066d52568dea6fc5b59aba063c5a
2015-07-22 17:35:46 -07:00
Svetoslav
c6ab8b9ecb Grant record audio to system reco service by default
bug:22668415

Change-Id: I0fec7cc671bb1cc3a13b870748fc8e110a11250e
2015-07-22 17:35:41 -07:00
Dianne Hackborn
5507bb41b0 Merge "Fix issue #22653116: Google App crashing on NYT app" into mnc-dev 2015-07-23 00:35:34 +00:00
Svetoslav Ganov
41a62e111d Merge "Do not show normal permissions in sideloading UI" into mnc-dev 2015-07-23 00:27:16 +00:00
Dianne Hackborn
d48954fb6b Fix issue #22414729: Checkin start clock time is different from hsitory reset time
There was a mistake in the code that was supposed to recover from the
initial time on a new device being bad until the real time ultimately
gets set, which was causing us to update the start clock time every time
there was a time change (instead of just when the original start time
appears bad).

Rework all of this, so we now count the start time as bad if it is more
than one year before the current time, only modifying it in that case.
Also when modifying it, adjust the time we set it to take in to account
how much realtime has actually elapsed so far in the battery stats.

Change-Id: If74bd711d9b7618c8f6148a9935c452aaaa7e257
2015-07-22 17:26:32 -07:00
Svetoslav
a3f68ef2f6 Do not show normal permissions in sideloading UI
bug:22627493

Change-Id: I5bb900bb2cd68893c21d9e9b2c973d331d355b58
2015-07-22 17:05:05 -07:00
Dianne Hackborn
3e8125b40e Fix issue #22653116: Google App crashing on NYT app
We weren't correctly handling the root view of the window --
we were just pushing it on to the stack, but that means it got
written at the end.  Instead, we now immediately write it
after the window and let things follow from there.

Change-Id: I070c96bd2443f312a7c6f495d1bf72fa19c614d6
2015-07-22 17:02:10 -07:00
Fyodor Kupolov
a0a71d8a22 Merge "Fixed a typo" into mnc-dev 2015-07-22 23:57:00 +00:00
Adam Lesinski
05f5cb4599 Merge "UsageStats: Gracefully handle corrupt filenames" into mnc-dev 2015-07-22 23:41:39 +00:00
Adrian Roos
88b1193ea2 Fix janky add guest transition
Delay updating the user switcher until the
switch is complete, so we aren't showing
an intermediate state while the screen is
frozen.

Also pokes the UserInfoController to update
the user avatar while the screen is still frozen
so it is ready by thawing time.

Bug: 22557684
Change-Id: I020b8c1ad42c03ab9162ed384ecfe54ed12f998d
2015-07-22 23:34:11 +00:00
Wenchao Tong
7cc902bea7 Ignore the active network scorer when checking for idleness
Bug: 22667334
Change-Id: I97085e653c146eff148458440bbac0a2ac64d6d2
2015-07-22 16:29:49 -07:00
Adrian Roos
7748ea5fcd Merge "Protect demo mode commands with permission" into mnc-dev 2015-07-22 23:10:09 +00:00
Adam Lesinski
e03f17c82e UsageStats: Gracefully handle corrupt filenames
Not sure how useful this is, since renames should be atomic. If the filesystem
is corrupt I'm sure other parts of the system will break. Good to be safe though!

Bug:22172659
Change-Id: Iad339be2869d170bcf736c59feb93830a51905e1
2015-07-22 16:01:45 -07:00
Jean-Michel Trivi
13ceb54a19 RingtoneManager: query results depend on caller permission
When querying for ringtones, only look for ringtones on external
  storage when the caller has READ_EXTERNAL_STORAGE.
Document this behavior in the javadoc of the affected methods.

Bug 22545684

Change-Id: Iae9c9a4ccaf635da8af2ac289b6b4df1b16c5d11
2015-07-22 15:48:06 -07:00
Fyodor Kupolov
959991b957 Fixed a typo
Change-Id: I85d75429baed3263c04e747eb374c66177c064f5
2015-07-22 15:25:55 -07:00
Jorim Jaggi
613f55fbbb Move PIN/Pattern appear animation to RenderThread (1/2)
Bug: 22205322
Change-Id: I253f20a397ab89cb78254338a0254619232d7300
2015-07-22 15:23:52 -07:00
Jae Seo
eec3d9e368 Merge "TIF: Enable hardware acceleration on overlay" into mnc-dev 2015-07-22 22:22:32 +00:00
Adrian Roos
9b6a609914 Prevent insanely long passwords from crashing SystemUI
Bug: 22214934
Change-Id: I32e238e53ac4b6dd0ae6de226b98894c495b256f
2015-07-22 22:10:57 +00:00
Amith Yamasani
2bd5cff7c6 Avoid a deadlock between PMS and AppOpsService
Don't check for external storage access rights from MountService
for system server. Otherwise there's a case where AppOpsService
is locked and PackageManagerService calls into AppOps with its
own lock held and is unable to do an AppOps check via this path.

Bug: 22522725
Change-Id: Ib4cf914638905de391384aa5122e691c5a7140ec
2015-07-22 14:42:31 -07:00
Svetoslav Ganov
3d6f606031 Merge "Add a privileged permission to get user accounts" into mnc-dev 2015-07-22 21:41:40 +00:00
John Reck
3f2c51084b Merge "Fix ATLAS_MAP_ENTRY_FIELD_COUNT" into mnc-dev 2015-07-22 21:29:55 +00:00
Adam Lesinski
6625047a3b Merge "BatteryStats: Use English locale for dump and checkin data" into mnc-dev 2015-07-22 21:28:37 +00:00
Nick Kralevich
3b0bbd7b96 Merge "UsbDeviceManager: fix b/21429947 regression" into mnc-dev 2015-07-22 21:18:59 +00:00
Chris Wren
db2b4ba69d Merge "Don't crash sysui when advisory calls fail." into mnc-dev 2015-07-22 21:18:40 +00:00
Julia Reynolds
4b9658ae9f Prevent lockscreen album art from flickering on metadata change.
Bug: 22626989
Change-Id: Ie3030e570902bf985f02549839eebff4c8a8849b
2015-07-22 17:07:42 -04:00
Chris Wren
26505585a4 Don't crash sysui when advisory calls fail.
Bug: 22653721
Change-Id: I8e2fc3887b7c71f99eb02306ce308f722dba4d07
2015-07-22 17:03:17 -04:00
John Reck
c360bef7bc Fix ATLAS_MAP_ENTRY_FIELD_COUNT
Bug: 22558805

Change a039182d6157bc0487df4ad8e373685c9dd7d662 reduced
the size of an entry from 4 fields to 3, but failed to
update the constant that determined the size of the java long[].

Because the long[] is blindly passed down through to native, this
will result in reading past the end of the array as the size
is no longer a multiple of the number of fields being read so
the loop will not terminate until 1 iteration past the end.

Change-Id: I2f8e26cec9a60b3a74739a3763203296be5f1fd6
2015-07-22 20:58:09 +00:00
Adam Lesinski
8a83c61497 BatteryStats: Use English locale for dump and checkin data
Dump and checkin data is read by tools that expect a consistent
locale.

Bug:22357316
Change-Id: I0d7e6e771c3512278efca7579fe9c4b79b560e28
2015-07-22 13:50:23 -07:00
Tim Kilbourn
1aadfc2bc4 Merge "Miss USB device Interface from UsbManager.getDeviceList()." into mnc-dev 2015-07-22 20:40:06 +00:00
Alan Viverette
9478bf0e6f Merge "Fix handling of RelativeLayout measurement using UNSPECIFIED spec" into mnc-dev 2015-07-22 20:35:40 +00:00
Fyodor Kupolov
5ef70b02ea Merge "Added a note about location permission" into mnc-dev 2015-07-22 20:27:06 +00:00
Nick Kralevich
b210026e3d UsbDeviceManager: fix b/21429947 regression
As discussed in b/21429947 (commit
674019065bceb4150190bfb1aa63cda9de0a8560), MTP must always be
enabled, even if access to the underlying MTP data is disabled.
Otherwise, Android will not enumerate on the USB bus, and won't
receive notifications from the kernel about USB state changes. This
effectively prevents using MTP functionality on user builds, or
on userdebug/eng builds with adb turned off.

Always ensure that MTP is the default driver mode.

Get rid of one use of the persistent property. The persistent property
was already pulled from a number of devices, and as explained in
commit fcf10f7c12cb3107bdfedce6f76a8c866d154f3c, the intent was that
the persistent property would only hold the persistent adb state.

Bug: 22447614
Bug: 21429947
Change-Id: I8b3690a1bafb7cea0d5a69d73c1065c7fc64c653
2015-07-22 12:59:47 -07:00
xin He
15a45e02c3 Merge "Angler Should Not Use Channel 11 for SoftAP" into mnc-dev 2015-07-22 19:47:53 +00:00
Jeff Sharkey
f6e9a3ede5 Merge "More info to support CTS, fix reconcile bug." into mnc-dev 2015-07-22 19:40:44 +00:00
Alan Viverette
5b39ec8b40 Fix handling of RelativeLayout measurement using UNSPECIFIED spec
Bug: 22613599
Change-Id: Ibdac9de1d5b53a46b29ae916e5dcc8b5c4bc9c27
2015-07-22 15:37:14 -04:00
Jae Seo
345af96677 TIF: Enable hardware acceleration on overlay
Bug: 18162541
Change-Id: If57fb26ae88ca6ef701f01cce0e5dfd9c6eb1f0e
2015-07-22 12:34:17 -07:00
Jason Monk
4fc1b70744 Merge changes from topic 'TunerLoc' into mnc-dev
* changes:
  Add metrics to tuner
  Move tuner enable point to QS
2015-07-22 19:29:59 +00:00
Junda Liu
d5f0f4132c Remove volte_feature_disabled as carrier config handled it.
Bug: b/22602876
Change-Id: Ib1948c93eae6b563846563f1353bab24c4c687a0
2015-07-22 12:21:54 -07:00