OSDN Git Service
Bill Yi [Fri, 18 May 2018 00:23:03 +0000 (17:23 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
053b375862 skipped:
a7875e6a7d am:
81a6ef98f3 -s ours am:
4fb03f2730 -s ours
am:
10a8d67215 -s ours
Change-Id: I43c5a13ff556927a28b931645e197fa09c34b371
Bill Yi [Fri, 18 May 2018 00:07:45 +0000 (17:07 -0700)]
Merge changes from topic "am-
d1fbdf53-dccb-4215-99ff-
b24698b6bec8" into oc-dev am:
c6c611293d am:
b2f28267ad
am:
8d249b91bd
Change-Id: I98106dea821a12efd704adc279212136971f76bb
Bill Yi [Fri, 18 May 2018 00:00:55 +0000 (17:00 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
379dacd8c2 skipped:
20306f6ce0 am:
fb795ed727 -s ours am:
c31d960f5e -s ours
am:
3382016c1a -s ours
Change-Id: I241cb07264bd9bb0dc2f5e28ef13033789c17f56
Bill Yi [Thu, 17 May 2018 23:52:04 +0000 (16:52 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
053b375862 skipped:
a7875e6a7d am:
81a6ef98f3 -s ours
am:
4fb03f2730 -s ours
Change-Id: I0eddfd0423b803df34e4134c294bb58bf165f688
Bill Yi [Thu, 17 May 2018 23:47:28 +0000 (16:47 -0700)]
Merge changes from topic "am-
93ef86f6-d908-4917-b503-
5ba7fcefcad8" into oc-dev am:
5667f966e5 am:
e2790f5d0f
am:
7ff9dcf9ee
Change-Id: I7e950f2a72af3be5b030909b025749e3797763c9
Bill Yi [Thu, 17 May 2018 23:45:06 +0000 (16:45 -0700)]
Merge changes from topic "am-
d1fbdf53-dccb-4215-99ff-
b24698b6bec8" into oc-dev am:
c6c611293d
am:
b2f28267ad
Change-Id: If282600586310eb4dc03523f4883ff15ac2db651
Bill Yi [Thu, 17 May 2018 23:40:30 +0000 (16:40 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
fc4347f98e skipped:
8b2ac4fffa am:
a72fe6a957 -s ours am:
dc9639ab7f -s ours
am:
ae7467295e -s ours
Change-Id: I635c566063b1a6b77508f434237fc53a6df00bca
Bill Yi [Thu, 17 May 2018 23:39:55 +0000 (16:39 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
379dacd8c2 skipped:
20306f6ce0 am:
fb795ed727 -s ours
am:
c31d960f5e -s ours
Change-Id: I43fdbbc880a880f61b86a1f9e569f8c65196d65b
TreeHugger Robot [Thu, 17 May 2018 23:37:48 +0000 (23:37 +0000)]
Merge "Taking full bug report to get screenshot" into pi-dev
Bill Yi [Thu, 17 May 2018 23:34:41 +0000 (16:34 -0700)]
Merge changes from topic "am-
93ef86f6-d908-4917-b503-
5ba7fcefcad8" into oc-dev am:
5667f966e5
am:
e2790f5d0f
Change-Id: Ifa350e4e880263f58b6eb5ade4fdee5427fcb08b
Bill Yi [Thu, 17 May 2018 23:30:03 +0000 (16:30 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
fc4347f98e skipped:
8b2ac4fffa am:
a72fe6a957 -s ours
am:
dc9639ab7f -s ours
Change-Id: Ib6ede43f9ed266ca41dffc03cc26422471b2afe2
Bill Yi [Thu, 17 May 2018 23:29:55 +0000 (16:29 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
053b375862 skipped:
a7875e6a7d
am:
81a6ef98f3 -s ours
Change-Id: I653ae63bef34f046ac9fc9be7d0e04d818dd0d89
Bill Yi [Thu, 17 May 2018 23:26:51 +0000 (16:26 -0700)]
Merge changes from topic "am-
d1fbdf53-dccb-4215-99ff-
b24698b6bec8" into oc-dev
am:
c6c611293d
Change-Id: I74ee0d6e477345487b6056b3e1f92a41ba67731f
Bill Yi [Thu, 17 May 2018 23:25:01 +0000 (16:25 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
379dacd8c2 skipped:
20306f6ce0
am:
fb795ed727 -s ours
Change-Id: Id3bd937bf2aecd644b6c5ec4de4d8707196267f5
Bill Yi [Thu, 17 May 2018 23:24:11 +0000 (16:24 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
a52a0f49cc skipped:
a5619cc4e3 am:
19bf5aa466 -s ours am:
22961acba1 -s ours
am:
23cfb89980 -s ours
Change-Id: I5f1c30f48893cdd3ab0757e978f5b8ed36aa869f
Bill Yi [Thu, 17 May 2018 23:20:16 +0000 (16:20 -0700)]
Merge changes from topic "am-
93ef86f6-d908-4917-b503-
5ba7fcefcad8" into oc-dev
am:
5667f966e5
Change-Id: Iba9987a2228227107c2870f2a57b4c132e3f6e3e
Bill Yi [Thu, 17 May 2018 23:19:50 +0000 (16:19 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
a52a0f49cc skipped:
a5619cc4e3 am:
19bf5aa466 -s ours
am:
22961acba1 -s ours
Change-Id: I945ab1ecad9290ba64bad8b93fe7614b9a9778ae
Bill Yi [Thu, 17 May 2018 23:18:59 +0000 (16:18 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
fc4347f98e skipped:
8b2ac4fffa
am:
a72fe6a957 -s ours
Change-Id: I659644d1abcb04788c35591a290440e8a990e79c
Bill Yi [Thu, 17 May 2018 23:15:13 +0000 (16:15 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
a52a0f49cc skipped:
a5619cc4e3
am:
19bf5aa466 -s ours
Change-Id: I99a15ef8e43c65f65d99c83c27d8779bbf03f864
TreeHugger Robot [Thu, 17 May 2018 23:11:49 +0000 (23:11 +0000)]
Merge changes from topic "am-
d1fbdf53-dccb-4215-99ff-
b24698b6bec8" into oc-dev
* changes:
[automerger skipped] Import translations. DO NOT MERGE skipped:
379dacd8c2 skipped:
20306f6ce0
[automerger skipped] Import translations. DO NOT MERGE skipped:
379dacd8c2
Import translations. DO NOT MERGE
TreeHugger Robot [Thu, 17 May 2018 23:08:40 +0000 (23:08 +0000)]
Merge changes from topic "am-
93ef86f6-d908-4917-b503-
5ba7fcefcad8" into oc-dev
* changes:
[automerger skipped] Import translations. DO NOT MERGE skipped:
fc4347f98e skipped:
8b2ac4fffa
[automerger skipped] Import translations. DO NOT MERGE skipped:
fc4347f98e
Import translations. DO NOT MERGE
TreeHugger Robot [Thu, 17 May 2018 23:04:48 +0000 (23:04 +0000)]
Merge "add javadoc for carrier ifd install API" into pi-dev
TreeHugger Robot [Thu, 17 May 2018 22:34:20 +0000 (22:34 +0000)]
Merge "ValueMetric pushed events should check condition" into pi-dev
fionaxu [Thu, 17 May 2018 01:52:27 +0000 (18:52 -0700)]
add javadoc for carrier ifd install API
Bug:
79426800
Change-Id: Iaf5af11220c85dc63164cee31414dce8e4d02037
Selim Cinek [Thu, 17 May 2018 21:02:01 +0000 (21:02 +0000)]
Merge "Fix that the empty shade view would be visible sometimes" into pi-dev
TreeHugger Robot [Thu, 17 May 2018 20:27:45 +0000 (20:27 +0000)]
Merge "Don't scale textViews when transforming if their text isn't equal" into pi-dev
Android Build Merger (Role) [Thu, 17 May 2018 20:16:51 +0000 (20:16 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
fc4347f98e skipped:
8b2ac4fffa
Change-Id: If1028ada1c941503fb6019248df34e3746fcde2f
Android Build Merger (Role) [Thu, 17 May 2018 20:16:44 +0000 (20:16 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
fc4347f98e
Change-Id: I1f62a7df5e9abe4a14bb1f8dd746518935ad3799
Bill Yi [Thu, 17 May 2018 20:16:22 +0000 (13:16 -0700)]
Import translations. DO NOT MERGE
Change-Id: Iccdcf6f4eb7734618d1ac104ba2605c2b8eaed78
Auto-generated-cl: translation import
Jason Monk [Thu, 17 May 2018 20:14:59 +0000 (20:14 +0000)]
Merge "Dump fragments in sysui when dumping" into pi-dev
TreeHugger Robot [Thu, 17 May 2018 20:02:50 +0000 (20:02 +0000)]
Merge "Fixes docked stack from being invisible from assistant stack over" into pi-dev
TreeHugger Robot [Thu, 17 May 2018 20:01:46 +0000 (20:01 +0000)]
Merge "Added a command to return app_standby_enabled" into pi-dev
TreeHugger Robot [Thu, 17 May 2018 19:54:50 +0000 (19:54 +0000)]
Merge "AnimatedImageDrawable: Eliminate unnecessary calls to redraw" into pi-dev
Selim Cinek [Wed, 16 May 2018 23:01:05 +0000 (16:01 -0700)]
Fix that the empty shade view would be visible sometimes
Refactored the state to be more clear and make sure the end runnable is always called.
Fixes:
78861878
Test: have no notification, hide view by scrolling up, get notification, observe
Change-Id: I51b00696f4b2dba565a0213c24a5a67a3c4099e0
Android Build Merger (Role) [Thu, 17 May 2018 19:15:58 +0000 (19:15 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
053b375862 skipped:
a7875e6a7d
Change-Id: I5c0b5c4beead842ea771083b8bb3a87d846b949f
Android Build Merger (Role) [Thu, 17 May 2018 19:15:52 +0000 (19:15 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
053b375862
Change-Id: Id48d35e7d3e303142ce734b6fe8d120bc7a63900
Bill Yi [Thu, 17 May 2018 19:15:29 +0000 (12:15 -0700)]
Import translations. DO NOT MERGE
Change-Id: I8cd1fe0903685b95ef950bb675755fa3f9c0c61f
Auto-generated-cl: translation import
Alison Cichowlas [Thu, 17 May 2018 18:57:36 +0000 (18:57 +0000)]
Merge "Fix lockdown icon dark mode coloring." into pi-dev
Selim Cinek [Thu, 17 May 2018 17:13:12 +0000 (10:13 -0700)]
Don't scale textViews when transforming if their text isn't equal
Change-Id: I34f8299790da84edbfdb1e3679181d68023a24ff
Fixes:
79876736
Test: add group, observe normal scaling when dragging down
Android Build Merger (Role) [Thu, 17 May 2018 18:44:45 +0000 (18:44 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
379dacd8c2 skipped:
20306f6ce0
Change-Id: I21ab563abd9c30724436723f6dfd5a3c5debba5f
Android Build Merger (Role) [Thu, 17 May 2018 18:44:38 +0000 (18:44 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
379dacd8c2
Change-Id: I3e8c7aca201fda9fcaaba88e196b49af85a50c9a
Bill Yi [Thu, 17 May 2018 18:44:11 +0000 (11:44 -0700)]
Import translations. DO NOT MERGE
Change-Id: I84a155dad80243362cd12cf62074aaebfe4df759
Auto-generated-cl: translation import
Annie Meng [Thu, 17 May 2018 18:20:29 +0000 (18:20 +0000)]
Merge "Fix NPE in ComponentNameValidator" into pi-dev
Android Build Merger (Role) [Thu, 17 May 2018 17:57:50 +0000 (17:57 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
a52a0f49cc skipped:
a5619cc4e3
Change-Id: I56ff76335c44571f3df4c63f95970b97555cd9b4
Android Build Merger (Role) [Thu, 17 May 2018 17:57:40 +0000 (17:57 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
a52a0f49cc
Change-Id: I7b718beb5044ad046eed73fc54950f724ee70a78
Bill Yi [Thu, 17 May 2018 17:57:03 +0000 (10:57 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ic6a4271d7a7e37cf847a3f8e920b9937885564fa
Auto-generated-cl: translation import
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 [Thu, 17 May 2018 14:56:00 +0000 (10:56 -0400)]
Dump fragments in sysui when dumping
Test: adb shell dumpsys activity service com.android.systemui, ensure
the nav bar state shows up.
Fixes:
79881849
Change-Id: I13e6fb4c61c02cbd142e64b7201667e47fe31232
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
Suprabh Shukla [Wed, 16 May 2018 23:39:42 +0000 (16:39 -0700)]
Added a command to return app_standby_enabled
The only way to know the runtime state was check dumpsys usagestats, and
parse through a lot of output.
This makes it easier to retreive the state.
Test: adb shell settings put global app_standby_enabled 0
adb shell dumpsys usagestats is-app-standby-enabled
Bug:
74336662
Change-Id: Ibe80d27bdf940682b9e4c3c14f93b4871f9f1746
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