OSDN Git Service
baisheng [Thu, 25 Jan 2018 10:07:24 +0000 (18:07 +0800)]
Add dedicated signature permissions to platform manifest and shell manifest which could enable/disable BT and Wifi state on watch
Skip Bluetooth consent UI if running on shell, also fix a typo in log message.
Test: Manual test running `adb root; adb shell service call bluetooth_manager 6` and see if BT is on without consent UI.
Bug:
69872231
Change-Id: Ie513794a7fc13041259fd84734bfc651495ba5cf
TreeHugger Robot [Mon, 22 Jan 2018 08:11:17 +0000 (08:11 +0000)]
Merge "Check attached to window before calling addTransientView."
TreeHugger Robot [Sun, 21 Jan 2018 23:04:21 +0000 (23:04 +0000)]
Merge "Remove unneeded reference to SkRasterizer"
Leon Scroggins III [Sun, 21 Jan 2018 21:03:04 +0000 (16:03 -0500)]
Remove unneeded reference to SkRasterizer
Bug: skbug.com/7500
Test: No change in behavior, no new tests.
Should fix the Skia roll.
Change-Id: I880eb93bf9c1b8bb29649b3dfd1b82e2c3178e78
Yao Chen [Sun, 21 Jan 2018 20:50:18 +0000 (12:50 -0800)]
Make StatsdDogfood build again.
Test: manual
Change-Id: I14614c060cf0bfb49809315b3ef0482d8a64a1a5
TreeHugger Robot [Sun, 21 Jan 2018 19:35:21 +0000 (19:35 +0000)]
Merge "Add tests for NotificationGutsManager"
TreeHugger Robot [Sun, 21 Jan 2018 19:30:26 +0000 (19:30 +0000)]
Merge "Update output chooser for calls"
TreeHugger Robot [Sun, 21 Jan 2018 19:27:26 +0000 (19:27 +0000)]
Merge "No camera for idle uids - framework"
Jason Monk [Sun, 21 Jan 2018 18:53:04 +0000 (18:53 +0000)]
Merge "Revert "Revert "Slices permission model"""
Jason Monk [Sun, 21 Jan 2018 15:10:35 +0000 (10:10 -0500)]
Revert "Revert "Slices permission model""
This reverts commit
1214c878a839d99b1b29c8c31fc93af2ba949338.
Test: boot device
Bug:
72270082
Bug:
68751119
Change-Id: I7d0e709a04ffeb8b877aef539a978ee251a75742
Lorenzo Colitti [Sun, 21 Jan 2018 16:07:29 +0000 (16:07 +0000)]
Merge changes from topic "multipath-datausage"
* changes:
Add the defaultNetwork element to the netstats.proto.
Add getDefaultNetwork to the NetworkStats public API.
TreeHugger Robot [Sun, 21 Jan 2018 13:14:37 +0000 (13:14 +0000)]
Merge "Revert "Slices permission model""
Artem Iglikov [Sun, 21 Jan 2018 10:43:48 +0000 (10:43 +0000)]
Revert "Slices permission model"
This reverts commit
f762496b7f51f7b00bcb624ecac94a0d72d0b711.
Reason for revert: continuous crash, blocks LON from working on master
Test: flashed build from TreeHugger and verified that it boots and doesn't crash anymore
Bug:
72270082
Change-Id: I68d771357488c5c17ab00803d8f51a6c7ed37d01
Svet Ganov [Sat, 13 Jan 2018 06:08:40 +0000 (22:08 -0800)]
No camera for idle uids - framework
If a UID is idle (being in the background for more than
cartain amount of time) it should not be able to use the
camera. If the UID becomes idle we generate an eror and
close the cameras for this UID. If an app in an idle UID
tries to use the camera we immediately generate an error.
Since apps already should handle these errors it is safe
to apply this policy to all apps to protect user privacy.
Test: Pass - cts-tradefed run cts -m CtsCameraTestCases
Added - CameraTest#testCameraAccessForIdleUid
Change-Id: If6ad1662f2af6592b6aca1aeee4bd481389b5e00
TreeHugger Robot [Sun, 21 Jan 2018 03:31:27 +0000 (03:31 +0000)]
Merge "Slices permission model"
Mike Digman [Sun, 21 Jan 2018 02:23:43 +0000 (02:23 +0000)]
Merge "Send valid and invalid rotation proposal changes to SysUI"
Jason Monk [Wed, 17 Jan 2018 22:50:29 +0000 (17:50 -0500)]
Slices permission model
- Launcher/assistant get access to all slices
- Apps with uri access to access a specific slice
- Apps without access get a permission granting slice
- If the user authorizes access to the slice for the app
then the app will be granted access to the app's slices
(this happens through a temp grant in the service, and a
full uri grant from the app the next time it binds)
- Add a hint that apps to add to allow them to return different
slices depending on the caller, this allows custom permission
checks.
Test: runtest --path frameworks/base/services/tests/uiservices
Bug:
68751119
Change-Id: I8f8cd0182cfcbfba3f307e2eaba5aae6f6fbe214
Mike Digman [Sun, 21 Jan 2018 00:56:44 +0000 (00:56 +0000)]
Merge "Update SysUI tuner so rotation button can be added/removed"
Pavlin Radoslavov [Sun, 21 Jan 2018 00:42:20 +0000 (00:42 +0000)]
Merge "Multi-A2DP support - add a new internal API to suppress Audio Noisy intent" am:
7e3b1832c4 am:
5bd12d0bf4
am:
65ff8a65b6
Change-Id: I58cd7c04fafd517fe8cae3121d9add8808d34920
Pavlin Radoslavov [Sun, 21 Jan 2018 00:33:40 +0000 (00:33 +0000)]
Merge "Multi-A2DP support - add a new internal API to suppress Audio Noisy intent" am:
7e3b1832c4
am:
5bd12d0bf4
Change-Id: I52b1adc5ce9f3dea56b0045581d7736cbe62de73
Pavlin Radoslavov [Sun, 21 Jan 2018 00:26:11 +0000 (00:26 +0000)]
Merge "Multi-A2DP support - add a new internal API to suppress Audio Noisy intent"
am:
7e3b1832c4
Change-Id: I4b75e8565dc0b80d6ca3825e87370a72c726bd25
Treehugger Robot [Sat, 20 Jan 2018 23:30:34 +0000 (23:30 +0000)]
Merge "Multi-A2DP support - add a new internal API to suppress Audio Noisy intent"
TreeHugger Robot [Sat, 20 Jan 2018 21:49:16 +0000 (21:49 +0000)]
Merge "Fix AOD battery updates"
Lucas Dupin [Sat, 20 Jan 2018 03:06:45 +0000 (19:06 -0800)]
Fix AOD battery updates
It's not accurate to assume that events are only interesting when
the keyguard is visible. The user might be unlocked watching a
video or executing any other task and will miss a battery update.
Now dumping KeyguardIndicationController internals, to make it
easier to debug future issues.
Change-Id: I20efa011e20e92713a19fac32acea40604133f6d
Fixes:
72211244
Test: adb bugreport
Test: Play video, look at battery on AOD
Test: Lock phone, wait for battery update
Pavlin Radoslavov [Sat, 20 Jan 2018 02:20:04 +0000 (18:20 -0800)]
Multi-A2DP support - add a new internal API to suppress Audio Noisy intent
The new API setBluetoothA2dpDeviceConnectionStateSuppressNoisyIntent()
is similar to the existing setBluetoothA2dpDeviceConnectionState()
except that it takes one extra argument that indicates whether the
AudioManager.ACTION_AUDIO_BECOMING_NOISY intent will be sent:
setBluetoothA2dpDeviceConnectionStateSuppressNoisyIntent(
..., boolean suppressNoisyIntent)
This API is needed so the Active A2DP Sink device can be changed
while audio is streaming, and the audio continues playing on the new
Active Device.
Bug:
69269748
Test: Manual: multiple connected A2DP devices, and selecting each as
the Active Device.
Change-Id: I75766a58d9e6b42b3ce68bd9ad3a7a72ca5a1023
(cherry picked from commit
82e06463f2571a06286f9da0bf3ad5a0e58461a2)
TreeHugger Robot [Sat, 20 Jan 2018 17:58:25 +0000 (17:58 +0000)]
Merge "Multi-A2DP support - add a new internal API to suppress Audio Noisy intent"
TreeHugger Robot [Sat, 20 Jan 2018 16:42:51 +0000 (16:42 +0000)]
Merge "Add new HardwareBuffer usages and formats."
TreeHugger Robot [Sat, 20 Jan 2018 16:29:05 +0000 (16:29 +0000)]
Merge "add atoms for cpu power calculation"
TreeHugger Robot [Sat, 20 Jan 2018 16:24:30 +0000 (16:24 +0000)]
Merge "Split string properly in package name validator"
Julia Reynolds [Wed, 20 Dec 2017 14:53:59 +0000 (09:53 -0500)]
Update output chooser for calls
- Hide media routes while in call
- Change the title while in call
- Add a title while not in call, too
Bug:
63096355
Test: manual
Change-Id: Ib7bcd314efb010fe903327dd4d9bdbfe521c1f73
Michal Karpinski [Sat, 20 Jan 2018 14:31:25 +0000 (14:31 +0000)]
Split string properly in package name validator
Test: atest frameworks/base/core/tests/coretests/src/android/provider/SettingsValidatorsTest.java
Bug:
64988620
Change-Id: I35b93a9ba317dc31494bffb7ad3576ad7290220f
David Brazdil [Sat, 20 Jan 2018 11:43:40 +0000 (11:43 +0000)]
Merge "Generate new API signatures from doclava" am:
fa208b4226 am:
72b7f03179
am:
ccc31988ee
Change-Id: Ibc40df91d9aa4f1258856ddcd85204ce62297bf1
David Brazdil [Sat, 20 Jan 2018 11:33:16 +0000 (11:33 +0000)]
Merge "Generate new API signatures from doclava" am:
fa208b4226
am:
72b7f03179
Change-Id: I7dbf94c493bc79f4200afc45e6ed58543359c9ff
David Brazdil [Sat, 20 Jan 2018 11:23:49 +0000 (11:23 +0000)]
Merge "Generate new API signatures from doclava"
am:
fa208b4226
Change-Id: Iae4cc67435b84c868a446dc7ac16a618656bbdbb
David Brazdil [Sat, 20 Jan 2018 10:06:22 +0000 (10:06 +0000)]
Merge "Generate new API signatures from doclava"
yinxu [Sat, 20 Jan 2018 10:04:11 +0000 (10:04 +0000)]
Merge "Add CARD_ID in SubscriptionInfo database" am:
6745e15d17 am:
33de998afe
am:
a8a799b6a6
Change-Id: I2ba99e9fe94621b982a74cf6178afbfc64d32ee2
yinxu [Sat, 20 Jan 2018 09:56:08 +0000 (09:56 +0000)]
Merge "Add CARD_ID in SubscriptionInfo database" am:
6745e15d17
am:
33de998afe
Change-Id: I63246ba54d112ef75ca6989c16d7ae979bde552a
yinxu [Sat, 20 Jan 2018 09:47:20 +0000 (09:47 +0000)]
Merge "Add CARD_ID in SubscriptionInfo database"
am:
6745e15d17
Change-Id: I3df57fc50d9e928d74c50b2b99fde63e757e7e78
Treehugger Robot [Sat, 20 Jan 2018 08:28:24 +0000 (08:28 +0000)]
Merge "Add CARD_ID in SubscriptionInfo database"
Sudheer Shanka [Sat, 20 Jan 2018 08:26:32 +0000 (08:26 +0000)]
Merge "Load admin data in DPMS asynchronously during boot."
TreeHugger Robot [Sat, 20 Jan 2018 07:40:23 +0000 (07:40 +0000)]
Merge "Update config_wifi_tether_enable value."
Qingxi Li [Sat, 20 Jan 2018 06:20:02 +0000 (06:20 +0000)]
Merge "Change RecoverySystem#wipeEuiccData to public"
Chenjie Yu [Sat, 13 Jan 2018 20:41:08 +0000 (12:41 -0800)]
add atoms for cpu power calculation
Test: will add cts tests for them
Change-Id: Ifefa3697ff64e8c484f79d08caf053bfc712b794
TreeHugger Robot [Sat, 20 Jan 2018 05:48:37 +0000 (05:48 +0000)]
Merge "AudioTrack: support for offloaded playback"
Phil Weaver [Sat, 20 Jan 2018 05:13:38 +0000 (05:13 +0000)]
Merge "Add accessibility support for tooltips"
Peiyong Lin [Sat, 20 Jan 2018 05:11:09 +0000 (05:11 +0000)]
Merge "[GLUtils] Pass the correct format into glTexImage2D and glTexSubImage2D."
Felipe Leme [Sat, 20 Jan 2018 05:01:43 +0000 (05:01 +0000)]
Merge "Minor API changes on Autofill Field Classification:"
Felipe Leme [Sat, 20 Jan 2018 04:59:23 +0000 (04:59 +0000)]
Merge "Implemented getAlgorithm() and getDefaultAlgorithm() using manifest metadata."
Rajeev Kumar [Sat, 20 Jan 2018 04:30:53 +0000 (04:30 +0000)]
Merge "Add atoms to log memory metrics."
TreeHugger Robot [Sat, 20 Jan 2018 04:09:35 +0000 (04:09 +0000)]
Merge "Don't record audio if UID is idle - framework"
Pavlin Radoslavov [Sat, 20 Jan 2018 02:20:04 +0000 (18:20 -0800)]
Multi-A2DP support - add a new internal API to suppress Audio Noisy intent
The new API setBluetoothA2dpDeviceConnectionStateSuppressNoisyIntent()
is similar to the existing setBluetoothA2dpDeviceConnectionState()
except that it takes one extra argument that indicates whether the
AudioManager.ACTION_AUDIO_BECOMING_NOISY intent will be sent:
setBluetoothA2dpDeviceConnectionStateSuppressNoisyIntent(
..., boolean suppressNoisyIntent)
This API is needed so the Active A2DP Sink device can be changed
while audio is streaming, and the audio continues playing on the new
Active Device.
Bug:
69269748
Test: Manual: multiple connected A2DP devices, and selecting each as
the Active Device.
Change-Id: I75766a58d9e6b42b3ce68bd9ad3a7a72ca5a1023
Phil Weaver [Sat, 20 Jan 2018 02:56:04 +0000 (02:56 +0000)]
Merge "Add a11y action to take screenshot"
TreeHugger Robot [Sat, 20 Jan 2018 02:34:40 +0000 (02:34 +0000)]
Merge "Statsd -> Perfetto integration"
TreeHugger Robot [Sat, 20 Jan 2018 02:22:21 +0000 (02:22 +0000)]
Merge "Rename getConfigFlag to isConfigFlagSet."
TreeHugger Robot [Sat, 20 Jan 2018 02:22:15 +0000 (02:22 +0000)]
Merge "Add "exemptForBatterySaver" to ForceAppStandbyTracker"
TreeHugger Robot [Sat, 20 Jan 2018 01:37:29 +0000 (01:37 +0000)]
Merge "No sensor access to idle UIDs - framework"
TreeHugger Robot [Sat, 20 Jan 2018 01:31:23 +0000 (01:31 +0000)]
Merge "AudioService: fix deadlock between readSettings() and VSS.setAllIndexes()"
Mike Digman [Sat, 20 Jan 2018 01:16:23 +0000 (17:16 -0800)]
Update SysUI tuner so rotation button can be added/removed
Fixed bug where rotation button could be removed but not added
back.
Test: manual
TreeHugger Robot [Sat, 20 Jan 2018 01:00:54 +0000 (01:00 +0000)]
Merge "Update JavaDoc for BackgroundColorSpan and ForegroundColorSpan."
Rajeev Kumar [Thu, 18 Jan 2018 23:49:11 +0000 (15:49 -0800)]
Add atoms to log memory metrics.
Test: Manual
Bug:
72177881
Change-Id: I0e77c6651d10e6592e6bbd34c55186e5e49a70e9
Doris Ling [Sat, 20 Jan 2018 00:44:59 +0000 (16:44 -0800)]
Update config_wifi_tether_enable value.
The TetherService has moved to a sub package. Update the config value to
reflect the new package info.
Change-Id: I1d0d03117dd6533d96f170e80f7f58c043e96d46
Fixes:
69844871
Test: rebuild
TreeHugger Robot [Sat, 20 Jan 2018 00:26:24 +0000 (00:26 +0000)]
Merge "Double the battery history size on userdebug/eng"
Makoto Onuki [Fri, 19 Jan 2018 23:43:16 +0000 (15:43 -0800)]
Add "exemptForBatterySaver" to ForceAppStandbyTracker
Bug:
72125364
Test: atest CtsBatterySavingTestCases
Change-Id: I716dc53f06a74e3854aeaeff5c1567642ebaa0c9
Primiano Tucci [Wed, 10 Jan 2018 12:14:50 +0000 (12:14 +0000)]
Statsd -> Perfetto integration
This CL invokes the perfetto client utility to start the
collection of a trace when an anomaly that subscribed to
Perfetto is detected. The code simply spawns the
/system/bin/perfetto client and passes the trace config via
stdin. The client takes care of the dropbox upload.
The CollectPerfettoTraceAndUploadToDropbox() function does
NOT wait for the full trace collection (in order to avoid
blocking statsd) and instead returns immediately after having
spawned perfetto.
Change-Id: I4f02067bad7a46ede7b6e4841cdcf381c1a4e2a7
Bug:
71795552
Phil Weaver [Tue, 16 Jan 2018 23:32:30 +0000 (15:32 -0800)]
Add a11y action to take screenshot
Bug:
70392997
Test: Adding unit test for functionality, cts test
for presence of api.
Change-Id: Ib5bc2217e1d29f527db0f0fadb69fd8249d6c279
TreeHugger Robot [Fri, 19 Jan 2018 23:33:07 +0000 (23:33 +0000)]
Merge "ApkSignatureVerifier: expose verity interfaces"
Yi Jin [Fri, 19 Jan 2018 23:27:32 +0000 (23:27 +0000)]
Merge "Fix permissions problems of incidentd."
TreeHugger Robot [Fri, 19 Jan 2018 23:08:15 +0000 (23:08 +0000)]
Merge "Fix buffer overflow when the last chunk is 4kb"
Jean-Michel Trivi [Mon, 8 Jan 2018 23:43:35 +0000 (15:43 -0800)]
AudioTrack: support for offloaded playback
Surface new callbacks from native AudioTrack to
Java through the existing callback method and
post to the Java instance.
New AudioManager method to query whether offload
is supported.
Allow using non-PCM format on a track built for
offload (new option in AudioTrack.Builder)
Numerous "todo" are added for the unhide of the
API additions and will be in a separate patch.
Bug:
63934228
Test: same as MediaPlayer2 tests
Change-Id: I98a81ffffc95c7596a39ee634dcb89bb854f3178
Rob Carr [Fri, 19 Jan 2018 22:58:41 +0000 (22:58 +0000)]
Merge "Rework stack Z-ordering promotion."
TreeHugger Robot [Fri, 19 Jan 2018 22:54:28 +0000 (22:54 +0000)]
Merge "Add performance tests for query / get"
Tomasz Wasilczyk [Fri, 19 Jan 2018 22:51:47 +0000 (22:51 +0000)]
Merge "Update ProgramSelector to match HAL 2.0."
Makoto Onuki [Thu, 18 Jan 2018 16:44:28 +0000 (08:44 -0800)]
Double the battery history size on userdebug/eng
Bug:
67297625
Test: Build & boot. (we experimented with the factor of 4 previously on OMR1.)
Change-Id: Ie03c31ade89c76efd05e907a5a0b74942e3f3df5
Leon Scroggins [Fri, 19 Jan 2018 22:10:53 +0000 (22:10 +0000)]
Merge "Use ImageDecoder for BitmapDrawable"
TreeHugger Robot [Fri, 19 Jan 2018 21:54:36 +0000 (21:54 +0000)]
Merge "Clear calling uid in isAppEligibleForBackup() and variant"
TreeHugger Robot [Fri, 19 Jan 2018 21:53:29 +0000 (21:53 +0000)]
Merge "Add validators for all Settings.Secure settings that are backed up"
Android Build Merger (Role) [Fri, 19 Jan 2018 21:48:44 +0000 (21:48 +0000)]
Merge "Merge "Make LTE signal bar thresholds customizable with carrier configuration" am:
8fb3bdc36f am:
5d90d0e2b7 am:
337a9ef04f -s ours"
Jordan Liu [Fri, 19 Jan 2018 21:46:45 +0000 (21:46 +0000)]
Merge "Make LTE signal bar thresholds customizable with carrier configuration" am:
8fb3bdc36f am:
5d90d0e2b7
am:
337a9ef04f -s ours
Change-Id: Icd92f19bbaebd7137dadf86e571954b153dadc65
Roshan Pius [Fri, 19 Jan 2018 21:43:39 +0000 (21:43 +0000)]
Merge changes I8031de0c,I390523b0
* changes:
config.xml: Add configuration to enable/disable
80211AC
config.xml: Add configuration to enable/disable ACS
Siddharth Ray [Fri, 19 Jan 2018 21:40:07 +0000 (21:40 +0000)]
Merge "GPS Signal Quality added to BatteryStats"
Jordan Liu [Fri, 19 Jan 2018 21:36:06 +0000 (21:36 +0000)]
Merge "Make LTE signal bar thresholds customizable with carrier configuration" am:
8fb3bdc36f
am:
5d90d0e2b7
Change-Id: Ia3fe7265126023ec8c2ba5aaa6d09cd1ed1e9c43
Roshan Pius [Fri, 19 Jan 2018 21:33:47 +0000 (21:33 +0000)]
Merge "WifiConfiguration: Add support for auto-selecting AP band"
TreeHugger Robot [Fri, 19 Jan 2018 21:33:22 +0000 (21:33 +0000)]
Merge "fix bug in CpuTimePerUidFreqPuller to pull the correct file"
Jordan Liu [Fri, 19 Jan 2018 21:29:10 +0000 (21:29 +0000)]
Merge "Make LTE signal bar thresholds customizable with carrier configuration"
am:
8fb3bdc36f
Change-Id: Icf95b62e2828de2175b2c9767741138c507c0e5b
Bernardo Rufino [Fri, 19 Jan 2018 20:57:49 +0000 (20:57 +0000)]
Merge "Binding on-demand #11: Dump TransportClients"
Lei Yu [Fri, 19 Jan 2018 20:47:52 +0000 (20:47 +0000)]
Merge "Add metric for restricted app detail page"
Victor Hsieh [Fri, 19 Jan 2018 20:46:23 +0000 (12:46 -0800)]
Fix buffer overflow when the last chunk is 4kb
Test: adb install GtsNetStatsTestCases.apk # works only w/ the patch
Bug:
72189232
Bug:
30972906
Change-Id: I9f01279d783dd5adf31cfda4abd452240ad25ca3
TreeHugger Robot [Fri, 19 Jan 2018 20:43:19 +0000 (20:43 +0000)]
Merge "Fixed the possibility to report rejected touch events"
Mike Digman [Fri, 19 Jan 2018 20:41:51 +0000 (12:41 -0800)]
Send valid and invalid rotation proposal changes to SysUI
SysUI needs a signal to remove active proposals if the proposal
changes to an invalid one.
Test: manual, visual
TreeHugger Robot [Fri, 19 Jan 2018 20:41:45 +0000 (20:41 +0000)]
Merge "Add cluster&active cost to cpu power"
Jordan Liu [Fri, 19 Jan 2018 20:39:43 +0000 (20:39 +0000)]
Merge "Make LTE signal bar thresholds customizable with carrier configuration"
Todd Kennedy [Fri, 19 Jan 2018 20:32:21 +0000 (12:32 -0800)]
Add performance tests for query / get
Bug:
68777480
Test: m CorePerfTests
Test: adb install CorePerfTests.apk
Test: adb shell am instrument -w -e class android.os.PackageManagerPerfTest com.android.perftests.core/android.support.test.runner.AndroidJUnitRunner
Change-Id: I047d9d2e84665fe641a7c354a9f1b16c40f7ff31
nharold [Fri, 19 Jan 2018 20:25:18 +0000 (20:25 +0000)]
Merge "Add Tunnel Interface APIs to IpSecManager" am:
08d07aec50 am:
696cff166c
am:
0174b8afcf
Change-Id: I094751d965b679e85a0f200b2382f1715d69e400
Qingxi Li [Tue, 9 Jan 2018 18:57:38 +0000 (10:57 -0800)]
Change RecoverySystem#wipeEuiccData to public
This function is used to wipe the eSIM profiles from eUICC card which
should not only be called from FDR and also from the network reset. This
CL changes it to hide public API.
Bug:
62961867
Test: TBC
Change-Id: I1d716763720e9a2c897b9e85f95bab562fe150e2
nharold [Fri, 19 Jan 2018 20:16:38 +0000 (20:16 +0000)]
Merge "Add Tunnel Interface APIs to IpSecManager" am:
08d07aec50
am:
696cff166c
Change-Id: I0cd07c51e9512b7e9471e1a09c977fca2bf12e48
Felipe Leme [Thu, 18 Jan 2018 21:38:24 +0000 (13:38 -0800)]
Minor API changes on Autofill Field Classification:
- Removed Scores class and use float[][] directly.
- Created constant for metadata keys.
- Removed getAlgorithName() from FieldClassification.
Bug:
70291841
Test: m -j update-api
Test: atest CtsAutoFillServiceTestCases
Change-Id: I62abf93c4f6f0804d838c7fb183c0b8bcb88a136
TreeHugger Robot [Fri, 19 Jan 2018 20:12:47 +0000 (20:12 +0000)]
Merge "similar to the samplers in batterystats, when we do diff, if the value is not monotically increasing, we should take the absolute value as the diff."
Derek Sollenberger [Fri, 12 Jan 2018 21:40:52 +0000 (16:40 -0500)]
Use ImageDecoder for BitmapDrawable
If required due to density mismatches the ImageDecoder will not
upscale the image at decode time, but instead will decode at the
bitmaps default size and upscale at draw time. This can be a
significant memory savings for low-dpi assets being used on a high-dpi
device.
However, if the provided asset has a higher dpi level than the bitmaps
default density then we will match BitmapFactories behavior and downscale
the bitmap to match the default density.
Bug:
63909536
Test: CtsGraphicsTestCases
Change-Id: I189306b7a3b706bed32bb267970ade27a57c0e7f
nharold [Fri, 19 Jan 2018 20:08:38 +0000 (20:08 +0000)]
Merge "Add Tunnel Interface APIs to IpSecManager"
am:
08d07aec50
Change-Id: I4186bdf52cc1c2c8927ca1a0dd61b71fae236e1a
Nadav Bar [Fri, 19 Jan 2018 20:05:18 +0000 (20:05 +0000)]
Merge "Enable phone apps to mute the VOICE_CALL stream"