Doris Ling
4e56ff5628
Merge "Update launch intent flags for settings shortcut widgets." into pi-dev am: 40d411abf5
...
am: c9b7f8a008
Change-Id: I2f78efbac8356f5e890b5cdb5fcd38a5225a408c
2018-04-05 14:43:39 -07:00
Doris Ling
c9b7f8a008
Merge "Update launch intent flags for settings shortcut widgets." into pi-dev
...
am: 40d411abf5
Change-Id: I617c493bdb5e2252ef9cc5321cd7e155435de264
2018-04-05 14:32:21 -07:00
TreeHugger Robot
40d411abf5
Merge "Update launch intent flags for settings shortcut widgets." into pi-dev
2018-04-05 20:50:06 +00:00
Jan Nordqvist
f957c64367
[automerger skipped] Merge "Fall back to Wi-Fi data display in data usage screen with no SIM." into pi-dev am: 220a6a002e
...
am: d19ca38ebb -s ours
Change-Id: I763e60a281843dd7766b9aff582ca117565931a7
2018-04-05 13:22:52 -07:00
Felipe Leme
d5f0a6a267
Merge "Couple more Scoped Directory Access changes." into pi-dev am: 963a4fb59e
...
am: feffcc9c10
Change-Id: I7ef5532dc41e7fa22adb0030474ac8f8d0cd05d3
2018-04-05 13:12:03 -07:00
Jan Nordqvist
d19ca38ebb
Merge "Fall back to Wi-Fi data display in data usage screen with no SIM." into pi-dev
...
am: 220a6a002e
Change-Id: Ie8b978ee637205f5b507146f14f26fa12f5dfcda
2018-04-05 13:09:43 -07:00
TreeHugger Robot
220a6a002e
Merge "Fall back to Wi-Fi data display in data usage screen with no SIM." into pi-dev
2018-04-05 19:59:00 +00:00
Felipe Leme
feffcc9c10
Merge "Couple more Scoped Directory Access changes." into pi-dev
...
am: 963a4fb59e
Change-Id: Ie397c6d6654f602b0f472d5023296376d4fd56af
2018-04-05 12:26:41 -07:00
TreeHugger Robot
963a4fb59e
Merge "Couple more Scoped Directory Access changes." into pi-dev
2018-04-05 19:02:11 +00:00
Lei Yu
9f2a9e431d
Merge "Show Battery saver tip when battery saver is on" into pi-dev am: 197be04330
...
am: 16a0fcc6c3
Change-Id: I10516fa83c18d015fc3f9aa642313a7cb7259425
2018-04-05 11:49:04 -07:00
Lei Yu
7b13eaf133
Merge "Fix crash in Monkey test." into pi-dev am: d95668db99
...
am: 85f6fd4a1f
Change-Id: Ib8c62963b09e938143fd9382622ea3843cd88be5
2018-04-05 11:40:23 -07:00
Doris Ling
a658391502
Merge "Fix issue in ring volume sample not always being played." into pi-dev am: 1b899f2a0a
...
am: 284d10d112
Change-Id: I52f03ddd0686125263bc0c5e59bcc2355b7cca72
2018-04-05 11:16:42 -07:00
TreeHugger Robot
5c36161d0b
Merge "Fall back to Wi-Fi data display in data usage screen with no SIM."
2018-04-05 18:07:17 +00:00
Lei Yu
992130af7e
Merge "Hide uninstalled app in restrict app dialog" into pi-dev am: 2e96ec2f99
...
am: bc69fe95a4
Change-Id: I7185887d29c7e46f25887e88b2559d4b556a67bb
2018-04-05 11:05:58 -07:00
Lei Yu
16a0fcc6c3
Merge "Show Battery saver tip when battery saver is on" into pi-dev
...
am: 197be04330
Change-Id: Ic15dc8007fddf48184f7d8b59c045c88ce1db9a5
2018-04-05 11:04:09 -07:00
Lei Yu
85f6fd4a1f
Merge "Fix crash in Monkey test." into pi-dev
...
am: d95668db99
Change-Id: I3a7f60509095e64c6e09ae50cb900057d1369e26
2018-04-05 11:03:05 -07:00
Lei Yu
197be04330
Merge "Show Battery saver tip when battery saver is on" into pi-dev
2018-04-05 17:48:55 +00:00
TreeHugger Robot
d95668db99
Merge "Fix crash in Monkey test." into pi-dev
2018-04-05 17:46:21 +00:00
Doris Ling
284d10d112
Merge "Fix issue in ring volume sample not always being played." into pi-dev
...
am: 1b899f2a0a
Change-Id: Ica29d1720bfe48a2002373cd1c85b437ed508451
2018-04-05 10:33:30 -07:00
Lei Yu
bc69fe95a4
Merge "Hide uninstalled app in restrict app dialog" into pi-dev
...
am: 2e96ec2f99
Change-Id: I969a25a6d73da89d15a52bb9dbbba7b016120843
2018-04-05 10:26:13 -07:00
Patrick Baumann
a65982ab2f
Merge "Update settings to reference correct versionCode" into pi-dev am: 8d905b2f9e
...
am: fd371564fd
Change-Id: I261070b81c481c30a5deddfea571c135cb1b729a
2018-04-05 10:24:13 -07:00
Doris Ling
f2d7680d2c
Update launch intent flags for settings shortcut widgets.
...
- earlier changes were made to the intent flags when creating new
settings shortcut to ensure that it is launching a new task. However,
ShortcutManager is actually caching existing shortcut info, and it will
continue to use the existing shortcut info unless we explicitly update
the info.
- when rebooting from build upgrade, we will go through all existing
shortcut to update the launch intent flags to ensure that the shortcut
info is update to date.
Change-Id: Iee2365d9aec64a47b193e3c9be443c252504815b
Fixes: 76395879
Test: make RunSettingsRoboTests
2018-04-05 10:20:26 -07:00
TreeHugger Robot
1b899f2a0a
Merge "Fix issue in ring volume sample not always being played." into pi-dev
2018-04-05 17:12:43 +00:00
Lei Yu
2e96ec2f99
Merge "Hide uninstalled app in restrict app dialog" into pi-dev
2018-04-05 16:57:13 +00:00
Patrick Baumann
fd371564fd
Merge "Update settings to reference correct versionCode" into pi-dev
...
am: 8d905b2f9e
Change-Id: If1aeb5f9626f640302d84af19525fd545fd12de3
2018-04-05 09:50:57 -07:00
TreeHugger Robot
8d905b2f9e
Merge "Update settings to reference correct versionCode" into pi-dev
2018-04-05 16:20:25 +00:00
Jan Nordqvist
9eb43ddddf
Fall back to Wi-Fi data display in data usage screen with no SIM.
...
Bug: 70950124
Test: manual
Test: make RunSettingsRoboTests
Change-Id: I06bf78e54119819be87e15baca7e5b6a241958cb
2018-04-05 07:58:23 -07:00
Bill Yi
ba1aeace7b
[automerger skipped] Import translations. DO NOT MERGE am: 4c2704847b -s ours
...
am: 4eb1d03b2d -s ours
Change-Id: I1b2d628885126d9c5a381776b8f97eb3585452f4
2018-04-05 07:44:44 -07:00
Bill Yi
4eb1d03b2d
[automerger skipped] Import translations. DO NOT MERGE
...
am: 4c2704847b -s ours
Change-Id: I039a5f63c5d9bff03de16eee73da97c735824428
2018-04-05 07:38:12 -07:00
Bill Yi
4c2704847b
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Bug: 64712476
Change-Id: I3feadbd392d82249b0318377310b4d1155057773
2018-04-05 07:28:37 -07:00
Fan Zhang
1aeea9a9f8
Merge "Fix a bug where homepage is using staled locale for tiles" into pi-dev am: 086dbda475
...
am: a91023c9bc
Change-Id: I6bcb88bad6357ee4c2caba8b6a8df5147e657af0
2018-04-04 22:09:07 -07:00
Fan Zhang
a91023c9bc
Merge "Fix a bug where homepage is using staled locale for tiles" into pi-dev
...
am: 086dbda475
Change-Id: Idcbd34106c66fe7eaff62495b5edbc2d6233e7b5
2018-04-04 22:04:06 -07:00
TreeHugger Robot
086dbda475
Merge "Fix a bug where homepage is using staled locale for tiles" into pi-dev
2018-04-05 04:57:46 +00:00
Bill Yi
b7bf658e04
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 295b1dba78 -s ours
...
am: 5f6178d44e -s ours
Change-Id: I08fcccca60f4c3272005851cc672ecd42eb0164a
2018-04-04 21:08:42 -07:00
Bill Yi
5f6178d44e
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
...
am: 295b1dba78 -s ours
Change-Id: I35d3fa9cd927047f1ea494ba8f1ab11bffcb1ecc
2018-04-04 21:03:08 -07:00
TreeHugger Robot
8d5cb7d85b
Merge "Import translations. DO NOT MERGE"
2018-04-05 04:00:54 +00:00
TreeHugger Robot
295b1dba78
Merge "Import translations. DO NOT MERGE" into pi-dev
2018-04-05 03:55:05 +00:00
Lei Yu
559f65a28a
Show Battery saver tip when battery saver is on
...
Before this CL, we only show "Battery Saver is on" when users turn it
on in battery tips.
In this CL, we change to constantly show this tip when battery
saver is on.
Change-Id: I9ddefdbd5818725202ddf4469b4a685ba008060a
Fixes: 75251000
Test: RunSettingsRoboTests
2018-04-04 18:28:57 -07:00
Bill Yi
9905176917
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Bug: 64712476
Change-Id: Ibf6633b42d66e2c1418c2c3b719533a36c696f6a
2018-04-04 18:18:03 -07:00
Bill Yi
07e2ad469b
Import translations. DO NOT MERGE
...
Change-Id: Iefbd29f92e79a41656a240fb99775fe741e659cc
Auto-generated-cl: translation import
2018-04-04 17:48:49 -07:00
Doris Ling
de08eaf437
Fix issue in ring volume sample not always being played.
...
- when we adjust the sound volme in Sound settings, we only re-post the
stop sample message when we receive the onSampleStarting callback.
However, if we change the volume while a sample is still playing,
onSampleStarting will not be called as it's already started. This
results in shortened sample duration, which in extreme case, the new
sample will not be played at all if the new volume change is made almost
towards the end of the previous sample period. So, everytime user change
the volume, we should re-post the stop sample message, so that the
sample playing duration would be extended properly.
- also removed the original calls to the onStreamValueChanged() during
init, as the original implementation is empty, and during init, we do
not need any handling to start/stop the sample.
Change-Id: I9f35ddfb6d809eeb83b1a732a09362286ff6ed77
Fixes: 77514234
Test: make RunSettingsRoboTests
2018-04-04 17:35:41 -07:00
Fan Zhang
f1030e8cdf
Fix a bug where homepage is using staled locale for tiles
...
When setting a new locale, SettingsActivity restarts to load
everything in the new locale.
Data (containing locale specific title/summary etc) is reloaded
correctly and triggers a callback to UI to redraw.
However we skip the first callback as an optimization for app startup
time. When we restart fragment, we failed to save the state whether we
have already seen the first callback. So when data with new locale text
triggers the callback, it's being skipped and this make UI still render
in old locale.
The fix is to just save the state before fragment gets destroyed before
locale change so the callback can trigger later.
A better fix is: make data (Tile object) not cache text. Then we don't
need to worry about locale cache at all. We should do this fix in the
long term.
Test: localeswitcher
Test: adb shell am broadcast -a com.google.android.testing.i18n.localeswitcher.CHANGE_LOCALE -e LANGUAGE_TAG "zh"
Test: adb shell am broadcast -a com.google.android.testing.i18n.localeswitcher.CHANGE_LOCALE -e LANGUAGE_TAG "ja"
Fixes: 77470788
Bug: 77600770
Change-Id: Ic4223ddbb679db64d0fc3c29d16a5f61a66cc99c
2018-04-04 17:29:45 -07:00
Matthew Fritze
688ad64e00
Merge "Fix crash in non-indexable keys collection" into pi-dev am: 66e6e637a4
...
am: acc93635c3
Change-Id: I78aab2e3b7bc6f621e2425a88f3787e29f6ec2ff
2018-04-04 17:20:54 -07:00
Matthew Fritze
acc93635c3
Merge "Fix crash in non-indexable keys collection" into pi-dev
...
am: 66e6e637a4
Change-Id: I8d493a62df0545904a6380813e32247f7f53c414
2018-04-04 17:09:56 -07:00
TreeHugger Robot
66e6e637a4
Merge "Fix crash in non-indexable keys collection" into pi-dev
2018-04-04 23:59:49 +00:00
Jason Monk
8a485f0ada
Merge "Updates to match prebuilts drop" into pi-dev am: b299122e08
...
am: 8e51db884e
Change-Id: I790d275e30bccd446a00615149a90440d172e163
2018-04-04 16:45:09 -07:00
Erik Kline
6027d42a5a
Merge "Expressly forbid IP string literals as Private DNS hostnames" into pi-dev am: fe7cc296c1
...
am: e0d4298210
Change-Id: Idd9b36efa49cfb103876ddf8356055c510c3a44e
2018-04-04 16:05:03 -07:00
Jan Nordqvist
cd3f9e2a5e
Fall back to Wi-Fi data display in data usage screen with no SIM.
...
Bug: 70950124
Test: manual
Test: make RunSettingsRoboTests
Change-Id: I06bf78e54119819be87e15baca7e5b6a241958cb
Merged-In: I06bf78e54119819be87e15baca7e5b6a241958cb
2018-04-04 15:58:53 -07:00
Jason Monk
8e51db884e
Merge "Updates to match prebuilts drop" into pi-dev
...
am: b299122e08
Change-Id: I7e4013fb1e3e4ffd193a83dca8ba24deefe1119b
2018-04-04 15:58:43 -07:00
TreeHugger Robot
b299122e08
Merge "Updates to match prebuilts drop" into pi-dev
2018-04-04 22:40:27 +00:00