am: 4465e8d6e6
* commit '4465e8d6e68e75b0b5c1114447b8cfeea3873b50':
docs: Added Sony Xperia Z3 as a testing device for Android N.
Change-Id: I3fbddf1dce22e6edaae2ddd037b71657e2d4040e
am: 2ebb73e557
* commit '2ebb73e5572eb400d6202c9a0e3d365e1fde9d7e':
docs: Added Sony Xperia Z3 as a testing device for Android N.
Change-Id: I43a8431d48244a6807924239eac4c5211ce380b3
am: 2c98879a27
* commit '2c98879a2793b8607eb4539925e9d1fb38d78610':
docs: Added Sony Xperia Z3 as a testing device for Android N.
Change-Id: I9f254da6427cea0ad4f4edc2fde8e17d679c4017
am: 4af01c1aec
* commit '4af01c1aecc8db2fd084822294ad193a72a34fa7':
docs: Added Sony Xperia Z3 as a testing device for Android N.
Change-Id: I455575a25350b7a0c66b5f8d698d6d0fc51076a5
- Maps incoming (from HAL) GpsSvStatus for Glonass, Beidou, SBAS, and QZSS
from defacto (NMEA-like) numbers to internal platform with detected constellation.
- Maps outgoing (to Java API) GpsStatus getSatellite info back into the de-facto
overloaded (beyond 32) "GPS" ID numbers.
- Simplifies Glonass ID definition for N (comments only.)
- This enables GPS/GNSS Test apps a non-degrading upgrade path.
Bug: 28623392
Change-Id: I9a19db1f11267032c6927daed767df5afa51c770
am: 8262d9c00d
* commit '8262d9c00d7332e7f013ef1af6ea818a5d248ec5':
docs: Added Sony Xperia Z3 as a testing device for Android N.
Change-Id: I56f21d12417b7157f749b02e9f3949bdbace5751
Instead of in activity thread. That way, we can warm up (ie,
precompute cached values) this provider and AndroidBCWorkaroundProvider
(which are installed together) so that the computation doesn't
happen in the app. As a result, the time spent in the first call to
SSLSocketFactory.getDefault() decreases by ~5ms in angler userdebug.
Measured with an app calling SSLSocketFactory.getDefault in onCreate
and timed it with System.currentTimeMillis() .
Bug: 28545496
Change-Id: I73284eccdf6d51dbf55206335d759ccf795c5f41
Upstream ICU caches use SoftReferences. On Android this means
that useful cached data initialized in the Zygote are "lost" when
the Zygote GCs and cannot be shared with apps. This change makes use
of an Android patch to ICU to ensure References created during
Zygote initialization are "strong". i.e. they are never collected.
This prevents them being GCd and ensures they can be shared between
applications.
After switching ICU to use strong references, this change
also creates DecimalFormatSymbols objects for common ULocales
(ROOT, US and the user's default, if different). DecimalFormatSymbols
makes use of an ICU Reference cache and this alone has been shown to
improve the construction time of java.text.DecimalFormat by 1-1.5
milliseconds on a Seed device. This saving applies the first time one
is created in each app for each locale, and again if SoftReferences
have been cleared.
The cost to the heap size of the Zygote has been measured at ~107k.
This value will change as more caches are switched to use the new
CacheValue class.
Formatting is typically performed on the UI thread and the intention
of this change is to reduce app start up time and jank in apps like
the Dialer which do a lot of formatting when scrolling lists. The
change may also enable more virtual memory page-sharing between
apps, though this is not the specific goal.
Bug: 28326526
(cherry picked from commit 41c9dc3b69)
Change-Id: I48e4d57ecbb207b9a5e17b6caf5e7b282e4a40e3
Not all client needs to monitor the StrongAuth, e.g. ConfirmDeviceCredentialBaseFragment
Provide a quick method to get StrongAuth
Bug: 28752364
Change-Id: Iecfd217046da38e43297bdd5832cf7d637b979ed
The Android public API documentation incorporates text from third-party
source code, attribute to the usage and include their licenses.
Bug: 23576575
Change-Id: I83ec78de6cb339edfbc838ac26078c3d610f22f0
Enable jack.transformations.boost-locked-region-priority compiler pass
that had shown to increase performance in AmSlam by 10% or so.
bug: 28610549
Change-Id: If1b76787acd272882647ede7e831cb1ba376e578
minWidth and minHeight were already defined without format specified
and we need to have definition without format also. Otherwise they conflict.
Bug: 28775586
Change-Id: I0602bd70d03bdacfc604d884951a60871159ed92
Since Android N, the system locale is stored in Settings.System. Because
of this change, we need to propagate the previous user's system locale
to the newly created user.
When the user switch happens, updateUserConfigurationLocked is called
for the next user. Usually, some configuration values (font scale and
system locale) are overwritten by the next user's settings. However,
the first time the next user logs in (and only the first time), the
settings value is empty. So, we need to decide between keeping the
passed configuration's value or resetting to the default. For the
fontScale, it is reset to the default (issue 27187556). For the system
locale, the previous user's locale should be used. This CL addresses
this.
At the same time, the inherited configuration should be stored to the
settings, otherwise the inherited configuration is lost the next time
the second user logs in.
Bug: 27803966
Change-Id: I4632671316d26e00ab6fe80ff3433f097f0e0954