OSDN Git Service
TreeHugger Robot [Thu, 1 Mar 2018 01:29:22 +0000 (01:29 +0000)]
Merge "Auto set summary on preference during updateState"
TreeHugger Robot [Thu, 1 Mar 2018 01:27:16 +0000 (01:27 +0000)]
Merge "Add attr for customizing progress bar corner radius."
TreeHugger Robot [Thu, 1 Mar 2018 01:26:14 +0000 (01:26 +0000)]
Merge "NEW API: Add Image.getHardwareBuffer()"
TreeHugger Robot [Thu, 1 Mar 2018 01:11:35 +0000 (01:11 +0000)]
Merge "Finish ops started on behalf of a removed package."
TreeHugger Robot [Thu, 1 Mar 2018 01:11:25 +0000 (01:11 +0000)]
Merge "Use start/finish app ops in window manager"
TreeHugger Robot [Thu, 1 Mar 2018 01:06:38 +0000 (01:06 +0000)]
Merge "addModemTxPowerToHistory() made synchronized"
Jean-Michel Trivi [Thu, 1 Mar 2018 00:57:31 +0000 (00:57 +0000)]
Merge "Ringtone: unhide looping and volume control"
TreeHugger Robot [Thu, 1 Mar 2018 00:54:51 +0000 (00:54 +0000)]
Merge "Rename dumpsys protos to make platform proto names consistent."
TreeHugger Robot [Thu, 1 Mar 2018 00:41:50 +0000 (00:41 +0000)]
Merge "Fixes set lock task (and screen pinning) state with/out quickstep"
Joe Maples [Thu, 1 Mar 2018 00:09:25 +0000 (00:09 +0000)]
Merge "pm: Fix typo in error" am:
a12e18bcd1 am:
a79fef132b
am:
1ec4c3b3b1
Change-Id: I9d1b48c0852bc75108ab72cd4c58c08a43b62a8b
Joe Maples [Thu, 1 Mar 2018 00:00:13 +0000 (00:00 +0000)]
Merge "pm: Fix typo in error" am:
a12e18bcd1
am:
a79fef132b
Change-Id: I45fa701a8f9e727e1a072f4f6dd773bba0de01aa
Joe Maples [Wed, 28 Feb 2018 23:49:49 +0000 (23:49 +0000)]
Merge "pm: Fix typo in error"
am:
a12e18bcd1
Change-Id: I924eef635de153a0277da49c804f2c7dc1c97a4d
TreeHugger Robot [Wed, 28 Feb 2018 23:46:32 +0000 (23:46 +0000)]
Merge "Add metrics event for recent location requests"
TreeHugger Robot [Wed, 28 Feb 2018 23:41:45 +0000 (23:41 +0000)]
Merge "Restore AutofillId when view is restored from a bundle."
TreeHugger Robot [Wed, 28 Feb 2018 23:22:30 +0000 (23:22 +0000)]
Merge "Update battery discharging strings"
TreeHugger Robot [Wed, 28 Feb 2018 23:19:13 +0000 (23:19 +0000)]
Merge "More work on issue #
73301635: Ability to extract device configuration"
TreeHugger Robot [Wed, 28 Feb 2018 23:18:52 +0000 (23:18 +0000)]
Merge "Delay the initial package checking in MediaUpdateService"
TreeHugger Robot [Wed, 28 Feb 2018 23:11:37 +0000 (23:11 +0000)]
Merge "WebView: relax URLUtil#isFileUrl()"
TreeHugger Robot [Wed, 28 Feb 2018 23:11:27 +0000 (23:11 +0000)]
Merge "WM: Split portrait and landscape status bar size"
TreeHugger Robot [Wed, 28 Feb 2018 23:05:09 +0000 (23:05 +0000)]
Merge "Fix heap buffer overflow"
Treehugger Robot [Wed, 28 Feb 2018 22:38:24 +0000 (22:38 +0000)]
Merge "pm: Fix typo in error"
TreeHugger Robot [Wed, 28 Feb 2018 22:34:58 +0000 (22:34 +0000)]
Merge "Associate TCconstants with the TCM instead of TCImpl"
TreeHugger Robot [Wed, 28 Feb 2018 22:28:30 +0000 (22:28 +0000)]
Merge "Added an api to query ForcedAppStandby state"
Mathias Agopian [Wed, 21 Feb 2018 02:32:22 +0000 (18:32 -0800)]
NEW API: Add Image.getHardwareBuffer()
This mirror the corresponding NDK API. For some
reason this was missing from the java version
of Image.
Bug:
73784759
Test: manual
Change-Id: Iafa6dedda809fe38ea4453d9873d1ba886f88481
TreeHugger Robot [Wed, 28 Feb 2018 22:09:34 +0000 (22:09 +0000)]
Merge "Tag foreground notis that use certain services"
TreeHugger Robot [Wed, 28 Feb 2018 21:59:47 +0000 (21:59 +0000)]
Merge "Toggle READ_BINARY_CPU_TIME"
Siddharth Ray [Wed, 28 Feb 2018 21:46:16 +0000 (13:46 -0800)]
addModemTxPowerToHistory() made synchronized
BUG:
73818082
Change-Id: Ie0cce10d993a696c5e915e8ef62a66f2cd453197
TreeHugger Robot [Wed, 28 Feb 2018 21:54:03 +0000 (21:54 +0000)]
Merge "Add component ordering"
Matthew Ng [Tue, 27 Feb 2018 21:47:38 +0000 (13:47 -0800)]
Fixes set lock task (and screen pinning) state with/out quickstep
When quickstep is enabled, ensures that the home button is gone when
locked to task without home access and prevents quickstep when overview
access is disabled. When quickstep is disabled, fixes recents visibility
according to overview access. Also prevent screen pinning after locking
task to app.
Bug:
72799389
Fixes:
73886663
Test: manual - use quickstep when locked to task
Change-Id: Iacfa0b12374217511602cee6c2ca5ceafd6e2964
Fan Zhang [Wed, 28 Feb 2018 01:13:20 +0000 (17:13 -0800)]
Auto set summary on preference during updateState
Change-Id: Ibc24f3f041841d9fe7d53674a672bc2bacad895b
Fixes:
73950519
Test: robotests
TreeHugger Robot [Wed, 28 Feb 2018 21:22:30 +0000 (21:22 +0000)]
Merge "slice() the ByteBuffer passed to ImageDecoder"
TreeHugger Robot [Wed, 28 Feb 2018 21:18:55 +0000 (21:18 +0000)]
Merge "[Companion] Stop scanning after 20sec timeout"
Jean-Michel Trivi [Mon, 26 Feb 2018 17:50:59 +0000 (09:50 -0800)]
Ringtone: unhide looping and volume control
Also clean up whitespace in file.
Bug:
22182606
Test: adb shell clrgt --loop true --volume 50
Change-Id: I937b678f72b4a47b0f02b3124669e2de5e743033
Android Build Merger (Role) [Wed, 28 Feb 2018 20:53:04 +0000 (20:53 +0000)]
Merge "Merge "Mark EUICC_PROVISIONED as @SystemApi." am:
4b5680b6fa am:
41fa5ff101 am:
a64db1336d -s ours"
Holly Jiuyu Sun [Wed, 28 Feb 2018 20:52:39 +0000 (20:52 +0000)]
Merge "Mark EUICC_PROVISIONED as @SystemApi." am:
4b5680b6fa am:
41fa5ff101
am:
a64db1336d -s ours
Change-Id: Icdff2b0bf538f1da59acc7757871e2fa3b01e0e0
Leon Scroggins [Wed, 28 Feb 2018 20:51:43 +0000 (20:51 +0000)]
Merge "Fixes for YuvToJpegEncoder::encode"
TreeHugger Robot [Wed, 28 Feb 2018 20:47:32 +0000 (20:47 +0000)]
Merge "Reset bouncer instead of just hiding it"
Svet Ganov [Wed, 28 Feb 2018 04:08:01 +0000 (20:08 -0800)]
Finish ops started on behalf of a removed package.
Two issues here - ops stated for a package that went away
by another package were not marked as finished. And when
the process that started the ops died we did not finish
all nested ops.
Test: atest android.permission.cts.AppOpsTest
bug:
64085448
Change-Id: Id57b3043605a65f2dfc1eea50b81793dd86f58d1
Holly Jiuyu Sun [Wed, 28 Feb 2018 20:38:13 +0000 (20:38 +0000)]
Merge "Mark EUICC_PROVISIONED as @SystemApi." am:
4b5680b6fa
am:
41fa5ff101
Change-Id: Ie737a298f1ab342d571e150be452a9590e623052
Andrii Kulian [Wed, 28 Feb 2018 20:29:23 +0000 (20:29 +0000)]
Merge "Use post-execution state for lifecycle callback sequences"
Jeff Sharkey [Wed, 28 Feb 2018 20:29:01 +0000 (20:29 +0000)]
Merge "More robust @RequiresPermission handling."
Holly Jiuyu Sun [Wed, 28 Feb 2018 20:24:08 +0000 (20:24 +0000)]
Merge "Mark EUICC_PROVISIONED as @SystemApi."
am:
4b5680b6fa
Change-Id: I7e3542edd0d092d6b0a7bc10b80b0565dfefda7e
TreeHugger Robot [Wed, 28 Feb 2018 20:22:59 +0000 (20:22 +0000)]
Merge "[AWARE] Add target API check to the Responder to ANYONE config"
Jason Monk [Wed, 28 Feb 2018 20:01:09 +0000 (20:01 +0000)]
Merge "Add APIs to look into whats in an Icon"
TreeHugger Robot [Wed, 28 Feb 2018 19:55:15 +0000 (19:55 +0000)]
Merge "deprecate EmbossMaskFilter"
Mike Ma [Wed, 28 Feb 2018 19:51:56 +0000 (11:51 -0800)]
Toggle READ_BINARY_CPU_TIME
Test: N/A
Change-Id: I41403c16feffa61dd4e3ae13498ff63b26a1d4b2
TreeHugger Robot [Wed, 28 Feb 2018 19:37:05 +0000 (19:37 +0000)]
Merge "Avoid reading logs that were processed before."
TreeHugger Robot [Wed, 28 Feb 2018 19:33:25 +0000 (19:33 +0000)]
Merge "Include slider events from managed profile."
Dianne Hackborn [Wed, 28 Feb 2018 01:16:37 +0000 (17:16 -0800)]
More work on issue #
73301635: Ability to extract device configuration
Now include Gl extensions (thanks to whoever wrote the code
I copied!).
Tweak the protos a bit to include missing info and correct
some things.
Add some new test APIs that are needed for CTS.
Bug:
73301635
Test: atest CtsActivityManagerDeviceTestCases:ActivityManagerGetConfigTests
Change-Id: Ie3f8173d217468246e8b6c7f45b7cbfcb352d60f
Yi Jin [Wed, 28 Feb 2018 19:25:58 +0000 (11:25 -0800)]
Fix heap buffer overflow
Bug:
74000767
Test: manual
Change-Id: Id57674c0ae527da055a06acf4f458c440328c5c3
Felipe Leme [Tue, 27 Feb 2018 21:59:14 +0000 (13:59 -0800)]
Restore AutofillId when view is restored from a bundle.
Test: atest \
CtsAutoFillServiceTestCases:android.autofillservice.cts.MultiWindowLoginActivityTest \
CtsAutoFillServiceTestCases:android.autofillservice.cts.DuplicateIdActivityTest \
CtsAutoFillServiceTestCases:android.autofillservice.cts.SessionLifecycleTest
Test: atest CtsAutoFillServiceTestCases # Although it has unrelated failures
Fixes:
73950415
Fixes:
73963360
Change-Id: I60e882d856b5623c3ee4de9ed8dae8dad8dc0f65
TreeHugger Robot [Wed, 28 Feb 2018 19:05:29 +0000 (19:05 +0000)]
Merge "Allow chaining ImageDecoder's setters"
Julia Reynolds [Wed, 21 Feb 2018 17:25:27 +0000 (12:25 -0500)]
Tag foreground notis that use certain services
- Draw over other apps
- Camera
- Microphone
The icons are not yet clickable, and the system 'drawing over
other apps' notification still appears even when the app's
notification is tagged.
Test: runtest systemui
Bug:
64085448
Change-Id: Ib3b0cdd9adced82f562f256cb81af80dc395440d
TreeHugger Robot [Wed, 28 Feb 2018 18:47:03 +0000 (18:47 +0000)]
Merge "setPreferRamOverQuality -> setConserveMemory"
Joe Maples [Thu, 11 Jan 2018 16:09:46 +0000 (11:09 -0500)]
pm: Fix typo in error
instnat -> instant
Change-Id: Ie2f06840575fc266e3510252635ad17be65945b8
Signed-off-by: Joe Maples <joe@frap129.org>
Android Build Merger (Role) [Wed, 28 Feb 2018 18:33:03 +0000 (18:33 +0000)]
Merge "Merge "Delay starting the webview_zygote until first use." am:
6d9d717ab7 am:
99440a0ab8 am:
92697692b3"
Robert Sesek [Wed, 28 Feb 2018 18:32:39 +0000 (18:32 +0000)]
Merge "Delay starting the webview_zygote until first use." am:
6d9d717ab7 am:
99440a0ab8
am:
92697692b3
Change-Id: I4f810427f083d9b7874df7d90fc00a33967d9323
TreeHugger Robot [Wed, 28 Feb 2018 18:32:23 +0000 (18:32 +0000)]
Merge "Log app start memory state in background"
Yi Jin [Tue, 20 Feb 2018 23:41:47 +0000 (15:41 -0800)]
Rename dumpsys protos to make platform proto names consistent.
All the other dumpsys use XXXServiceDumpProto or XXXDumpProto other
than ones modified here.
The name convention is if the proto describes the top level output of dumpsys,
it should contain `Dump`. This makes the consumer easy to understand the proto
is from dumpsys of a certain service, not data structure of
the service, e.g. WindowManagerServiceProto ->
WindowManagerServiceDumpProto.
Another change here is ActivityManagerService has 4 sub dump protos, so
the top level for each one should be a DumpProto instead of its internal
data struture, e.g. ActivityStackSupervisorProto will just be a field of
AmServiceDumpActivitiesProto, which `dumpsys --proto activities` used to
output ActivityStackSupervisorProto directly.
Bug:
72474563
Test: manual and CTS tests
Change-Id: I1e1ac032d27591083bb5b1b19aac82804215472a
Leon Scroggins III [Wed, 28 Feb 2018 18:23:32 +0000 (13:23 -0500)]
Fixes for YuvToJpegEncoder::encode
Bug:
70969260
Test: Existing CTS tests
Call jpeg_destroy_compress after compression (and failure), eliminating
a memory leak.
In addition, use a custom method for handling errors. skjpeg_error_exit
was previously used, but that method expects a skjpeg_error_mgr, which
isn't used here. skjpeg_error_mgr is more complex than necessary; it
allows for multiple methods to set their own jmp_bufs, even if they call
each other. The entire compression here is contained in one method. The
code for handling this single jmp_buf is simple, so no need to share
code.
This is a follow-on to If9a33ed10ea60131906a632a7030e0b69a21f4ea, which
removed skjpeg_error_mgr, but incorrectly left the skjpeg_error_exit.
Change-Id: Ib76e07ae0d29b093d3709f60e427b18e0e32bd9d
TreeHugger Robot [Wed, 28 Feb 2018 18:23:47 +0000 (18:23 +0000)]
Merge "Update Slice.Builder#addInt javadoc."
Etan Cohen [Thu, 22 Feb 2018 23:54:20 +0000 (15:54 -0800)]
[AWARE] Add target API check to the Responder to ANYONE config
Responder to ANYONE was deprecated for API >= P. But the manager
code did not check for target API - i.e. even older apps would have
been rejected. Added the target API check to the manager code.
Bug:
72175022
Test: unit test + integration tests
Change-Id: I52e0c877e0af0756816b5b13e42f432504461e20
Holly Jiuyu Sun [Wed, 28 Feb 2018 18:18:04 +0000 (18:18 +0000)]
Merge "Mark EUICC_PROVISIONED as @SystemApi."
Robert Sesek [Wed, 28 Feb 2018 18:16:43 +0000 (18:16 +0000)]
Merge "Delay starting the webview_zygote until first use." am:
6d9d717ab7
am:
99440a0ab8
Change-Id: Icf9297f730bc4fa779d989eccc05e436c5d463b6
Robert Sesek [Wed, 28 Feb 2018 18:07:09 +0000 (18:07 +0000)]
Merge "Delay starting the webview_zygote until first use."
am:
6d9d717ab7
Change-Id: I7a2c485fcf04a5728081f99610435a970dc4bb1b
Lucas Dupin [Tue, 27 Feb 2018 19:32:16 +0000 (11:32 -0800)]
Reset bouncer instead of just hiding it
We can't just hide the view because the state should
be propagated to other parts of the system.
Test: show bouncer, launch camera
Change-Id: I76bb316a117d9a017b55d56a0e0750586e4f81fa
Fixes:
73905701
Todd Kennedy [Thu, 22 Feb 2018 22:15:18 +0000 (14:15 -0800)]
Add component ordering
When multiple activities match the same Intent, allow app developers
to reorder matched results within their own application. This is not
a replacement for priority which reorders matched results between
applications.
Change-Id: I12ee987622e12e40d6b5b48f616cc362d01381de
Fixes:
64582537
Test: atest -it CtsAppSecurityHostTestCases:PackageResolutionHostTest
TreeHugger Robot [Wed, 28 Feb 2018 17:15:30 +0000 (17:15 +0000)]
Merge "Make "am kill" actually support --user all"
Anton Hansson [Wed, 28 Feb 2018 17:09:04 +0000 (17:09 +0000)]
Merge "frameworks/base: Set LOCAL_SDK_VERSION where possible."
TreeHugger Robot [Wed, 28 Feb 2018 17:08:47 +0000 (17:08 +0000)]
Merge "Revert "Update A11y action serialization to use longs""
TreeHugger Robot [Wed, 28 Feb 2018 17:03:20 +0000 (17:03 +0000)]
Merge "Use the proper API to get managed profile user drawable"
yuemingw [Mon, 26 Feb 2018 14:25:35 +0000 (14:25 +0000)]
Better Override APN javadoc.
Add explanation for the possible failure reasons of
addOverrideApn, updateOverrideApn and removeOverrideApn.
Bug:
73750993
Test: test not required
Change-Id: Ic3493043fe6e5fedea006118bfc8dab7219d03ab
TreeHugger Robot [Wed, 28 Feb 2018 16:36:23 +0000 (16:36 +0000)]
Merge "MediaPlayerBase API"
Ng Zhi An [Tue, 20 Feb 2018 17:02:14 +0000 (09:02 -0800)]
Log app start memory state in background
Bug:
73379331
Test: refactoring, unit tests pass
adb logcat -b events | grep "319,"
adb logcat -b stats | grep "55,"
Change-Id: Id959b1b6ce547b9155c72e6734a32b54a2d3a64a
TreeHugger Robot [Wed, 28 Feb 2018 16:25:31 +0000 (16:25 +0000)]
Merge "Revert "Elevate remote/recents animation priority""
TreeHugger Robot [Wed, 28 Feb 2018 16:04:20 +0000 (16:04 +0000)]
Merge "Remove repackaged.android.test.mock"
Treehugger Robot [Wed, 28 Feb 2018 16:02:58 +0000 (16:02 +0000)]
Merge "Delay starting the webview_zygote until first use."
TreeHugger Robot [Wed, 28 Feb 2018 15:45:25 +0000 (15:45 +0000)]
Merge "Ignores resolution if installer is disabled"
Bo Zhu [Wed, 28 Feb 2018 15:14:49 +0000 (15:14 +0000)]
Merge "Check the given CertPath against the root of trust during recovery"
Anton Hansson [Fri, 23 Feb 2018 12:57:51 +0000 (12:57 +0000)]
frameworks/base: Set LOCAL_SDK_VERSION where possible.
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.
Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.
Test: make relevant packages
Bug:
73535841
Change-Id: I4233b9091d9066c4fa69f3d24aaf367ea500f760
Tony Mak [Wed, 28 Feb 2018 14:59:31 +0000 (14:59 +0000)]
Use the proper API to get managed profile user drawable
FIX:
73997367
Test: Go to settings -> Storage, observes the icon change.
Change-Id: I60153b31adf1175aea4cdf960d5094a89e8bc6b9
Artem Iglikov [Wed, 28 Feb 2018 15:07:31 +0000 (15:07 +0000)]
Revert "Update A11y action serialization to use longs"
This reverts commit
54549163b09e78396d6998172437b52a5cb7a042.
Reason for revert: breaks tests, b/
73997494
Bug:
73997494
Change-Id: I122c260898277d876c019554cb92351ac13a9eb0
Abodunrinwa Toki [Mon, 26 Feb 2018 21:37:51 +0000 (21:37 +0000)]
Associate TCconstants with the TCM instead of TCImpl
Also updates flags list.
Bug:
72946306
Bug:
72946123
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationConstantsTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Change-Id: I8af9d3d1da01836fbadcbbf6ce7c1c0db7456a05
TreeHugger Robot [Wed, 28 Feb 2018 14:26:34 +0000 (14:26 +0000)]
Merge "Bmgr about running backups"
TreeHugger Robot [Wed, 28 Feb 2018 14:24:52 +0000 (14:24 +0000)]
Merge "Add short term model reset threshold"
Android Build Merger (Role) [Wed, 28 Feb 2018 14:14:22 +0000 (14:14 +0000)]
Merge "Merge "Don't use cutils/Atomic.h" am:
07735797a2 am:
a272d540d8 am:
0f4ca4a5c0"
TreeHugger Robot [Wed, 28 Feb 2018 14:14:16 +0000 (14:14 +0000)]
Merge "Implement QS spec."
Steven Moreland [Wed, 28 Feb 2018 14:13:52 +0000 (14:13 +0000)]
Merge "Don't use cutils/Atomic.h" am:
07735797a2 am:
a272d540d8
am:
0f4ca4a5c0
Change-Id: I4b9798b39d890537f888415b5ac283227970e4de
Jorim Jaggi [Wed, 28 Feb 2018 14:03:08 +0000 (14:03 +0000)]
Revert "Elevate remote/recents animation priority"
This reverts commit
574aea0f1b073889186a82c94a991cc746b1c58c.
Reason for revert: Crashes sometimes (chaselist issue)
Change-Id: I1440ef7a002e85c3e020d424f13073ca2516dd9c
Fixes:
73991490
Steven Moreland [Wed, 28 Feb 2018 14:01:17 +0000 (14:01 +0000)]
Merge "Don't use cutils/Atomic.h" am:
07735797a2
am:
a272d540d8
Change-Id: Ie442c255e43f2ebe80ef5423aa4508930d72c44c
TreeHugger Robot [Wed, 28 Feb 2018 13:54:25 +0000 (13:54 +0000)]
Merge "Use putIntForUser to turn off ambient display secure settings"
Steven Moreland [Wed, 28 Feb 2018 13:51:44 +0000 (13:51 +0000)]
Merge "Don't use cutils/Atomic.h"
am:
07735797a2
Change-Id: Ie56fadea498f35c7e820f9fadac1b64697565a78
Bernardo Rufino [Wed, 28 Feb 2018 13:49:26 +0000 (13:49 +0000)]
Merge "More tests for ActiveRestoreSession - 2"
TreeHugger Robot [Wed, 28 Feb 2018 13:43:36 +0000 (13:43 +0000)]
Merge "Remove @removed from APIs still in use"
Treehugger Robot [Wed, 28 Feb 2018 12:37:50 +0000 (12:37 +0000)]
Merge "Don't use cutils/Atomic.h"
Bernardo Rufino [Wed, 28 Feb 2018 12:10:18 +0000 (12:10 +0000)]
Bmgr about running backups
Says that backups can be canceled if one already running. Put message
for running backups in dumpsys for checking.
Bug:
72484277
Test: Triggered backup, checked dumpsys and bmgr backupnow
Change-Id: I028cf663858e374389f50175aaf5a3e8c9d45e42
Dan Gittik [Thu, 22 Feb 2018 13:53:47 +0000 (13:53 +0000)]
Add short term model reset threshold
Add a threshold to prevent user birghtness adjustments from reseting
without a drastic enough change in the ambient light, and some minor
refactoring
Test: manually adjust brightness; turn screen off for 30 seconds;
turn screen back on; brightness shouldn't change
Test: manually adjust brightness; turn screen off for 30 seconds;
cover light sensor; turn screen back on; brightness should change
Make short term model reset decision only happen once, and change its
threshold to be relative
Test: same as before
Minor refactoring
Test: same as before
Fixes:
72734580
Change-Id: I724e88ddb79a55cadb547463d73131028bb57825
Alexandru-Andrei Rotaru [Wed, 28 Feb 2018 11:40:00 +0000 (11:40 +0000)]
Merge "Notify the user and turn off tethering when the service is disallowed." am:
e8b557bc08 -s ours am:
5217a34008 -s ours
am:
49b368b447 -s ours
Change-Id: If888f1000209f015dc097b616c64d626848d4402
Alexandru-Andrei Rotaru [Wed, 28 Feb 2018 11:25:14 +0000 (11:25 +0000)]
Merge "Notify the user and turn off tethering when the service is disallowed." am:
e8b557bc08 -s ours
am:
5217a34008 -s ours
Change-Id: I6672cd7a23ee7c6b5d384fae7111be2948f59e45
Alexandru-Andrei Rotaru [Wed, 28 Feb 2018 11:11:39 +0000 (11:11 +0000)]
Merge "Notify the user and turn off tethering when the service is disallowed."
am:
e8b557bc08 -s ours
Change-Id: I2a1805375252b56209ac9d18da0f1771f5b6187b