OSDN Git Service
Niklas Lindgren [Fri, 18 May 2018 12:48:43 +0000 (14:48 +0200)]
Change directory where apns-conf.xml is stored
When apns are downloaded OTA they are stored directly under data/misc
by system server. Files created there gets assigned with file context
system_data_file which TelephonyProvider cannot read.
In order to make sure that downloaded apns gets a file context TelephonyProvider
can read we create an apns sub directory in init where radio_data_file:s are
created. The data path to where apns-conf is stored is here changed from /data/misc/
to /data/misc/apns/.
This change is aligned with other files that ConfigUpdateInstallReceiver writes.
Test: Trigger Apn update via intent UPDATE_APN_DB
Go to settings/apn-list and verify that newly downloaded are present
Bug:
79948106
Change-Id: I5a9ec262bfbac291cca9fee5accf93eb6c06f253
Merged-In: I5a9ec262bfbac291cca9fee5accf93eb6c06f253
Alison Cichowlas [Thu, 17 May 2018 18:57:36 +0000 (18:57 +0000)]
Merge "Fix lockdown icon dark mode coloring." into pi-dev
Annie Meng [Thu, 17 May 2018 18:20:29 +0000 (18:20 +0000)]
Merge "Fix NPE in ComponentNameValidator" into pi-dev
Annie Meng [Thu, 17 May 2018 15:00:16 +0000 (16:00 +0100)]
Fix NPE in ComponentNameValidator
In general, we should consider null component names as invalid settings,
meaning that we don't restore.
b/
79925290 to allow restoring null component names for specific
settings where null has semantic meaning.
Bug:
79910479
Test: 1) atest SettingsValidatorsTest
2) Manual:
- In Settings UI, select "None" for autofill service and accessibility
shortcut target
- "adb backup -keyvalue -f nullsettings.ab com.android.providers.settings"
- "adb restore nullsettings.ab" and verify no crashes
Change-Id: Iffecbe7d26a93a816e7be42f564ba471f9681876
TreeHugger Robot [Thu, 17 May 2018 17:46:24 +0000 (17:46 +0000)]
Merge "Refresh TCM settings when they change" into pi-dev
Winson Chung [Thu, 17 May 2018 16:31:44 +0000 (16:31 +0000)]
Merge "Disable recents/remote animation logging" into pi-dev
Mike Digman [Thu, 17 May 2018 16:08:04 +0000 (16:08 +0000)]
Merge "Make auto-rotate pref not reset on upgrade" into pi-dev
TreeHugger Robot [Thu, 17 May 2018 15:58:08 +0000 (15:58 +0000)]
Merge "Fix Panel position may not update when device screen off / on quickly." into pi-dev
TreeHugger Robot [Thu, 17 May 2018 15:28:30 +0000 (15:28 +0000)]
Merge "Reduce usages of main looper in sysui tests" into pi-dev
TreeHugger Robot [Thu, 17 May 2018 15:11:53 +0000 (15:11 +0000)]
Merge "Fix dump formatting." into pi-dev
TreeHugger Robot [Thu, 17 May 2018 15:11:10 +0000 (15:11 +0000)]
Merge "[RTT] Legacy RTT API: add attempted/succeeded counts" into pi-dev
Jason Monk [Wed, 16 May 2018 00:24:07 +0000 (20:24 -0400)]
Reduce usages of main looper in sysui tests
Push over to a standard testable looper, and a testable looper +
setAsMain when needed.
Also make tests more synchronous and single threaded as possible.
This will make them more deterministic and speeds them up noticeably.
Test: runtest systemui
Bug:
79550837
Change-Id: Iab0eb794329d7b1de95aef904ec08ecae7dadc98
Alison Cichowlas [Wed, 16 May 2018 19:40:45 +0000 (15:40 -0400)]
Fix lockdown icon dark mode coloring.
Recoloring icons only works for resources in core/res not in SysUI/res.
Bug:
78619585
Test: Manual with dark background.
Change-Id: Ided545abec51bafb0b1963d0a5129066194df61f
Merged-In: Ided545abec51bafb0b1963d0a5129066194df61f
Nicolas Geoffray [Thu, 17 May 2018 13:30:35 +0000 (13:30 +0000)]
Merge "Add two more camera APIs to light grey." into pi-dev
Nicolas Geoffray [Thu, 17 May 2018 12:57:45 +0000 (12:57 +0000)]
Merge "More light grey APIs." into pi-dev
Abodunrinwa Toki [Tue, 1 May 2018 20:36:48 +0000 (21:36 +0100)]
Refresh TCM settings when they change
Approach here is to register a content observer that invalidates the
TC settings whenever updates to the settings happen.
This CL also ensures that the TC is invalidated when a settings
update happens. This is because the settings may change what
TC the system returns.
TextView's SelectionActionModeHelper has been updated to not cache
the settings and get them directly from TCM (which caches the settings).
NOTE that we expect TC settings to rarely change.
Bug:
77539576
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: manual - Made changes to TC settings and observed logs / app behaviour
Change-Id: I88bbb6f951708b17323fac1a72385fe808d270a5
Nicolas Geoffray [Thu, 17 May 2018 10:24:49 +0000 (10:24 +0000)]
Merge "Add two wake lock APIs to light grey." into pi-dev
TreeHugger Robot [Thu, 17 May 2018 10:11:19 +0000 (10:11 +0000)]
Merge "Use FLAG_UPDATE_CURRENT for TC PendingIntents." into pi-dev
Nicolas Geoffray [Thu, 17 May 2018 09:59:14 +0000 (10:59 +0100)]
More light grey APIs.
bug:
78373177
Test: m
Change-Id: I1ce77829709ca5169876e8cdc360cb2df093c9f4
Nicolas Geoffray [Thu, 17 May 2018 09:32:38 +0000 (10:32 +0100)]
Add two more camera APIs to light grey.
bug:
79874141
Test: m
Change-Id: I4174dbb541e5fba46949c0b1be93a6a9736ed3ef
Nicolas Geoffray [Thu, 17 May 2018 08:44:35 +0000 (08:44 +0000)]
Merge "Add more APIs to light grey." into pi-dev
Nicolas Geoffray [Thu, 17 May 2018 08:09:14 +0000 (09:09 +0100)]
Add two wake lock APIs to light grey.
bug:
73171118
Test: m
Change-Id: I30f453c62a066dbd39b3c9d7a1ba29d892ff52a6
TreeHugger Robot [Thu, 17 May 2018 06:56:40 +0000 (06:56 +0000)]
Merge "Adding MANAGE_APP_OPS_MODES to FrameworksServicesTests" into pi-dev
lumark [Mon, 7 May 2018 13:49:35 +0000 (21:49 +0800)]
Fix Panel position may not update when device screen off / on quickly.
Due to framework side will not callback onScreenTurningOn() when device screen off / on quickly,
So NotificationPanel will not called onScreenTurningOn to update panel position.
There is also a potential issue for cancel touch will be ignored when touch disable
in onFinishedGoingToSleep().
Let ACTION_CANCEL can pass even touch disable to recover Panel position by fling back.
Bug:
79336031
Test: Manual
Change-Id: I45f2fbd8bfef99d86c3d023f07d2fd051d98f083
TreeHugger Robot [Thu, 17 May 2018 06:46:39 +0000 (06:46 +0000)]
Merge "Change status bar icons upon capability changes in the default network." into pi-dev
Dieter Hsu [Thu, 17 May 2018 06:04:13 +0000 (06:04 +0000)]
Merge "Trigger action for app ops icon for keyboard navigation" into pi-dev
Dieter Hsu [Tue, 15 May 2018 11:02:52 +0000 (19:02 +0800)]
Trigger action for app ops icon for keyboard navigation
Bug:
79671932
Test: manually check talkback, switch access and kb navigation
Change-Id: I8a2ed0fc8e6b565e923954fa87e61a20c83438c0
Anarghya Mitra [Fri, 11 May 2018 21:29:54 +0000 (14:29 -0700)]
Change status bar icons upon capability changes in the default network.
SysUI status bar updates currently happen upon receiving either the
CONNECTIVITY_ACTION broadcast (which is deprecated) and
INET_CONDITION_ACTION broadcast (which is sent upon validation state
change of networks only).
This leads to status bar showing stale connectivity state. The correct
fix for this is to listen to changes in network state by registering
NetworkCallbacks (see more details in http://b/
79286300#comment9).
In the P timeframe, not listening to the broadcasts completely is out of
scope. So this CL just listens for changing network capabilities of the
default data network, which should fix all the cases where the
broadcasts are not getting sent.
Later, when we stop relying on the broadcasts, we will also have to
override onAvailable and onLost (and perhaps the other callbacks too).
Test: runtest --path frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
Bug:
71904788
Change-Id: I2e58b9cfceb9937a0b54874dee116ead5339b37b
TreeHugger Robot [Thu, 17 May 2018 05:04:38 +0000 (05:04 +0000)]
Merge "Add contentDescription to close button of recents onboarding tip view." into pi-dev
TreeHugger Robot [Thu, 17 May 2018 05:01:33 +0000 (05:01 +0000)]
Merge "Adde back check to make sure Activity.recreate() is called on main thread." into pi-dev
TreeHugger Robot [Thu, 17 May 2018 04:45:41 +0000 (04:45 +0000)]
Merge "Add toString() method to PhysicalChannelConfig" into pi-dev
Tracy Zhou [Thu, 17 May 2018 03:50:23 +0000 (20:50 -0700)]
Add contentDescription to close button of recents onboarding tip view.
Change-Id: I4fe8a7fce78ca7d572a5fc4259c0329963a0e461
Fixes:
79689820
Test: N/A
TreeHugger Robot [Thu, 17 May 2018 02:56:42 +0000 (02:56 +0000)]
Merge "[IdleController] Support dock scenario on idle or active judgement" into pi-dev
TreeHugger Robot [Thu, 17 May 2018 02:43:22 +0000 (02:43 +0000)]
Merge "Add config config_smart_battery_available" into pi-dev
lpeter [Fri, 4 May 2018 08:13:14 +0000 (16:13 +0800)]
[IdleController] Support dock scenario on idle or active judgement
In the current design, IdleController of Job service considers devices as ‘idle’ after 71 minutes of screen off. But under docking use scenario, devices screen might remain on for a very long time and it’s not necessary implying the device being interactive with users.
So create a mechanism for device to enter the ‘idle’ state that JobScheduler can kick off idle tasks.
Bug:
79183658
Test: atest DeviceStatesTest
Change-Id: I5b307ca51e28ffca63f79a9c43984c3b76e51629
TreeHugger Robot [Thu, 17 May 2018 02:12:23 +0000 (02:12 +0000)]
Merge "Count app launch correctly." into pi-dev
Jorim Jaggi [Thu, 17 May 2018 01:59:17 +0000 (01:59 +0000)]
Merge "Track launch time per windowingMode" into pi-dev
Jorim Jaggi [Wed, 16 May 2018 22:52:26 +0000 (15:52 -0700)]
Only WTF when trying to use remote animation in ActivityOptions
There is a legitimate use case when sending a PendingIntent from
within system_server, for example AlarmManager. However, we used
to WTF always in this case.
To fix this, we only WTF when trying to use a remote animation
that originates from within system_server.
Test: Boots, open apps
Change-Id: I7bafae9f899cbb8966cf22166270000ce887baba
Fixes:
79417917
TreeHugger Robot [Thu, 17 May 2018 01:56:42 +0000 (01:56 +0000)]
Merge "Hide overlay windows when requesting media projection permission." into pi-dev
Selim Cinek [Thu, 17 May 2018 01:35:27 +0000 (01:35 +0000)]
Merge "Removing notifications that were kept around longer on click" into pi-dev
TreeHugger Robot [Thu, 17 May 2018 01:28:36 +0000 (01:28 +0000)]
Merge "Do not reset security message when pattern resumes" into pi-dev
Selim Cinek [Thu, 17 May 2018 01:22:41 +0000 (01:22 +0000)]
Merge "Fixed an issue where icons could remain white" into pi-dev
Selim Cinek [Thu, 17 May 2018 01:22:41 +0000 (01:22 +0000)]
Merge "Removing unused invert helpers" into pi-dev
Lei Yu [Wed, 16 May 2018 01:17:15 +0000 (18:17 -0700)]
Add config config_smart_battery_available
The default value is false, we can override it in overlay.
Bug:
79698191
Test: Build
Change-Id: I177e1c144f222ee32acce483f52d33910692ac3b
Suprabh Shukla [Thu, 17 May 2018 00:54:45 +0000 (17:54 -0700)]
Adding MANAGE_APP_OPS_MODES to FrameworksServicesTests
UPDATE_APP_OPS_STATS lost the privilege to change app ops modes, so we
need to add this permission to the tests.
Test: atest com.android.server.job.BackgroundRestrictionsTest
Fixes:
79887147
Change-Id: I085c522cf3969a4cd7de7c47209eb83225b34254
Etan Cohen [Thu, 17 May 2018 00:50:53 +0000 (17:50 -0700)]
[RTT] Legacy RTT API: add attempted/succeeded counts
Wi-Fi RTT legacy API is (now) a wrapper around the new API. Two
new result parameters were added to the new API but not propagated
to the corresponding legacy API:
- Count of attempted measurements
- Count of successful measurements
Bug:
79883720
Test: unit tests
Test: RangeApSupporting11McTest:test_legacy_rtt_80211mc_supporting_aps
Change-Id: Id000c691c22319474e3e98f5ba5d77e4bb4c343e
TreeHugger Robot [Thu, 17 May 2018 00:43:04 +0000 (00:43 +0000)]
Merge "Add new method refreshSummary(Preference)" into pi-dev
TreeHugger Robot [Thu, 17 May 2018 00:41:24 +0000 (00:41 +0000)]
Merge "Don't crash apps unfairly under FAS" into pi-dev
TreeHugger Robot [Thu, 17 May 2018 00:40:49 +0000 (00:40 +0000)]
Merge "Fix issues starting recents animation when starting a new activity" into pi-dev
Tracy Zhou [Wed, 16 May 2018 23:06:17 +0000 (16:06 -0700)]
Count app launch correctly.
Previously we mis-count each different activity, regardless of the app
it belongs, as one app launch. We should instead count each different
app open, either created, or brought front as a different app launch,
but different tasks created from the same app is considered one launch.
Fixes:
79885137
Test: Manual test
Change-Id: I5b4b8bee9b0ed4aa23a4ea9eefdfa112b6442455
Wale Ogunwale [Thu, 17 May 2018 00:23:48 +0000 (17:23 -0700)]
Adde back check to make sure Activity.recreate() is called on main thread.
Change-Id: Id8fa7e1c17ee3d42a19c82dc8cc1fec2de1757d1
Fixes:
79703568
Test: Existing test pass.
Dianne Hackborn [Thu, 17 May 2018 00:03:01 +0000 (17:03 -0700)]
Fix dump formatting.
Bug:
78480444
Test: manual
Change-Id: Ic16411458f952ed101be72997e48a86afe2a03b2
TreeHugger Robot [Wed, 16 May 2018 23:52:14 +0000 (23:52 +0000)]
Merge "TextSelection.Builder.setId should take null as well" into pi-dev
Mike Digman [Wed, 16 May 2018 23:43:23 +0000 (16:43 -0700)]
Make auto-rotate pref not reset on upgrade
Keeping prior change of auto-rotate default off.
Change-Id: I96dcfb8dcabbe602c510a64a44cf5659cfbfa13e
Fixes:
72321062
Test: manual
Wale Ogunwale [Wed, 16 May 2018 23:42:29 +0000 (16:42 -0700)]
Hide overlay windows when requesting media projection permission.
Done by setting PRIVATE_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS
Bug:
34170870
Test: manual
Change-Id: I57cb0f390d9a78e721c5ddce49a377d385002753
TreeHugger Robot [Wed, 16 May 2018 23:38:31 +0000 (23:38 +0000)]
Merge "Moves Swipe Up overlay from Settings app to android.internal" into pi-dev
Lucas Dupin [Wed, 16 May 2018 23:24:20 +0000 (16:24 -0700)]
Do not reset security message when pattern resumes
Change-Id: Ia18b98c97612a4998eda52356ef9eafd1c3ad48d
Fixes:
78235570
Test: manual
Fyodor Kupolov [Wed, 16 May 2018 23:12:52 +0000 (23:12 +0000)]
Merge "Update service map when application info is updated" into pi-dev
Eric Schwarzenbach [Wed, 16 May 2018 22:47:41 +0000 (22:47 +0000)]
Merge "Add constant for PhysicalChannelConfig UNSOL" into pi-dev
Jorim Jaggi [Tue, 15 May 2018 19:06:35 +0000 (12:06 -0700)]
Track launch time per windowingMode
Some app launches go through different stacks. However, in P we
have one stack per task, which broke launch time tracking for
certain apps.
We fix this by tracking launch time per windowingMode, like we
do in ActivityMetricsLogger.
Test: Delete Chrome app data (to ensure FirstRunActivity gets
invoked, am start -n com.android.chrome/com.google.android.apps.chrome.Main -W
Fixes:
78302265
Change-Id: I739e63aeaf04d6336621e3d61f065259e518d9b4
TreeHugger Robot [Wed, 16 May 2018 22:11:17 +0000 (22:11 +0000)]
Merge "Update font chain linter to match latest font file" into pi-dev
TreeHugger Robot [Wed, 16 May 2018 22:02:56 +0000 (22:02 +0000)]
Merge "Fix issue with split screen launch bounds" into pi-dev
Christopher Tate [Wed, 16 May 2018 19:59:43 +0000 (12:59 -0700)]
Don't crash apps unfairly under FAS
When an app calls startForegroundService() from a bg state (e.g. from a
broadcast receiver) but the user has placed it under FAS, it's incorrect
to crash the app: it hasn't actually violated the fg/bg restrictions
contract. Fail quietly instead, just like the legacy-app case when O+
restrictions are imposed on it.
Change-Id: I3e8ed2ea6bdbf4167249132ddf9b7c549b9a8062
Fixes:
79235311
Test: ApiDemos [before and after changing target sdk to O+]
Test: atest android.app.cts.ServiceTest
TreeHugger Robot [Wed, 16 May 2018 21:02:45 +0000 (21:02 +0000)]
Merge "Add contentDescription to status bar alarm" into pi-dev
TreeHugger Robot [Wed, 16 May 2018 20:50:25 +0000 (20:50 +0000)]
Merge "Fix KeyguardUpdateMonitor test" into pi-dev
TreeHugger Robot [Wed, 16 May 2018 20:05:03 +0000 (20:05 +0000)]
Merge "Remove total_silence dnd icon" into pi-dev
Evan Laird [Wed, 16 May 2018 19:58:49 +0000 (15:58 -0400)]
Add contentDescription to status bar alarm
Test: turn on talkback; tap alarm; listen
Bug:
66964503
Change-Id: If416e7f96de0873dd6e920c7dcf6f23f88ce2204
Sunny Goyal [Wed, 16 May 2018 19:56:45 +0000 (19:56 +0000)]
Merge "Adding utility method to dump encoded view hierarchy" into pi-dev
TreeHugger Robot [Wed, 16 May 2018 19:49:48 +0000 (19:49 +0000)]
Merge "Check mStatusBarWindowHidden bit when deciding to hide status bar" into pi-dev
Dianne Hackborn [Wed, 16 May 2018 19:48:54 +0000 (19:48 +0000)]
Merge "More app ops fg/bg tuning" into pi-dev
Lucas Dupin [Wed, 16 May 2018 19:14:10 +0000 (12:14 -0700)]
Fix KeyguardUpdateMonitor test
KeyguardUpdateMonitor's Handler runs on the main looper by design,
we need to ensure that whenever we're processing messages, that
they will also be received on the main looper.
Also unregistered a broadcast listener to avoid a possible race
condition
Test: atest packages/SystemUI/tests/src/com/android/keyguard/KeyguardUpdateMonitorTest.java
Bug:
79550837
Change-Id: I14a319da5c6bc46fd32675ae205e14a6228efaa4
Winson Chung [Wed, 16 May 2018 16:40:16 +0000 (09:40 -0700)]
Fix issues starting recents animation when starting a new activity
- When avoiding moving the stack to the front, skip resuming as well (since
the recents activity is starting in the back, and this prevents having
to add more checks to skip moving the task to the front).
The avoid-move-to-front option is only used for the recents animation,
and only used when starting a new activity, so the effects of this change
should only be limited to that logic.
- Also execute the app transition explicitly since it isn't triggered when
we aren't resuming the newly started activity, which was causing the
app-transition timeout to occur before launcher was next made visible
and good to go).
Bug:
77154670
Test: Open app, install launcher in the background to kill the activity,
then swipe up and ensure that it actually works instead of running
the normal task-dismiss transition
Change-Id: I8c39d95e7a6ca65a099aba7285e852b2480804ca
hjchangliao [Mon, 14 May 2018 07:11:11 +0000 (15:11 +0800)]
Add new method refreshSummary(Preference)
Refactor code which update summary in updateState,
Move them into new method refreshSummary.
Fixes:
67997698
Fixes:
67997726
Test: make RunSettingsLibRoboTests
Change-Id: Icbcedcd08efa2103042ba40a756e8d4b615e1352
Merged-In: Icbcedcd08efa2103042ba40a756e8d4b615e1352
Nathan Harold [Tue, 24 Apr 2018 22:41:17 +0000 (15:41 -0700)]
Add toString() method to PhysicalChannelConfig
We need to be able to print the PhysicalChannelConfig
for debugging/dumping, so adding a toString() method
to print in a format that we can easily digest and
is consistent with other Telephony log formatting.
Bug:
78791811
Test: manual / TelephonyDebugMenu
Change-Id: Ieb12f78a821369072ca9f03d28b28759836f84b4
Selim Cinek [Sat, 5 May 2018 01:05:33 +0000 (18:05 -0700)]
Removing unused invert helpers
In AOD the notifications aren't actually inverted
anymore and it was creating problems as in bordercases
it would still be invoked.
Test: add group, normal notification on aod, normal layout
Merged-In: Id01b7624162ff17d0e4cad6479d486683f7e5b33
Change-Id: Id01b7624162ff17d0e4cad6479d486683f7e5b33
Fixes:
77024183
TreeHugger Robot [Wed, 16 May 2018 18:06:46 +0000 (18:06 +0000)]
Merge "Remove SCO devices if Bluetooth process is dead" into pi-dev
TreeHugger Robot [Wed, 16 May 2018 17:19:46 +0000 (17:19 +0000)]
Merge "ScreenDecor: Set touchable region in windows coordinate space" into pi-dev
Sunny Goyal [Wed, 16 May 2018 17:13:13 +0000 (10:13 -0700)]
Adding utility method to dump encoded view hierarchy
Test: Verified the library change with launcher (after generating a bug report)
Bug:
79861035
Change-Id: Id1eabbfd293ee43c46cbecae82442fc77b661744
Adrian Roos [Wed, 16 May 2018 15:04:29 +0000 (17:04 +0200)]
ScreenDecor: Set touchable region in windows coordinate space
Also restricts the region to the frame of the view. This
is important for double cutouts, would go to the wrong view,
and having a touchable region spanning the entire screen
breaks some a11y services.
Change-Id: I824e5fb9b2f2e765ee9b6da4fcaf2c6840d8f51d
Fixes:
79533418
Test: turn on double cutout emulation; adb shell dumpsys window ScreenDecor, verify touchable region for each decor looks right.
Evan Laird [Wed, 16 May 2018 15:32:08 +0000 (11:32 -0400)]
Remove total_silence dnd icon
It's not cool anymore
Test: "shush, phone" -> look at status bar -> see wireframe dnd icon
Change-Id: I5ffbb6ae97dfc321c2404caeabd5e201fde7f4c3
Fixes:
79853559
TreeHugger Robot [Wed, 16 May 2018 15:22:37 +0000 (15:22 +0000)]
Merge "Fix testable looper threading" into pi-dev
Nicolas Geoffray [Wed, 16 May 2018 12:35:18 +0000 (13:35 +0100)]
Add more APIs to light grey.
Also blacklist Ljava/lang/invoke/MethodHandles$Lookup;->IMPL_LOOKUP.
bug:
64382372
Test: m
Change-Id: I0c605ca03ce11f51bca806a9bb997df8f1ac6de3
Merged-in: I0c605ca03ce11f51bca806a9bb997df8f1ac6de3
TreeHugger Robot [Wed, 16 May 2018 15:00:31 +0000 (15:00 +0000)]
Merge "Add metric to log use of hush gesture" into pi-dev
TreeHugger Robot [Wed, 16 May 2018 14:27:42 +0000 (14:27 +0000)]
Merge "Add some null checks to slices" into pi-dev
Daniel Sandler [Wed, 16 May 2018 14:23:38 +0000 (14:23 +0000)]
Merge "Improved notification interruptiveness calculation." into pi-dev
Jason Monk [Wed, 16 May 2018 14:15:33 +0000 (10:15 -0400)]
Fix testable looper threading
In the case where an annotation was not used and the TestableLooper
was manually created, then the messages would be executed on the wrong
thread.
Also switch some handlers over to async, might save us a little time.
Test: runtest --path frameworks/base/tests/testables
Bug:
79550837
Change-Id: I70a36449ae08eb5799e2dad41a5d258bb51a3fd3
TreeHugger Robot [Wed, 16 May 2018 13:44:13 +0000 (13:44 +0000)]
Merge "Make clock and battery clickable in QS status bar." into pi-dev
TreeHugger Robot [Wed, 16 May 2018 13:29:15 +0000 (13:29 +0000)]
Merge "Do not dismiss QS toggling mobile data." into pi-dev
Beverly [Tue, 15 May 2018 20:16:54 +0000 (16:16 -0400)]
Add metric to log use of hush gesture
Change-Id: I14578149a79b1455267cb6efc6493c596129032d
Bug:
79537757
Bug:
78665512
Test: manual, builds
Amith Yamasani [Wed, 16 May 2018 12:54:14 +0000 (12:54 +0000)]
Merge "Avoid calling updateOomAdj an extra time" into pi-dev
Dan Sandler [Tue, 15 May 2018 18:06:38 +0000 (14:06 -0400)]
Improved notification interruptiveness calculation.
Apparently comparing Spannables is dangerous because
the various Span classes do not implement .equals() in any
meaningful way, so all CharSequences must be converted to
flat Strings before being compared.
Lots of additional debug code remains, for the next time we
don't understand why an innocuous notification update
appears to be interruptive.
Test: atest com.android.server.notification.NotificationManagerServiceTest
atest com.android.server.notification.NotificationTest
Bug:
78643290
Change-Id: I1c282238687f28b5b197e28a4b878dc697049f4d
shawnlin [Fri, 11 May 2018 08:44:42 +0000 (16:44 +0800)]
Fixed regression on jank test of changeBrightness
Replace using hardware layer for alpha animation with drawing
transparent color with MULTIPLY mode.
Test: atest google/perf/jank/SystemUI/UbSystemUIJankTests-Trace:android.platform.systemui.tests.jank.SystemUiJankTests#testChangeBrightness
Change-Id: I9615af89c4418dd90ccc86e9e7c71d88e7121826
Fixes:
79266233
TreeHugger Robot [Wed, 16 May 2018 06:52:20 +0000 (06:52 +0000)]
Merge "Add connection state summary for android auto" into pi-dev
Winson Chung [Wed, 16 May 2018 04:40:35 +0000 (04:40 +0000)]
Merge "Allow recents component to launch non-exported activities" into pi-dev
Winson Chung [Wed, 2 May 2018 01:17:19 +0000 (18:17 -0700)]
Fix issue with split screen launch bounds
- In O, the fullscreen stack was resized once we enter splitscreen (and
is updated with the tempOtherTaskBounds as we resize for minimized
state). However, in P, since we are creating a new stack for each task,
the launch of a task while in splitscreen now falls into
TaskStack.updateBoundsForWindowModeChange() which incorrectly calculates
the bounds of the secondary stack using the minimized bounds of the
primary stack. Subsequent launches are fine because the stack already
exists and is just being brought forward.
Bug:
73745166
Test: atest CtsActivityManagerDeviceTestCases:ActivityManagerSplitScreenTests
Test: Enter split screen, launch an app from scratch and ensure it
animates to the right place
Change-Id: I7da856b9bb88db0db9616d56bb9fefdce918d7c3
Amin Shaikh [Wed, 16 May 2018 03:43:34 +0000 (23:43 -0400)]
Make clock and battery clickable in QS status bar.
Change-Id: Id96253cb034305337cb2e34b45ca032e5cf8c7ac
Fixes:
79472358
Test: manual
Amin Shaikh [Wed, 16 May 2018 03:07:57 +0000 (23:07 -0400)]
Do not dismiss QS toggling mobile data.
Change-Id: I2691b95b182fa16b943338d86b6e49a1b2362fca
Fixes:
79371609
Test: visual
TreeHugger Robot [Wed, 16 May 2018 02:46:53 +0000 (02:46 +0000)]
Merge "Update misc settingslib icons" into pi-dev
TreeHugger Robot [Wed, 16 May 2018 02:27:37 +0000 (02:27 +0000)]
Merge "Fixes Value metrics in statsd and app upgrades." into pi-dev
TreeHugger Robot [Wed, 16 May 2018 02:24:42 +0000 (02:24 +0000)]
Merge "Fix issue where panel wouldn't collapse" into pi-dev