OSDN Git Service
Abhijeet Kaur [Fri, 17 May 2019 13:16:48 +0000 (14:16 +0100)]
Add tests for optional screenshot Fd in bugreport API
Not all bugreports need screenshots, and hence it should not be
mandatory to pass screenshotfd in parameters to startBugreport (call to
bugreport API).
Ensuring the above by passing null screenshotFd.
Bug:
123578274
Test: atest BugreportManagerTest
Change-Id: I79f4a71cc79e655a64c4cf9ac04fef0814db8ff1
Lorenzo Colitti [Fri, 17 May 2019 13:58:09 +0000 (13:58 +0000)]
Merge "Change the icon for the LOGGED_IN notification." into qt-dev
Andy Chou [Fri, 17 May 2019 13:38:53 +0000 (13:38 +0000)]
Merge "Fix Invalid SIM is not displayed for card error condition and add test case testTelephonyCapable_SimState_CardIOError()" into qt-dev
Nicolas Geoffray [Fri, 17 May 2019 12:31:12 +0000 (12:31 +0000)]
Merge "Workaround for USAP support in jitzygote." into qt-dev
TreeHugger Robot [Fri, 17 May 2019 12:13:32 +0000 (12:13 +0000)]
Merge "Add support for returning installed apex modules in getInstalledModules" into qt-dev
Nicolas Geoffray [Thu, 16 May 2019 13:36:06 +0000 (14:36 +0100)]
Workaround for USAP support in jitzygote.
USAP improve app startup by ~5ms, so enable it for the
jitzygote experiment.
Bug:
119800099
Test: boots and usap processes live
Change-Id: I918d81f56cc7e9fcc8a053feadd7878108e6d590
Paul Hu [Fri, 17 May 2019 06:46:36 +0000 (06:46 +0000)]
Merge "Ignore NetworkTest when running CtsNetTestCases in instant app mode" into qt-dev
Lorenzo Colitti [Fri, 17 May 2019 06:16:56 +0000 (23:16 -0700)]
Change the icon for the LOGGED_IN notification.
This notification is shown when the user has already logged in to
the network, so it should not have a question mark on it.
Fix:
130526201
Test: atest FrameworksNetTests
Test: manually signed in to portal
Change-Id: I8250236bc4ba251492a6cb9bf23e67666ef860d3
Merged-In: I8250236bc4ba251492a6cb9bf23e67666ef860d3
(cherry picked from commit
fce363555029b92b1532058555797d6ef1afb09c)
Josh Tsuji [Fri, 17 May 2019 03:20:44 +0000 (03:20 +0000)]
Merge changes I38958555,Ie6879de8 into qt-dev
* changes:
Align bubble behavior with DND settings.
Don't animate new bubbles in until the stack pos is set.
Joshua Tsuji [Mon, 13 May 2019 17:57:38 +0000 (13:57 -0400)]
Align bubble behavior with DND settings.
As described at https://docs.google.com/presentation/d/1mPxqu8QBWpz-ieWkJGyLzBLcfAJNVUn8sxS1m58ogn8/edit#slide=id.g51f96ac1fd_25_230.
Due to b/
132699005, the 'new' dot won't appear if 'Don't pop notifications on screen' is selected in DND restrictions.
Test: atest SystemUITests
Bug:
123540994
Fixes:
123540994
Change-Id: I38958555721fa3d9dd44c451c32c28d9a73415f5
Remi NGUYEN VAN [Fri, 17 May 2019 02:29:16 +0000 (02:29 +0000)]
Merge "Do not mark in-process NetworkStack as persistent" into qt-dev
Ian Chang [Thu, 16 May 2019 23:59:25 +0000 (23:59 +0000)]
Merge "Tracks app window animation endpoint" into qt-dev
Jack Yu [Thu, 16 May 2019 23:32:25 +0000 (23:32 +0000)]
Merge "Fixed concurrent access network registration info" into qt-dev
Joshua Tsuji [Tue, 14 May 2019 20:45:39 +0000 (16:45 -0400)]
Don't animate new bubbles in until the stack pos is set.
Test: atest SystemUITests
Bug:
132782486
Change-Id: Ie6879de845dc1acb4fc5ee467e2384407394d345
Mady Mellor [Thu, 16 May 2019 22:36:59 +0000 (22:36 +0000)]
Merge "Ensure that SysUI & listeners get the newly updated bubble state" into qt-dev
Lucas Dupin [Thu, 16 May 2019 22:33:45 +0000 (22:33 +0000)]
Merge "Hide media on AOD when not playing" into qt-dev
Jeff Sharkey [Thu, 16 May 2019 21:52:01 +0000 (21:52 +0000)]
Merge "Compare ringtones using IDs." into qt-dev
Jack Yu [Thu, 16 May 2019 21:27:29 +0000 (14:27 -0700)]
Fixed concurrent access network registration info
Fixed by adding synchronization block for every place
accessing network registration info in service state.
Bug:
131883293
Test: Manual
Change-Id: Ic10931b7fab998bfebe09d316a2d87886222dae3
Joe Onorato [Thu, 16 May 2019 21:23:54 +0000 (21:23 +0000)]
Merge "Add new IncidentManager.requestAuthorization method that takes an executor." into qt-dev
TreeHugger Robot [Thu, 16 May 2019 21:16:41 +0000 (21:16 +0000)]
Merge "Fix movement of RTC alarms with time changes" into qt-dev
Yao Chen [Thu, 16 May 2019 21:09:55 +0000 (21:09 +0000)]
Merge "Add alert description to IncidentDetails in statsd_config" into qt-dev
Hui Yu [Thu, 16 May 2019 20:50:45 +0000 (20:50 +0000)]
Merge "Clean up ProcessRecord when reuse a pid." into qt-dev
TreeHugger Robot [Thu, 16 May 2019 20:22:52 +0000 (20:22 +0000)]
Merge "Fix BatterySaverStateMachineTest." into qt-dev
Ryan Mitchell [Thu, 16 May 2019 20:11:09 +0000 (20:11 +0000)]
Merge "Allow "cmd overlay list" to list all overlays" into qt-dev
Adam He [Thu, 16 May 2019 19:53:04 +0000 (19:53 +0000)]
Merge "Metrics for content capture." into qt-dev
Selim Cinek [Thu, 16 May 2019 19:46:59 +0000 (19:46 +0000)]
Merge "Fixed an NPE in the RegionSamplingHelper" into qt-dev
Selim Cinek [Thu, 16 May 2019 19:45:47 +0000 (19:45 +0000)]
Merge "Tuned the back gesture further" into qt-dev
Jeff Sharkey [Thu, 16 May 2019 19:39:27 +0000 (13:39 -0600)]
Compare ringtones using IDs.
Comparing by constructing full Uris doesn't work when one of the
values has been canonicalized.
Bug:
132816653
Test: atest android.media.cts.RingtoneManagerTest#testAccessMethods
Change-Id: Id4b26820e76ec3d1d56ba6cf3c76375dafcf92c0
Lucas Dupin [Thu, 16 May 2019 02:47:11 +0000 (19:47 -0700)]
Hide media on AOD when not playing
Media seems stuck on AOD if paused or stopped and still visible.
Test: play pause with bluetooth headphones
Test: play pause on lock screen
Test: skip songs on lock screen, go to aod
Fixes:
131314881
Change-Id: I3574bbf628b708d2f9d4c4363a912de5ded951ac
TreeHugger Robot [Thu, 16 May 2019 18:59:55 +0000 (18:59 +0000)]
Merge "Camera: Fix some documentation typos" into qt-dev
TreeHugger Robot [Thu, 16 May 2019 18:54:50 +0000 (18:54 +0000)]
Merge "Fix EncodedBuffer_test to run after making EncodedBuffer inherit from RefBase" into qt-dev
Joe Onorato [Thu, 16 May 2019 18:47:45 +0000 (11:47 -0700)]
Add new IncidentManager.requestAuthorization method that takes an executor.
This is @hide for Q now that we're past API freeze, and will be
@SystemApi in master.
Bug:
126700920
Bug:
126701153
Bug:
130351719
Test: bit GtsIncidentConfirmationTestCases
Test: bit GtsIncidentManagerTestCases
Change-Id: Iac6a058017a86c1927502c529e5a7f3881eb56a7
Mady Mellor [Wed, 15 May 2019 20:38:11 +0000 (13:38 -0700)]
Ensure that SysUI & listeners get the newly updated bubble state
This CL fixes two issues:
1) When bubbles are posted we should note that the notification has
interrupted
2) When the bubble flag state changes it gets propagated to any listeners
Fixes:
131187135
Test: atest NotificationManagerServiceTest
Change-Id: I003a36b9938a4d1f4a69efea463a39fd0df1abda
Lei Yu [Thu, 16 May 2019 18:18:45 +0000 (18:18 +0000)]
Merge "Add short version bluetooth device summary" into qt-dev
Selim Cinek [Wed, 15 May 2019 02:10:04 +0000 (19:10 -0700)]
Tuned the back gesture further
Previously the back gesture was slightly
too bouncy, so we toned it down a bit.
We're also tuning the vibration to require
a longer duration for it to lift.
Overall the back animation wasn't working
great because of smearing, so we also
simplified that aspect.
Fixes:
130682266
Test: atest SystemUITests
Change-Id: Iff714ccc28fcba25c9b21155c687e2852c8599b7
Yao Chen [Thu, 16 May 2019 17:34:18 +0000 (10:34 -0700)]
Add alert description to IncidentDetails in statsd_config
Bug:
132890267
Test: statsd_test
Change-Id: I68ad2cec07d17f3e4db40c780713d5d0228831a7
Christian Wailes [Thu, 16 May 2019 17:23:03 +0000 (17:23 +0000)]
Merge "Make the USAP Pool refill delay configurable." into qt-dev
Chavi Weingarten [Thu, 16 May 2019 16:51:07 +0000 (16:51 +0000)]
Merge "Don't clear source bounds when set to null during an animation." into qt-dev
TreeHugger Robot [Thu, 16 May 2019 16:25:58 +0000 (16:25 +0000)]
Merge "Move hardcoded values from autofill_save layout file to dimensions." into qt-dev
David Brazdil [Thu, 16 May 2019 16:24:26 +0000 (16:24 +0000)]
Merge "Change CellSignalStrengthGsm.mTimingAdvance to greylist-max-p" into qt-dev
Andrii Kulian [Thu, 16 May 2019 16:24:06 +0000 (16:24 +0000)]
Merge "Set parent for WindowProcessController" into qt-dev
Andrii Kulian [Thu, 16 May 2019 16:24:06 +0000 (16:24 +0000)]
Merge "Override process config for cold start on secondary screens" into qt-dev
andychou [Thu, 16 May 2019 15:14:00 +0000 (23:14 +0800)]
Fix Invalid SIM is not displayed for card error condition and add test
case testTelephonyCapable_SimState_CardIOError()
There is existing bug that KeyguardUpdateMonitor doesn't notify
CarrierTextController in State.CARD_IO_ERROR condition, so invalid text
doesn't display.
Notify CarrierTextController in State.CARD_IO_ERROR condition to allow
correct text to display
Bug:
132376981
Test: fake SIM state with State.CARD_IO_ERROR and make sure invalid text
is displayed. Also atest testTelephonyCapable_SimState_CardIOError pass
Change-Id: Iecb404689f57776c21591a049bc660fec17127d4
Aran Ink [Thu, 16 May 2019 14:25:50 +0000 (14:25 +0000)]
Merge "Center GlobalActionsDialog when it does not take up the full screen." into qt-dev
Fabian Kozynski [Thu, 16 May 2019 12:44:29 +0000 (12:44 +0000)]
Merge "Make dimens in StatusBarIconView resources" into qt-dev
Pavel Grafov [Thu, 16 May 2019 12:05:14 +0000 (12:05 +0000)]
Merge "Stop putting credential confirmation activity to the home task." into qt-dev
Pavel Grafov [Mon, 13 May 2019 17:19:33 +0000 (18:19 +0100)]
Stop putting credential confirmation activity to the home task.
Previously when the user tapped "back" on the credential confirmation
screen, the phone would show home screen automatically. Now this is
handled explicitly in WorkLockActivity to prevent from showing credential
confirmation screens in a loop.
Test: manual, making home and back gesture on work challenge screen
Test: manual, starting work challenge in split-screen mode
Test: manual, invoking work challenge via notification/recents/launcher
Bug:
129045018
Change-Id: Iffd14396e3888416b11d2e7dd2408cab683d4506
Rubin Xu [Thu, 16 May 2019 11:17:48 +0000 (11:17 +0000)]
Merge "Do not compare ID when deduplicating SecurityEvent" into qt-dev
Susi Kharraz-Post [Thu, 16 May 2019 10:54:04 +0000 (10:54 +0000)]
Merge "Align qt-dev and master" into qt-dev
Remi NGUYEN VAN [Thu, 16 May 2019 09:02:11 +0000 (18:02 +0900)]
Do not mark in-process NetworkStack as persistent
The in-process NetworkStack runs in the system process, so it does not
need to be marked persistent.
Doing so causes a spurious com.android.networkstack.inprocess process to
be running, wasting memory.
Bug:
131046856
Test: Flashed sailfish, networking works, no extra process started
Test: Flashed walleye, networking still works
Test: aapt dump xmltree NetworkStack.apk AndroidManifest.xml unchanged
Change-Id: I0eb896c825ffe2581950c0bdd2b31ebd7eae0982
Michael Wachenschwanz [Thu, 16 May 2019 06:18:48 +0000 (06:18 +0000)]
Merge "Clarify UsageStatsManager#queryUsageStats behavior" into qt-dev
Po-Chien Hsueh [Thu, 16 May 2019 05:58:23 +0000 (05:58 +0000)]
Merge "Add KEY_ENABLE_WHEN_COMPLETED for testing" into qt-dev
TreeHugger Robot [Thu, 16 May 2019 04:20:25 +0000 (04:20 +0000)]
Merge "Show open padlock when keyguard is hidden" into qt-dev
Jeff Sharkey [Thu, 16 May 2019 03:29:16 +0000 (03:29 +0000)]
Merge "Cache resolved details about remote callers." into qt-dev
Selim Cinek [Thu, 16 May 2019 02:21:23 +0000 (19:21 -0700)]
Fixed an NPE in the RegionSamplingHelper
Apparently the viewRootImpl can be null as well, handling
that too now.
Fixes:
132436973
Test: manual, try back affordance
Change-Id: I3a1a2dbef62fc1928d0efac437a77d5654975689
Jeff Chang [Thu, 16 May 2019 02:18:19 +0000 (02:18 +0000)]
Merge "Mark testCreateRemoveStartingWindow as flaky" into qt-dev
TreeHugger Robot [Thu, 16 May 2019 02:03:48 +0000 (02:03 +0000)]
Merge "Fix NullPointerException when mLockPatternUtils is not set." into qt-dev
Andrii Kulian [Thu, 2 May 2019 01:58:28 +0000 (18:58 -0700)]
Override process config for cold start on secondary screens
Some apps use Application context to get display configuration and
metrics for their activities. This leads to incorrect configuration
used for activities on secondary screens. This is an issue on the
application side, but the framework can provide some compatibility -
override process-level config to match the display where the first
activity was launched.
Once an activity in the process is launched on the default display,
stop watching other displays config to preserve compatibility.
Bug:
131179060
Test: atest WmTests:ActivityRecordTests#testSetProcessOverridesConfig
Test: Launch GMail on secondary screen
Change-Id: If76f4a83c708f47fd914da68dd4b7366ffd8b88c
Lucas Dupin [Thu, 16 May 2019 01:44:52 +0000 (01:44 +0000)]
Merge "Calculate pattern bounds correctly" into qt-dev
Sudheer Shanka [Thu, 16 May 2019 01:27:38 +0000 (01:27 +0000)]
Merge "Revoke prior uri grants when MediaProvider db gets recreated." into qt-dev
Kevin Chyn [Thu, 16 May 2019 01:24:00 +0000 (01:24 +0000)]
Merge "Update timeout string" into qt-dev
Jeff Sharkey [Thu, 16 May 2019 01:19:59 +0000 (19:19 -0600)]
Cache resolved details about remote callers.
The logic in MediaProvider is technically correct, but it's sometimes
inefficient in calling into the OS multiple times with the same
questions, such as validating getCallingPackage().
To mitigate this overhead, and start paving the way for more dynamic
delegation of permission checks, collect these details into a
LocalCallingIdentity object. We carefully perform all permissions
checking against this new object, and avoid using any other
thread-local values from ContentProvider or Binder.
Local tests show this CL improves performance of a test app that
takes 100 rapid shots by 37%.
This change is a no-op refactoring.
Bug:
130758409,
115619667
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: If250a7675f2246cd10881acf615619d6d6061f3d
Qingqing Deng [Thu, 16 May 2019 01:16:35 +0000 (01:16 +0000)]
Merge "Update fontchain_linter.py to support more flags." into qt-dev
Kevin Chyn [Thu, 16 May 2019 01:15:17 +0000 (18:15 -0700)]
Update timeout string
Fixes:
132656781
Test: Builds
Change-Id: Ia2bc75bec380d650ec71f50675aa64a67e49d12a
Lucas Dupin [Wed, 15 May 2019 20:47:05 +0000 (13:47 -0700)]
Show open padlock when keyguard is hidden
The device will be unlocked when the keyguard is not showing yet
because of a screen timeout or when the user disabled "power button
locks immediately." We need to present the correct state on AOD,
saying that the phone is unlocked.
Test: lock/unlock after screen off delay
Test: pulse after screen off delay (look at padlock)
Test: pulse after pressing power (look at padlock)
Test: lock/unlock after power button press
Fixes:
129316806
Change-Id: I2f0e401b61bb1df4a46ff2f9f78e27ea38f01fc0
Joe Onorato [Fri, 10 May 2019 23:33:49 +0000 (16:33 -0700)]
Fix EncodedBuffer_test to run after making EncodedBuffer inherit from RefBase
Test: bit libprotoutil_test:*
Bug:
129717537
Change-Id: I44cf2e631a5ac1bb8b4ee2c269cfc50438fb1782
Kevin Chyn [Thu, 16 May 2019 00:32:49 +0000 (00:32 +0000)]
Merge "Dismiss BiometricPrompt when screen turns off" into qt-dev
Hui Yu [Tue, 7 May 2019 21:02:57 +0000 (14:02 -0700)]
Clean up ProcessRecord when reuse a pid.
When Zygote starts a process with a pid, system_server may have this
pid associate with a old process which is killed by the OS but
system_server has not finished cleanup. In this case, clean up the old
ProcessRecord so the new process can use the pid.
This problem is exposed because the asynchronous process start change.
attachApplicationLocked() may happen before handleProcessStartedLocked() and
the mPidsSelfLocked may still have the old ProcessRecord associate with
the new process's pid.
Pid alone can not uniquely identify the process in mPidsSelfLocked.
In addition to pid, use the startSeq to uniquely identify the ProcessRecord. Refactor
PidMap.put() and PidMap.remove() to take a ProcessRecord as parameter.
In PidMap.remove(), check startSeq before removing ProcessRecord from
the map.
Bug:
131105245
Test: Using the POC test steps in b/
131105245. Without the fix, the issue
can be reproduced in few attempts. With the fix, the issue can not be reproduced
any more.
Change-Id: I5d421f6c68f6b3437d51c94f4aef77e08a7bf002
Kevin Chyn [Thu, 16 May 2019 00:28:16 +0000 (17:28 -0700)]
Dismiss BiometricPrompt when screen turns off
Fixes:
131761855
Test: Follow instructions in bug
Change-Id: If3ee6cd9dd515a4e42177b079019b3622570d66f
Qingqing Deng [Fri, 10 May 2019 22:23:09 +0000 (15:23 -0700)]
Update fontchain_linter.py to support more flags.
Android Q will support all region flags in UNSUPPORTED_FLAGS list.
BL - Saint Barthélemy
BQ - Caribbean Netherlands
MQ - Martinique
RE - Réunion
TF - French Southern Territories
Bug:
127811703
Test: Verified on device.
Test: m fontchain_lint
Test: minikin_tests --gtest_filter=EmojiTest.cpp
Test: atest cts/tests/tests/text/src/android/text/cts/EmojiTest.java
Test: atest frameworks/base/core/tests/coretests/src/android/text/EmojiTest.java
Change-Id: Ice1fb10af35dc4e180735d9712167b71635920da
Sudheer Shanka [Wed, 8 May 2019 18:48:56 +0000 (11:48 -0700)]
Revoke prior uri grants when MediaProvider db gets recreated.
Bug:
132084545
Test: manual
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: Ibf2f2357d712a212f25b3bd005572ac74fe524fd
Aarthi Balachander [Wed, 15 May 2019 00:25:20 +0000 (17:25 -0700)]
Move hardcoded values from autofill_save layout file to dimensions.
Bug:
131176731
Test: Ran tests
Change-Id: Ibfafd26a9fddc6f50ac04e3630fbd40210154eff
Chris Wailes [Wed, 15 May 2019 21:00:22 +0000 (14:00 -0700)]
Make the USAP Pool refill delay configurable.
This patch fetches the USAP pool refill delay value from device_config
instead of hardcoding it.
Bug:
131362095
Test: Build and launch 10+ apps successfully
Change-Id: I244d83a38bde32620bd4bf50e9031c25c6267091
Merged-In: I244d83a38bde32620bd4bf50e9031c25c6267091
(cherry picked from commit
365e50bfa4371f56c5b9d83e07acbf704f675536)
TreeHugger Robot [Wed, 15 May 2019 23:09:47 +0000 (23:09 +0000)]
Merge "Talkback for focus on collapsed bubble stack" into qt-dev
TreeHugger Robot [Wed, 15 May 2019 22:50:03 +0000 (22:50 +0000)]
Merge "Keyguard for Auto should only show up in case of a user switcher screen. Else, its safe to dismiss it otherwise." into qt-dev
Kevin Chyn [Wed, 15 May 2019 22:33:54 +0000 (22:33 +0000)]
Merge "Initialize biometric settings for user" into qt-dev
Lucas Dupin [Wed, 15 May 2019 21:32:50 +0000 (14:32 -0700)]
Calculate pattern bounds correctly
Use stable position on screen to calculate if pattern should be
dragged or not. Before we were only comparing bounds to events,
that would be on different coordinates (on a parent for example.)
Test: draw pattern starting at top left
Test: draw pattern starting at bottom right
Fixes:
132687980
Change-Id: Ibe2d7fc113bf8bc3a9ab4910b3ab21062b59e7f3
Priyank Singh [Wed, 15 May 2019 21:12:10 +0000 (14:12 -0700)]
Keyguard for Auto should only show up in case of a user switcher screen. Else, its safe to dismiss it otherwise.
Bug:
131176319
Test: Manual
Change-Id: I96b9b36779f2d2cc846bbf9e309111d1836d51b1
Miguel de Dios [Wed, 15 May 2019 21:06:07 +0000 (21:06 +0000)]
Merge "Revert "hwui: ro.hwui.render_ahead=0 queue on high FPS"" into qt-dev
Tyler Gunn [Wed, 15 May 2019 20:48:50 +0000 (13:48 -0700)]
Update API docs for TelecomManager#endCall.
am:
3acf511895
Change-Id: I4a895eafeb98339bf617b396f779708bb6e6ee13
TreeHugger Robot [Wed, 15 May 2019 20:45:31 +0000 (20:45 +0000)]
Merge "Persist active metric status across system server" into qt-dev
Andrii Kulian [Wed, 8 May 2019 21:24:43 +0000 (14:24 -0700)]
Set parent for WindowProcessController
If WindowProcessController was registered to display configuration
changes, then an override from display level can erase some of the
configuration fields. This can result in incomplete configuration.
Since process configuration is used as a "global" config in some
places, it should always be complete and contain all fields.
This CL uses ActivityRootContainer as parent for a
WindowProcessController, so any overrides should be applied on top
of global configuration and the resulting full config will always be
complete.
Bug:
131915789
Test: WindowProcessControllerTests#testConfigurationForSecondaryScreen
Change-Id: Id4d30ec9fc64dbdf3f31347240f6bb3cbd655fb2
Ryan Mitchell [Mon, 13 May 2019 23:27:30 +0000 (16:27 -0700)]
Allow "cmd overlay list" to list all overlays
Listing the overlays using the OMS shell command should print all
overlays (besides static android RROs).
Bug:
132645448
Test: adb shell cmd overlay list
Test: adb shell cmd overlay list android
Change-Id: I17e90e2ad90bce40d3aebed56a429f46f09673db
Winson Chung [Wed, 15 May 2019 20:27:04 +0000 (20:27 +0000)]
Merge "Disable auto dimming when color sampling is enabled" into qt-dev
Fabian Kozynski [Wed, 15 May 2019 14:04:39 +0000 (10:04 -0400)]
Make dimens in StatusBarIconView resources
Now the expected size and desired size of System Icons can be overlaid.
Resources as part of core, so they can be overlaid by Car.
Also, makes sure that maybeUpdateIconScaleDimens is the one called to
sort out what updateIconScaleXXXX should be called.
Test: visual, using icons that are not 17dp
Fixes:
132354163
Change-Id: I902050d4b3c44587a023614f738ebad1d857b8bf
Kevin Chyn [Wed, 15 May 2019 19:17:38 +0000 (12:17 -0700)]
Initialize biometric settings for user
The settings cache was being set only when user changes or the settings
changed. The cache needs to be initialized if trying to read before
they are set.
Fixes:
132692298
Test: manual
Change-Id: I8a2b0c21e5cd569e87858d401f40dc6f84962111
Emilian Peev [Wed, 15 May 2019 19:00:13 +0000 (12:00 -0700)]
Camera: Fix some documentation typos
Bug:
132419505
Test: Successful build
Change-Id: Ifb610998422264f565a16eae005e7096a6a2f611
TreeHugger Robot [Wed, 15 May 2019 18:58:29 +0000 (18:58 +0000)]
Merge "Do not verify version in ConversationActions/LangIdInstallReceiver." into qt-dev
Susi Kharraz-Post [Wed, 15 May 2019 18:42:06 +0000 (14:42 -0400)]
Align qt-dev and master
This CL only adds a new line to re-align qt-dev and master for
metrics_constants to make it possible to rebase the enums.
Bug:
132719892
Test: N/A
Change-Id: Ie6354c904f3751f8620ff3ae7d420754b6314b33
Kweku Adams [Wed, 15 May 2019 18:23:19 +0000 (11:23 -0700)]
Fix BatterySaverStateMachineTest.
1. Disable actually posting a notification so that the test doesn't deal
with a SecurityException.
2. Verify that the notification is only posted when expected.
3. Put the state change from PENDING_STICKY_ON to OFF at the
beginning of the block. setStickyActive() calls putGlobalSetting(),
which ends up calling setSettingsLocked() which then goes back to
updateStateLocked(). Since this is all in the same thread, the test was
seeing the state machine post the notification twice. Putting the
state change at the beginning prevents the "second" notification.
Bug:
132620259
Test: atest com.android.server.power.batterysaver.BatterySaverStateMachineTest
Test: atest CtsBatterySavingTestCases
Change-Id: I1ceecc150bc57a37002d7de4ece09b503ec583c8
Mohammad Samiul Islam [Mon, 13 May 2019 13:14:01 +0000 (14:14 +0100)]
Add support for returning installed apex modules in getInstalledModules
Bug:
131929295
Test: atest ModuleMetadataTests
Change-Id: I40be703f9844521342761f5af671823514a93d88
Winson Chung [Tue, 14 May 2019 23:22:57 +0000 (16:22 -0700)]
Disable auto dimming when color sampling is enabled
Bug:
132371142
Test: Manual, launch app/rotate and ensure that the handle does not dim
Change-Id: I2616dd81b8453e7d8fb196273499db373a10fa93
Adam He [Wed, 23 Jan 2019 23:59:09 +0000 (15:59 -0800)]
Metrics for content capture.
Bug:
119613670
Test: statsd_testdrive & manual test
Change-Id: Ib2c61d2a3c08a9db779790417eb0177c2420d8fd
Merged-In: If43465ccee7454a7ebf9e15caa23fce7bae33cfe
Lyn Han [Wed, 8 May 2019 21:06:33 +0000 (14:06 -0700)]
Talkback for focus on collapsed bubble stack
Bug:
131610000
Test: manual
Change-Id: I6aa79dfea751c47c86e93f56f7916dd56dbc003f
Rob Carr [Wed, 15 May 2019 17:41:01 +0000 (17:41 +0000)]
Merge "Restore new SurfaceView background implementation." into qt-dev
Aran Ink [Wed, 15 May 2019 17:32:37 +0000 (13:32 -0400)]
Center GlobalActionsDialog when it does not take up the full screen.
Fixes:
132770089
Test: Manual -- power menu appears centered along edge in all orientations.
Change-Id: If42345e255f4f463a8137ff56ac2b5d6a9601da4
Christian Wailes [Wed, 15 May 2019 17:24:52 +0000 (17:24 +0000)]
Merge "Adjusts the USAP pool refill mechanism." into qt-dev
Rubin Xu [Wed, 15 May 2019 16:39:46 +0000 (17:39 +0100)]
Do not compare ID when deduplicating SecurityEvent
Two SecurityEvents should be considered identical as long as
their event content equals, disregarding the id field.
Test: manual
Change-Id: I811f9a104ed3a0d9e02991aeb9e3653c5c02efc3
Fix:
132367517
Ian Pedowitz [Wed, 15 May 2019 16:28:54 +0000 (16:28 +0000)]
Merge "Revert "Revert "Remove deprecated System APIs added in Q.""" into qt-dev
Ian Pedowitz [Wed, 15 May 2019 16:28:54 +0000 (16:28 +0000)]
Merge "Revert "Revert "Finalizing Q resources""" into qt-dev