Craig Mautner
8fa394fa8c
Merge "Do not make ActivityContainer available to apps. DO NOT MERGE" into lmp-dev
2015-03-04 16:09:29 +00:00
Joe Fernandez
c4418980a0
am a31378dc: Merge "Minor typo fixes in managed profile Javadoc reference pages." into lmp-docs
...
* commit 'a31378dc49868412a2e632bcc46a44877a9b397f':
Minor typo fixes in managed profile Javadoc reference pages.
2015-03-03 06:15:29 +00:00
Andrew Solovay
27f5337841
Minor typo fixes in managed profile Javadoc reference pages.
...
See first comment for stage location.
bug: 19389235
Change-Id: I2e1d5169a77e3f4000e73f08d493953ce4eee78c
2015-03-02 17:22:18 -08:00
Craig Mautner
40f616b1f6
Do not make ActivityContainer available to apps. DO NOT MERGE
...
A security leak was discovered whereby a malicious app could get the
IActivityContainer object from one app and use it to inject events
into another app. This fix removes the availability of the
IActivityContainer and replaces its one use with a method for
returning the information the IActivityContainer was used for.
Fixes bug 19394591.
Change-Id: Ib3cec25b25130cd8e098892c057742cfd575cfdd
2015-02-19 09:44:53 -08:00
Leon Scroggins III
b296e4e0c2
Check that bitmap's size does not exceed 32 bits. DO NOT MERGE
...
BUG:19270126
Change-Id: I075d1cefcd3208305a72b4fa629a262e92eb60ea
(cherry picked from commit 89a2466a2a2859df5f29350117efd7f9d6a2e32f)
2015-02-10 22:23:53 +00:00
John Spurlock
42d3b66f48
am e0852368: Fix a few typos in Parcel.java.
...
* commit 'e08523684d5414117f81debd4eb14bc8eb494c29':
Fix a few typos in Parcel.java.
2015-02-05 20:18:03 +00:00
John Spurlock
e08523684d
Fix a few typos in Parcel.java.
...
Change-Id: Ic1674fc72f08a0f3536b4870a5ce7d14ee6fcc16
2015-02-04 23:18:09 +00:00
Jon Larimer
a0d3bfbe87
am 5c9d0de1: am 545dd853: am 9a425aa7: am 159aa735: am d4031809: am 48c95c43: Fix build breakage in older branches by avoiding <> notation
...
* commit '5c9d0de174caf151937f19aa6898f60bce3fb4f4':
Fix build breakage in older branches by avoiding <> notation
2015-01-30 22:11:56 +00:00
Jon Larimer
5c9d0de174
am 545dd853: am 9a425aa7: am 159aa735: am d4031809: am 48c95c43: Fix build breakage in older branches by avoiding <> notation
...
* commit '545dd853bffbf778a0a44816ac6ed381b13f2158':
Fix build breakage in older branches by avoiding <> notation
2015-01-30 22:01:50 +00:00
Jon Larimer
545dd853bf
am 9a425aa7: am 159aa735: am d4031809: am 48c95c43: Fix build breakage in older branches by avoiding <> notation
...
* commit '9a425aa71c0ae6fb8c9c84d3e71321a44433d861':
Fix build breakage in older branches by avoiding <> notation
2015-01-30 21:54:31 +00:00
Jon Larimer
9a425aa71c
am 159aa735: am d4031809: am 48c95c43: Fix build breakage in older branches by avoiding <> notation
...
* commit '159aa73574804967aded45d06b70df5a8dd64a58':
Fix build breakage in older branches by avoiding <> notation
2015-01-30 21:44:17 +00:00
Jon Larimer
159aa73574
am d4031809: am 48c95c43: Fix build breakage in older branches by avoiding <> notation
...
* commit 'd403180997898c98f0be15b810c4c9dd9002f92c':
Fix build breakage in older branches by avoiding <> notation
2015-01-30 21:28:59 +00:00
Jon Larimer
d403180997
am 48c95c43: Fix build breakage in older branches by avoiding <> notation
...
* commit '48c95c4370533bf27e537cbca1e64d060a016c5f':
Fix build breakage in older branches by avoiding <> notation
2015-01-30 19:30:57 +00:00
Jon Larimer
48c95c4370
Fix build breakage in older branches by avoiding <> notation
...
Change-Id: I5e3d523dac1f364f52f0d2cab479c1705d667e5a
2015-01-29 15:54:43 -05:00
Jon Larimer
9570e144fe
am ea63fd7f: am 88add689: am a5ccca24: am 2982d648: am de9a76ed: am fc731e6e: Merge "Fix ParceledListSlice to enforce the same concrete types among its elements." into jb-mr2-dev
...
* commit 'ea63fd7f9b4bb2701c9d12ab8775867dbdeefcf1':
Fix ParceledListSlice to enforce the same concrete types among its elements.
2015-01-29 18:43:47 +00:00
Jon Larimer
ea63fd7f9b
am 88add689: am a5ccca24: am 2982d648: am de9a76ed: am fc731e6e: Merge "Fix ParceledListSlice to enforce the same concrete types among its elements." into jb-mr2-dev
...
* commit '88add68942694fc643518bcf5c26f6c3df7e9aa0':
Fix ParceledListSlice to enforce the same concrete types among its elements.
2015-01-29 18:36:59 +00:00
Jon Larimer
88add68942
am a5ccca24: am 2982d648: am de9a76ed: am fc731e6e: Merge "Fix ParceledListSlice to enforce the same concrete types among its elements." into jb-mr2-dev
...
* commit 'a5ccca242747d59233ec5ecebc20d4a721e7850e':
Fix ParceledListSlice to enforce the same concrete types among its elements.
2015-01-29 18:32:09 +00:00
Jon Larimer
a5ccca2427
am 2982d648: am de9a76ed: am fc731e6e: Merge "Fix ParceledListSlice to enforce the same concrete types among its elements." into jb-mr2-dev
...
* commit '2982d64802ed0d5b59130680c43485e9d7862e50':
Fix ParceledListSlice to enforce the same concrete types among its elements.
2015-01-29 18:25:28 +00:00
Jon Larimer
2982d64802
am de9a76ed: am fc731e6e: Merge "Fix ParceledListSlice to enforce the same concrete types among its elements." into jb-mr2-dev
...
* commit 'de9a76ed997c300a6c5f2f82c517719503af9045':
Fix ParceledListSlice to enforce the same concrete types among its elements.
2015-01-29 18:12:01 +00:00
Jon Larimer
de9a76ed99
am fc731e6e: Merge "Fix ParceledListSlice to enforce the same concrete types among its elements." into jb-mr2-dev
...
* commit 'fc731e6e40f6f449b8e7ac72c2cd36a57c04a32b':
Fix ParceledListSlice to enforce the same concrete types among its elements.
2015-01-29 18:00:58 +00:00
Adam Lesinski
f741c37273
Fix ParceledListSlice to enforce the same concrete types among its elements.
...
Bug:17671747
Change-Id: I896f75738e5b464ccb6c03290f139cc2fa72f966
(cherry picked from commit 3df1c38ee098872352086e03d6f1adb16796ee29)
2015-01-28 10:47:54 +00:00
Leon Scroggins III
cae216f8dc
am 1e0d4b56: am 1dbbc204: am 6106f6a4: am 93522968: am 01287549: am 9a6143fa: Handle bad ninepatch data.
...
* commit '1e0d4b5611f9a7134c9ab5fdb62b9385c5161c7c':
Handle bad ninepatch data.
2015-01-27 22:55:00 +00:00
Leon Scroggins III
1e0d4b5611
am 1dbbc204: am 6106f6a4: am 93522968: am 01287549: am 9a6143fa: Handle bad ninepatch data.
...
* commit '1dbbc2045ae16a4923b30c9576703d02a4363529':
Handle bad ninepatch data.
2015-01-27 22:48:29 +00:00
Leon Scroggins III
1dbbc2045a
am 6106f6a4: am 93522968: am 01287549: am 9a6143fa: Handle bad ninepatch data.
...
* commit '6106f6a490cb5816602e8e3ae84a5c653dda44d3':
Handle bad ninepatch data.
2015-01-27 22:42:03 +00:00
Leon Scroggins III
6106f6a490
am 93522968: am 01287549: am 9a6143fa: Handle bad ninepatch data.
...
* commit '9352296810926eae663477526545a55e1b1f7a27':
Handle bad ninepatch data.
2015-01-27 22:31:47 +00:00
Leon Scroggins III
9352296810
am 01287549: am 9a6143fa: Handle bad ninepatch data.
...
* commit '01287549ad415c51377683696eb37c362d43061a':
Handle bad ninepatch data.
2015-01-27 22:17:11 +00:00
Leon Scroggins III
01287549ad
am 9a6143fa: Handle bad ninepatch data.
...
* commit '9a6143fab7d93797e4b22a12b89e07c160e5c31d':
Handle bad ninepatch data.
2015-01-27 22:01:08 +00:00
Leon Scroggins III
9a6143fab7
Handle bad ninepatch data.
...
Changes proposed by Ben Hawkes of Google Project Zero.
NinePatchPeeker.cpp:
Instead of asserting, return false for bad data.
ResourceTypes.h:
Store ninepatch values as unsigned.
BUG:19151999
Change-Id: Ibe35e7569f632c6bb8a34a7701e26bb6ed547ec2
(cherry picked from commit a730ef3f77fc495bc90199b4d45efab26d609782)
2015-01-27 19:04:57 +00:00
Ricardo Cervera
93f94c2ca5
resolved conflicts for merge of e8f6bd48 to lmp-dev
...
Change-Id: Idc370182914d5060a721d34c26cd72598f2c6dff
2015-01-16 09:54:30 -08:00
Ricardo Cervera
97c4ba9862
docs: Added info on noHistory and onActivityResult().
...
Bug: 13807256
Cherry-pick from Iae4901a311e76401396f89c552e5b27a49c65c83
Change-Id: I4ad7aea1a3c7ea82bc2bbcdf35d2de418ef7b90f
2015-01-16 09:24:30 -08:00
Ricardo Cervera
e8f6bd4846
am 98f07d90: am 92f6a747: docs: Added info on noHistory and onActivityResult(). Bug: 13807256
...
* commit '98f07d901492335f51258655fbfa032fa3f2d58e':
docs: Added info on noHistory and onActivityResult(). Bug: 13807256
2015-01-16 17:21:32 +00:00
Ricardo Cervera
98f07d9014
am 92f6a747: docs: Added info on noHistory and onActivityResult(). Bug: 13807256
...
* commit '92f6a747085b4b5ed692de4bdb0050c096eae393':
docs: Added info on noHistory and onActivityResult(). Bug: 13807256
2015-01-16 17:14:44 +00:00
Deepanshu Gupta
10bb1371dc
Add preferences rendering.
...
NO_SQ: Depends on updating layoutlib-api-prebuilt.jar
Change-Id: Iae93ab74c478e6f2158e1528467bec9ee2d7ee9b
2014-12-23 12:04:30 -08:00
Christoph Studer
3eff1e1f0e
am 92c411b2: Merge "Fix MediaStyle docs mentioning 2 max actions in compact view" into lmp-docs
...
* commit '92c411b24eaa787158b19b209050ea35fc5070b6':
Fix MediaStyle docs mentioning 2 max actions in compact view
2014-12-17 12:22:33 +00:00
Christoph Studer
250a141cbe
Fix MediaStyle docs mentioning 2 max actions in compact view
...
Bug: 18729304
Change-Id: Ica6b8ac47d7d38b1de62d64830256f66cbbdb225
2014-12-12 18:00:09 +00:00
Elliott Hughes
12f100def9
am e8f6cb06: Merge "Fix typo." into lmp-docs
...
* commit 'e8f6cb065c33c21dfefe0039739dc38fde5cff6d':
Fix typo.
2014-12-09 19:22:33 +00:00
Elliott Hughes
547b0acae1
Fix typo.
...
Bug: https://code.google.com/p/android/issues/detail?id=78422
(cherry picked from commit 0adcf15ad8b41559b50b3cbde6a103582f8c95b8)
Change-Id: I62746a0690e9845b20b23b91f2a50d85214e8aa1
2014-12-09 10:31:37 -08:00
Ricardo Cervera-Navarro
0ac703fc8f
am 1108b845: Merge "Sensor documentation fixes." into lmp-docs
...
* commit '1108b845f940debde0c1959a9293cafdc264afcc':
Sensor documentation fixes.
2014-12-02 18:46:30 +00:00
Ricardo Cervera-Navarro
1108b845f9
Merge "Sensor documentation fixes." into lmp-docs
2014-12-02 18:33:50 +00:00
Christopher Tate
7265abe77a
Be increasingly aggressive about fstrim if it isn't being run
...
The current heuristics depend on devices being alive at midnight+ in
order to run periodic background fstrim operations. This unfortunately
means that people who routinely turn their devices off overnight wind
up with their devices *never* running fstrim, and this causes major
performance and disk-life problems.
We now backstop this very-friendly schedule with an increasingly
aggressive one. If the device goes a defined time without a background
fstrim, we then force the fstrim at the next reboot. Once the
device hits the midnight+ idle fstrim request time, then we already
aggressively attempt to fstrim at the first available moment
thereafter, even if it's days/weeks later without a reboot.
'Available' here means charging + device idle. If the device never
becomes idle then we can't do much without rendering an in-use device
inoperable for some number of minutes -- but we have no evidence of
devices ever failing to run fstrim due to this usage pattern.
A new Settings.Global element (type 'long', called
"fstrim_mandatory_interval") is the source of the backstop time. If
this element is zero or negative, no mandatory boot-time fstrim will
ever be performed. If the element is not supplied on a given device,
the default backstop is 3 days.
Adds a new string to display in the upgrading dialog when doing
the fstrim. Note it is too late for this to be localized, but since
this operation can take a long time it is probably better to have
it show *something* even if not localized, rather than just sit there.
Bug 18486922
Change-Id: I5b265ca0a65570fb8931251aa1ac37b530635a2c
2014-11-25 16:35:06 -08:00
Deepanshu Gupta
455654cffd
Merge "LayoutLib: Stub AM/PM keycodes in Time Picker." into lmp-dev
2014-11-19 22:29:54 +00:00
xinhe
67def72d05
Add configuration to control converting sms destination number
...
Romove hard codes about the SimcardOperatorList and NetworkOperatorList.
Bug: 18081228
Change-Id: I0d96972c6097325634413137bfbdb5a246885276
2014-11-18 17:09:54 -08:00
Deepanshu Gupta
12b6d29b7b
LayoutLib: Stub AM/PM keycodes in Time Picker.
...
TimePickerSpinnerDelegate doesn't need to deal with input when running
inside LayoutLib. So, we just return the keycodes as if it's running in
English locale.
Bug: http://b.android.com/79189
Change-Id: Ife0ae91a1e34a8dac379bc1dda1c1c8ed461c164
2014-11-18 22:02:40 +00:00
Jeff Sharkey
d68b87cdd4
Recover apps with malformed certificates.
...
There was a window of time in Lollipop where we persisted certificates
after they had passed through a decode/encode cycle. The well-written
OpenSSL library was liberal when decoding (allowing slightly malformed
certs to be parsed), but then strict when encoding, giving us
different bytes for effectively the same certificate.
A related libcore change (0c990ab4a90b8a5492a67b2b728ac9a4a1ccfa1b)
now returns the original bytes verbatim, fixing both pre-Lollipop
installs and installs after that change.
This change recovers any apps that had been installed during the
window of time described above by doing a one-time check to see if
the certs are effectively equal.
Bug: 18228011
Change-Id: Ib82bd6db718d0490d7a26c9c1014b7c8457a7f2d
2014-11-12 13:16:06 -08:00
Aravind Akella
1375d3744c
Sensor documentation fixes.
...
Bug: 17526079
Change-Id: I664e5e2d5103b87ed02f082551e46513f64b95a1
(cherry picked from commit 1f9b32f006f7c506d9df5bf73294710665746397)
2014-11-12 00:52:44 +00:00
John Spurlock
66c46c4a92
am 3a9321d4: Docs: Fix typo in Preference android:order attribute.
...
* commit '3a9321d407f71fa6c2a49db63e6eb30003c8ef4c':
Docs: Fix typo in Preference android:order attribute.
2014-11-05 21:36:13 +00:00
John Spurlock
3a9321d407
Docs: Fix typo in Preference android:order attribute.
...
Change-Id: Ib3a009ed1fba8396be1bd5055f4897b0cc7d8738
2014-11-05 21:20:36 +00:00
Ricardo Cervera
92f6a74708
docs: Added info on noHistory and onActivityResult(). Bug: 13807256
...
Change-Id: Iae4901a311e76401396f89c552e5b27a49c65c83
2014-11-05 08:55:51 -08:00
Deepanshu Gupta
84a89ed0f5
Merge "Use the right layout for inflating Action Bar." into lmp-dev
2014-11-03 23:13:15 +00:00
Alex Klyubin
8e93f0c3bc
Mention ECDHE_PSK bug in Javadoc of PskKeyManager.
...
Bug: 18144779
Change-Id: I50e1bb18456295170ef288ad089a0edad7f00ecf
2014-10-30 21:39:03 +00:00