OSDN Git Service
Mathew Inwood [Fri, 6 Apr 2018 12:32:42 +0000 (12:32 +0000)]
Merge "Replace ALL_LISTS policy with JUST_WARN." into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 12:28:09 +0000 (12:28 +0000)]
Merge "Revert "Remove deprecated RecoveryController API."" into pi-dev
David Brazdil [Fri, 6 Apr 2018 10:41:15 +0000 (10:41 +0000)]
Merge "Add more API to hiddenapi-vendor-list.txt" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 10:39:52 +0000 (10:39 +0000)]
Merge "Add new APIS to light grey." into pi-dev
Robert Berry [Fri, 6 Apr 2018 10:13:16 +0000 (10:13 +0000)]
Revert "Remove deprecated RecoveryController API."
This reverts commit
0d55aa387a4ec65899fc82a1391e5533c85c3edb.
Reason for revert: aps_sidecar binary is still using some of these @removed APIs. Although HEAD of auth_folsom is fixed, aps_sidecar burned in framework is old.
Bug:
77629807
Change-Id: I2f03c7d12de30cc2eebd91bb65646caaa00fcd1d
Nicolas Geoffray [Fri, 6 Apr 2018 09:44:49 +0000 (09:44 +0000)]
Merge "Revert "Whitelist com.android.perftests.core in am instrument."" into pi-dev
Nicolas Geoffray [Fri, 6 Apr 2018 09:44:07 +0000 (09:44 +0000)]
Merge "Exempt two performance tests from hidden API checks." into pi-dev
David Brazdil [Fri, 6 Apr 2018 09:08:56 +0000 (10:08 +0100)]
Add more API to hiddenapi-vendor-list.txt
Bug:
64382372
Bug:
77278525
Test: make
Change-Id: Ibfeb2c6238e6e992a88a3c056b74c02c85887fad
Nicolas Geoffray [Fri, 6 Apr 2018 09:32:37 +0000 (10:32 +0100)]
Add new APIS to light grey.
bug:
77498122
Test: m
Change-Id: I1562f1f12a966a66c066036ef3b46264af50f054
TreeHugger Robot [Fri, 6 Apr 2018 08:23:07 +0000 (08:23 +0000)]
Merge "Adding more APIs to greylist Test: None" into pi-dev
Stephen [Wed, 4 Apr 2018 15:30:02 +0000 (08:30 -0700)]
Adding more APIs to greylist
Test: None
bug:
74066078
Change-Id: I029754dba43f83d6aff941c02ba1caa7fdd1e18c
Nicolas Geoffray [Fri, 6 Apr 2018 08:20:33 +0000 (09:20 +0100)]
Exempt two performance tests from hidden API checks.
Bug:
64382372
Bug:
74963051
Bug:
76162083
Test: m
Change-Id: I50f2c8993cfb8fc7b78dc8c87b2cd8d9ee92d98e
Erik Kline [Fri, 6 Apr 2018 06:48:25 +0000 (06:48 +0000)]
Merge "Move the logic of (re)evaluation of Private DNS" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 05:13:33 +0000 (05:13 +0000)]
Merge "Extract exif data from mp4 extractor if available" into pi-dev
Rebecca Silberstein [Fri, 6 Apr 2018 04:42:36 +0000 (04:42 +0000)]
Merge "WifiManager: allow setWifiApConfiguration to return false" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 03:48:14 +0000 (03:48 +0000)]
Merge "Persistence of LPP profile" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 02:58:22 +0000 (02:58 +0000)]
Merge "Fix "Screen is pinned" dialog not showing completely in multi-window mode." into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 02:47:22 +0000 (02:47 +0000)]
Merge "Flush the partial bucket when startd shuts down or config updated." into pi-dev
Erik Kline [Wed, 21 Mar 2018 14:18:33 +0000 (07:18 -0700)]
Move the logic of (re)evaluation of Private DNS
Moves this out of ConnectivityService and into each NetworkMonitor
(where it's more self-contained).
Test: as follows
- builds, flashes, boots
- runtest frameworks-net passes
- manual testing with working and non-working hostnames behaves
somewhat (but not entirely) as expected, and not always quickly
Bug:
64133961
Bug:
72345192
Bug:
73872000
Bug:
77140445
Merged-In: I5dc90ecfe6f6f10967b7501645ad8e030cb38982
Merged-In: Ida4967d22f0781524f0f269e30e653b8ec867258
Change-Id: Ic4322af3cb49149f2d975cb31f54b2ac7927f907
(cherry picked from commit
736353a584aa89a29e737e21e29c49fad0d38a63)
Yangster-mac [Wed, 4 Apr 2018 07:01:43 +0000 (00:01 -0700)]
Flush the partial bucket when startd shuts down or config updated.
Test: statsd test
BUG: b/
77556036
Change-Id: Ie4a04ace55e07c4529cdff5906ba874f8815f620
TreeHugger Robot [Fri, 6 Apr 2018 00:52:32 +0000 (00:52 +0000)]
Merge "Unhide constructors of DataService and NetworkService." into pi-dev
Kevin Chyn [Fri, 6 Apr 2018 00:45:10 +0000 (00:45 +0000)]
Merge "FingerprintDialogView sets visibility incorrectly" into pi-dev
Tracy Zhou [Thu, 5 Apr 2018 22:38:34 +0000 (15:38 -0700)]
Fix "Screen is pinned" dialog not showing completely in multi-window
mode.
Fixes:
73513388
Test: manual test
Change-Id: Iaa3e30399b7f12de2c6071cbe35c7bdff92f64a0
TreeHugger Robot [Fri, 6 Apr 2018 00:23:52 +0000 (00:23 +0000)]
Merge "Update IpSecManager to use InetAddress and prefixLen" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 00:21:30 +0000 (00:21 +0000)]
Merge "[Notif] Disable animations as screen is powering off" into pi-dev
Kodlee Yin [Fri, 6 Apr 2018 00:14:55 +0000 (00:14 +0000)]
Merge "Include ServiceRecord in foreground service exception exception text." into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 23:57:11 +0000 (23:57 +0000)]
Merge "Ensured that the reply icon isn't showing on HUNS" into pi-dev
David Chen [Thu, 5 Apr 2018 23:43:45 +0000 (23:43 +0000)]
Merge "Fix uid map to be simpler and fix partial bucket." into pi-dev
Kevin Chyn [Thu, 5 Apr 2018 18:33:12 +0000 (11:33 -0700)]
FingerprintDialogView sets visibility incorrectly
Fixes:
77640780
Test: manual test with FingerprintDialog apk, with varying descriptions
and subtitles
Change-Id: I981f7334355d4e2d6dde3861349ec61d70ebb4a1
TreeHugger Robot [Thu, 5 Apr 2018 23:34:35 +0000 (23:34 +0000)]
Merge "Fix issue with quickstep recents button not unlocking before entering PIP." into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 23:28:19 +0000 (23:28 +0000)]
Merge "Implements GNSS satellite blacklist" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 23:25:56 +0000 (23:25 +0000)]
Merge "Fix ActivityStartInterceptor tests" into pi-dev
David Chen [Thu, 5 Apr 2018 02:02:50 +0000 (19:02 -0700)]
Fix uid map to be simpler and fix partial bucket.
The previous scheme captured periodic snapshots for each config with
complex logic that's unnecessary and wasted memory. We actually don't
need to store any snapshots since we just convert the current state
into a snapshot and also include the deltas (change events) since the
previous report until now.
To make the system more robust, we also include up to 100 of the
deleted apps in the uid map.
Also, fix the wiring of the partial buckets so the metric producers
form partial buckets on both app upgrade and removal, but not on
installation of a new app.
Also, we update StatsCompanionService to also include disabled apps.
Bug:
77607583
Test: Verified unit-tests pass and added new e2e tests.
Change-Id: I98e1f544d6e6571545ae1581c4cebab807596f51
TreeHugger Robot [Thu, 5 Apr 2018 22:42:39 +0000 (22:42 +0000)]
Merge "Never scale nine-patches in ImageDecoder" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 22:42:34 +0000 (22:42 +0000)]
Merge "Update mFirstVisibleIconState correctly" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 22:22:41 +0000 (22:22 +0000)]
Merge "Don't hide the mobile type id if it doesn't change" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 22:21:23 +0000 (22:21 +0000)]
Merge "Use #fff for ethernet signal indicators" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 22:07:30 +0000 (22:07 +0000)]
Merge "Add metrics constant for wifi scanning dialog" into pi-dev
Malcolm Chen [Tue, 3 Apr 2018 18:48:56 +0000 (11:48 -0700)]
Unhide constructors of DataService and NetworkService.
DataService and NetworkService are System level classes. We shouldn't
hide their constructors otherwise their System level sub-class
can't be instantiated properly.
Test: gts
Bug:
77531655
Change-Id: I1a58b4857dbcf939ac124e20eb0a801ad5a9b597
Ben Gruver [Wed, 7 Mar 2018 21:24:18 +0000 (13:24 -0800)]
Fix ActivityStartInterceptor tests
This adds the SET_HARMFUL_APPS_WARNINGS permission required by
interceptHarmfulAppIfNeeded, and mocks out the new PackageManager calls
used by it
Test: atest ActivityStartInterceptorTest
Bug:
77607079
Change-Id: Iea9c183078261b03be984ba4e0fad271f1548945
Merged-In: Iea9c183078261b03be984ba4e0fad271f1548945
(cherry picked from commit
eb8fd1c68220bf771167051108a4f89a0eccec40)
Vishwath Mohan [Thu, 5 Apr 2018 21:23:32 +0000 (21:23 +0000)]
Merge "Rename BiometricDialog to BiometricPrompt." into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 21:17:52 +0000 (21:17 +0000)]
Merge "Allow OEMs to restrict access to secondary display" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 21:15:19 +0000 (21:15 +0000)]
Merge "Activity interceptor dialog for suspended apps" into pi-dev
Evan Laird [Thu, 5 Apr 2018 21:13:18 +0000 (17:13 -0400)]
Use #fff for ethernet signal indicators
Tinting is controlled by the icon manager now, so intrinsic tinting of
the icon isn't needed
Test: visual when connected to ethernet;
Change-Id: I7c97ad13084e55974b65223fcfe4e027aa343d49
Fixes:
77551489
Kodlee Yin [Thu, 5 Apr 2018 19:59:56 +0000 (12:59 -0700)]
Include ServiceRecord in foreground service exception exception text.
Test: manual verification of logcat using test service that doesn't conform to foreground service rules
Bug:
77647171
Change-Id: Ie35029838359d83c31ea4e3b2faa166ac8aeec47
TreeHugger Robot [Thu, 5 Apr 2018 20:44:58 +0000 (20:44 +0000)]
Merge "Rename set/get-ConserveMemory" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 20:41:24 +0000 (20:41 +0000)]
Merge "Add @TestApi for field needed for test" into pi-dev
Lucas Dupin [Thu, 5 Apr 2018 20:35:05 +0000 (20:35 +0000)]
Merge "Darker scrim under unlocked shade" into pi-dev
Salvador Martinez [Wed, 4 Apr 2018 21:45:42 +0000 (14:45 -0700)]
Add metrics constant for wifi scanning dialog
This CL simply adds a metrics proto constant for the new dialog
that shows up if you try to tunr on auto-wifi without first
enabling wifi scanning.
Test: robotests still pass
Bug:
67070896
Change-Id: I9a4e0fa105e67d666e2e34588bea037034a28784
Evan Laird [Thu, 5 Apr 2018 20:22:36 +0000 (16:22 -0400)]
Don't hide the mobile type id if it doesn't change
_Someone_ thought it would be a good idea to hide the mobile type
indicator if it hadn't changed from the last state. Better to not do
that.
Also removed an unused method in StatusBarIconControllerImpl.
Test: Reboot device with wifi off; data type indicator should show up
eventually; i.e., visual
Fixes:
77581445
Change-Id: I47a0c868b0e332c11e206b8c043a532bcbf10130
Wale Ogunwale [Thu, 5 Apr 2018 20:21:33 +0000 (20:21 +0000)]
Merge "Show Recents if we are bringing a task forward in split-screen-primary" into pi-dev
Rohan Shah [Thu, 5 Apr 2018 18:13:50 +0000 (11:13 -0700)]
[Notif] Disable animations as screen is powering off
When showing an incog notification, it's getting added to the remove
anims, but the screen is turning off and animations are never getting
run (which means the transient view gets added but it doesn't get
removed).
The root cause is notifications clear temporary views in the power on
(due to collapse animations), but don't clear them when unlocking via
fingerprint.
Fixed by clearing remove animation setup (where transient views are
used) when disabling animations. This will stop the transient views from
being held on post-screen off/when animations are disabled.
Test: Visually with logging (tested before & after)
Test: Dumped hierarchy and checked that transient views weren't being mismanaged
Fixes:
77217401
Change-Id: I48835e45fd76c5e74810f5256c14b0c4c2ca3ec4
Lucas Dupin [Thu, 5 Apr 2018 19:48:43 +0000 (12:48 -0700)]
Update mFirstVisibleIconState correctly
Test: visual
Change-Id: I4b6ca09b6bb8241791126f057de6d173ddd7eac0
Fixes:
77634935
Kevin Han [Thu, 5 Apr 2018 19:33:55 +0000 (19:33 +0000)]
Merge "Turn off notification in-line images for low ram devices" into pi-dev
Rob Carr [Thu, 5 Apr 2018 19:03:29 +0000 (19:03 +0000)]
Merge "Forward Activity stop signal to attached windows." into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 18:50:35 +0000 (18:50 +0000)]
Merge "ConfirmationPrompt: Update for API review." into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 18:48:59 +0000 (18:48 +0000)]
Merge "This cl tries to fix cts tests IncidentdTest" into pi-dev
Richard Ledley [Thu, 5 Apr 2018 18:45:45 +0000 (18:45 +0000)]
Merge "Add null check for Nullable argument." into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 18:42:33 +0000 (18:42 +0000)]
Merge "Remove haptics on navbar and only have button haptics on touch up" into pi-dev
Chong Zhang [Wed, 4 Apr 2018 20:35:59 +0000 (13:35 -0700)]
Extract exif data from mp4 extractor if available
Query the extractor for the exif data offset and length,
if it's available, read the exif block from the file.
Otherwise, set image dimension and rotation only.
bug:
76149934
Change-Id: I85f24b526fb356a9227941e20807fc96369c8536
Hall Liu [Thu, 5 Apr 2018 18:15:37 +0000 (18:15 +0000)]
Merge "Move RTT system setting to Settings.Secure" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 18:04:18 +0000 (18:04 +0000)]
Merge "Retry logs write when it fails. Report skipped event in statsd." into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 18:01:52 +0000 (18:01 +0000)]
Merge "Reduce log spam in TimeSparseArray" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 17:56:53 +0000 (17:56 +0000)]
Merge "BugFix: Config TTL" into pi-dev
Vishwath Mohan [Thu, 5 Apr 2018 17:28:24 +0000 (10:28 -0700)]
Rename BiometricDialog to BiometricPrompt.
Renamed to BiometricPrompt per API-council feedback.
Bug:
77494933
Test: m -j70
Change-Id: Ifed2b8f3439a7e671e0ce46d3a7db9f24871b16a
Benedict Wong [Wed, 4 Apr 2018 03:30:54 +0000 (20:30 -0700)]
Update IpSecManager to use InetAddress and prefixLen
LinkAddress constructors are currently @hide; this change updates
IpSecManager to use InetAddress and prefixLen, and then construct a
LinkAddress internally. LinkAddress is used over the binder interface to
IpSecService to ensure validity.
Bug:
77528639
Test: CTS, Java unit tests ran on walleye
Change-Id: I19e124adef6d9f4992d8293db3190bcf74c95848
TreeHugger Robot [Thu, 5 Apr 2018 17:37:21 +0000 (17:37 +0000)]
Merge "Add new hidden APIs." into pi-dev
Wale Ogunwale [Thu, 5 Apr 2018 17:25:59 +0000 (10:25 -0700)]
Show Recents if we are bringing a task forward in split-screen-primary
Regression caused by ag/
3288245
Change-Id: Ie21d7d57d62658ea5b0db255902dc22517ef3ae7
Fixes:
76109079
Test: steps from bug
TreeHugger Robot [Thu, 5 Apr 2018 17:24:26 +0000 (17:24 +0000)]
Merge "Only move PIP window if PIP is not way above shelf/IME." into pi-dev
Lucas Dupin [Thu, 5 Apr 2018 17:21:26 +0000 (17:21 +0000)]
Merge "Misc bouncer fixes" into pi-dev
Kevin [Thu, 5 Apr 2018 17:17:45 +0000 (10:17 -0700)]
Turn off notification in-line images for low ram devices
Bug:
77598694
Change-Id: Icdd4c2ef790d2d657f7670fa8c1b8b39b7aa62e4
Fix:
77598694
Test: manual, tested notification on gobo and sailfish
Lucas Dupin [Thu, 5 Apr 2018 17:00:31 +0000 (10:00 -0700)]
Darker scrim under unlocked shade
Test: visual
Change-Id: I21a1d035117d88ba580441b002133e380429e5a5
Fixes:
77224997
TreeHugger Robot [Thu, 5 Apr 2018 17:07:14 +0000 (17:07 +0000)]
Merge "Fixes non-web AIA internal launch" into pi-dev
Jan Althaus [Thu, 5 Apr 2018 16:53:17 +0000 (16:53 +0000)]
Merge "Makes TCS methods non-abstract" into pi-dev
Leon Scroggins III [Wed, 4 Apr 2018 20:19:33 +0000 (16:19 -0400)]
Never scale nine-patches in ImageDecoder
Bug:
76448902
Bug:
70889348
Test: Manual + CtsThemeHostTestCases
(Ica5e7e81848c3880accee922ee6f1cc9e26262ca)
Scaling a nine-patch requires scaling its divs. When the scale factor is
not an integer, we have to round. This gets out of sync with the way the
decoder scaled the image, resulting in stretching or keeping fixed the
wrong portions of the image. Making this worse, when we scale down, we
end up with divs colliding with each other, and we have to arbitrarily
adjust them further so they do not collide.
NinePatchDrawable and the drawing code already know how to handle
drawing from the originally-sized image and do a better job stretching
appropriately, so allow them to do their job.
We already do something similar for Bitmaps created by ImageDecoder on
apps targeting P and above - instead of scaling them up, we allow the
BitmapDrawable's scaling code to handle density differences. We
preserved the old behavior (scale up) on apps targeting pre-P because
those apps may rely on the size of the Bitmap contained in a
BitmapDrawable without accounting for its density (see Bug:
74061412).
But that is not an issue for NinePatchDrawables, which do not allow
peeking at their internal Bitmaps.
Rewrite ImageDecoder.computeDensity. There is no need for it to be
static, since it takes an ImageDecoder as a parameter and reads its
fields, including the new field mIsNinePatch. Set mIsNinePatch in the
constructor to avoid another down call into native. Split up the
conditions that result in returning srcDensity without calling
setTargetSize for clarity.
Remove ImageDecoder constructor from the graylist. It was accidentally
added due to the fact that it is called transitively from public APIs.
Change-Id: I3c5ddd67f3352c991515f30ce1c477c9a608833f
Pavel Maltsev [Wed, 4 Apr 2018 17:14:55 +0000 (10:14 -0700)]
Allow OEMs to restrict access to secondary display
This is crucial for automotive use-cases when OEMs want to restrict
access to instrument cluster display by third-party apps
Bug:
28864915
Bug:
70840956
Test: manually verify that secondary display with private flag is not
accessible by third-party apps and accessible to apps with system uid
Change-Id: I39e36c2ea73d879a4c7b01220ae852298d868fd5
Marco Nelissen [Mon, 2 Apr 2018 16:04:37 +0000 (09:04 -0700)]
Add @TestApi for field needed for test
Also update truncated comment.
Bug:
13249737
Bug:
77485791
Test: CTS
Change-Id: I1351a6ef28dfd7e881f32830c436315ffdbfffaa
Dongwon Kang [Thu, 5 Apr 2018 16:33:39 +0000 (16:33 +0000)]
Merge "Add OnMediaTimeDiscontinuity notification" into pi-dev
Richard Ledley [Thu, 5 Apr 2018 12:39:43 +0000 (13:39 +0100)]
Add null check for Nullable argument.
Test: bit CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest FrameworksCoreTests:android.view.textclassifier.TextLinksTest
Bug:
77624093
Change-Id: I527c4e7f6758c699d4d4e7258cf8474f833040c7
Nicolas Geoffray [Thu, 5 Apr 2018 16:29:42 +0000 (17:29 +0100)]
Add new hidden APIs.
bug:
77527994
Test: m
Change-Id: Iebdab9d09c4d4531cfdfed6c3e363d68ed407ef1
TreeHugger Robot [Thu, 5 Apr 2018 16:20:25 +0000 (16:20 +0000)]
Merge "Copy ApplicationInfo#versionCode field" into pi-dev
Tracy Zhou [Thu, 5 Apr 2018 06:45:26 +0000 (23:45 -0700)]
Only move PIP window if PIP is not way above shelf/IME.
Change-Id: I650a94f40cd1ab0fbc40a2aaccce9d019ff0d6f1
Fixes:
77526420
Test: manual test
Yu-Han Yang [Mon, 12 Mar 2018 00:17:15 +0000 (17:17 -0700)]
Implements GNSS satellite blacklist
Bug:
38269641
Test: m -j ROBOTEST_FILTER=GnssSatelliteBlacklistHelperTest RunFrameworksServicesRoboTests
Test: atest SettingsBackupTest
Test: Tested with adb on device
Change-Id: Ifaa330bf74353ea5c8826f0000d1935258b8dbf2
TreeHugger Robot [Thu, 5 Apr 2018 15:30:54 +0000 (15:30 +0000)]
Merge "Show work notifications in the shade unless on keyguard." into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 15:29:27 +0000 (15:29 +0000)]
Merge "[QS] Update landscape UI" into pi-dev
Mathew Inwood [Thu, 5 Apr 2018 14:44:20 +0000 (15:44 +0100)]
Replace ALL_LISTS policy with JUST_WARN.
It seems pretty unlikely that we'd ever want to disallow access to the
light greylist in P, since doing do would break do many apps. We don't need
this policy here as an opt-in for apps now, since the StrictMode work will
achieve the same thing.
Instead, make a "just warn" policy which allows access to all APIs, but
leaves the detection and logging logic in place. This gives us the option
of disabling enforcement, but still gathering logs to find out which apps
use which APIs.
Bug:
77517571
Test: Boot device
Test: Hardcode policy of HIDDEN_API_ENFORCEMENT_JUST_WARN and verify log
Change-Id: I588f347716a79ac5887b74763c8afc16b3be699b
Jan Althaus [Wed, 4 Apr 2018 11:56:40 +0000 (13:56 +0200)]
Makes TCS methods non-abstract
This only affects System API
Bug:
77563695
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Test: bit CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationTest
Test: bit FrameworksCoreTests:android.view.textclassifier.TextSelectionTest
Test: bit FrameworksCoreTests:android.view.textclassifier.TextLinksTestBug:
Change-Id: Ie927ffe3a4678b7a622c139a5431b89e8f22c6e4
TreeHugger Robot [Thu, 5 Apr 2018 14:43:32 +0000 (14:43 +0000)]
Merge "Added adb commands to set and reset brightness." into pi-dev
Milo Sredkov [Thu, 5 Apr 2018 14:07:52 +0000 (14:07 +0000)]
Merge "Require screen to be unlocked for smart replies" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 13:41:17 +0000 (13:41 +0000)]
Merge "StrictMode: Add support for warning on non SDK API usage." into pi-dev
Leon Scroggins [Thu, 5 Apr 2018 13:29:38 +0000 (13:29 +0000)]
Merge "Add docs for setTargetSize and setTargetSampleSize" into pi-dev
Milo Sredkov [Wed, 4 Apr 2018 15:13:28 +0000 (16:13 +0100)]
Require screen to be unlocked for smart replies
Currently tapping on a smart reply works even when the screen is
locked. To make it consistent with inline replies, require the screen
to be unlocked before sending the reply.
Bug:
76217177
Test: atest SmartReplyViewTest
Change-Id: I3af8a0411537503650fb9f83cd99f65900e700e0
Dan Gittik [Wed, 28 Mar 2018 11:19:38 +0000 (12:19 +0100)]
Added adb commands to set and reset brightness.
adb shell cmd display set-brightness BRIGHTNESS command sets the
screen brightness programatically.
adb shell cmd display reset-brightness resets the brightness
configuration to the default configuration.
Test: run "adb shell cmd display set-brightness <number>" and watch
the magic happen.
Test: run "adb shell cmd jobscheduler run -f
com.google.android.apps.turbo 104" to push a new configuration,
then run "adb shell cmd display reset-brightness-configuration"
to reset it. If it's not noticable enough, you can manually
edit /data/system/display-manager-state.xml: for example, set
nits="0.0" for all the <brightness-point />s in the
<brightness-curve /> to make it as dark as posible.
Fixes:
77574628
Change-Id: I37e19c1e662370e60c9f616a3710780f16418620
TreeHugger Robot [Thu, 5 Apr 2018 11:26:25 +0000 (11:26 +0000)]
Merge "Catch IAE from unbind onServiceDisconnected()" into pi-dev
Mathew Inwood [Thu, 5 Apr 2018 10:43:12 +0000 (10:43 +0000)]
Merge "Exempt platform-cert signed apps from hidden API checks." into pi-dev
Bernardo Rufino [Thu, 5 Apr 2018 10:03:39 +0000 (11:03 +0100)]
Catch IAE from unbind onServiceDisconnected()
We still don't know the underlying cause of this, but we shouldn't crash
the system_server. Catching for now.
Bug:
74940472
Bug:
77574274
Test: m -j RunFrameworksServicesRoboTests
Change-Id: I36fc2e65f8766f6b8fd68104d8830b72668d84eb
TreeHugger Robot [Thu, 5 Apr 2018 10:03:22 +0000 (10:03 +0000)]
Merge "MediaController: Fix annotation of Callback#onPlaybackStateChanged()" into pi-dev
Rubin Xu [Thu, 5 Apr 2018 09:38:28 +0000 (09:38 +0000)]
Merge "Device ID attestation: Add feature flag." into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 07:27:33 +0000 (07:27 +0000)]
Merge "Don't call into phone process with lock held." into pi-dev
Richard Ledley [Thu, 5 Apr 2018 05:46:53 +0000 (05:46 +0000)]
Merge "Use Collection instead of List for entity list" into pi-dev