OSDN Git Service
Doris Ling [Fri, 6 Apr 2018 23:11:48 +0000 (16:11 -0700)]
Merge "Adjust alignment for suggestion icon." into pi-dev
am:
2d925f45b2
Change-Id: Id29c00047d3a3261f1ef567c56499e44e0973db6
Doris Ling [Fri, 6 Apr 2018 23:00:30 +0000 (23:00 +0000)]
Merge "Adjust alignment for suggestion icon." into pi-dev
Bill Yi [Fri, 6 Apr 2018 22:54:50 +0000 (15:54 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am:
cd986c2c38 -s ours
Change-Id: Ib90910def317a57ec5f961b742ce380ad2cec06a
Matthew Fritze [Fri, 6 Apr 2018 22:52:40 +0000 (15:52 -0700)]
Merge "Prioritize dynamic summaries" into pi-dev
am:
c29aec4bde
Change-Id: Iaacc14c7da4f3957f940c44c70c57c2f77c97d00
TreeHugger Robot [Fri, 6 Apr 2018 22:42:17 +0000 (22:42 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 22:29:02 +0000 (22:29 +0000)]
Merge "Prioritize dynamic summaries" into pi-dev
Doris Ling [Tue, 3 Apr 2018 00:17:42 +0000 (17:17 -0700)]
Adjust alignment for suggestion icon.
- add margin to the suggestion icon so that it align properly with the
suggestion text.
- also align the action button with the suggestion icon and text.
Change-Id: Ic12e4160d6583cf2d837e65ee5fd5a1ad73d348d
Fixes:
74414989
Test: visual
Julia Reynolds [Fri, 6 Apr 2018 21:43:27 +0000 (14:43 -0700)]
Merge "Make volume sliders sliceable" into pi-dev
am:
4ef7b5f97b
Change-Id: Ia92bfec5159228a3be82807f57ba28a9bc5f1e04
Mehdi Alizadeh [Fri, 6 Apr 2018 21:37:59 +0000 (14:37 -0700)]
Merge "Adds strings for Swipe Up gesture in Settings" into pi-dev
am:
3ac16896b9
Change-Id: I7b3374df962e66e4a42fb393b091737d48754489
Lei Yu [Fri, 6 Apr 2018 21:30:43 +0000 (14:30 -0700)]
Merge "Add test for anomaly detection in P" into pi-dev
am:
e0864a030f
Change-Id: Idff8e7772130d5d3de9485838f0b18b575517fac
Matthew Fritze [Wed, 4 Apr 2018 23:58:56 +0000 (16:58 -0700)]
Prioritize dynamic summaries
If both Xml and a controller provide a summary,
the controller's should be prioritized.
Change-Id: I030746b0f253ce4884a7868e385069b208f63082
Fixes:
77602860
Test: robotests
Julia Reynolds [Fri, 6 Apr 2018 20:48:31 +0000 (20:48 +0000)]
Merge "Make volume sliders sliceable" into pi-dev
Mehdi Alizadeh [Fri, 6 Apr 2018 20:46:18 +0000 (20:46 +0000)]
Merge "Adds strings for Swipe Up gesture in Settings" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 20:46:00 +0000 (20:46 +0000)]
Merge "Add test for anomaly detection in P" into pi-dev
Mehdi Alizadeh [Wed, 4 Apr 2018 23:43:12 +0000 (16:43 -0700)]
Adds strings for Swipe Up gesture in Settings
Bug:
77549883
Test: None
Change-Id: I64b448f3a3564e8ac6d29e1241e84032708dba71
Nicolas Geoffray [Fri, 6 Apr 2018 20:41:53 +0000 (13:41 -0700)]
Merge "Exempt tests from hidden API checks." into pi-dev
am:
8838b3fa9c
Change-Id: I216a952163773e944a298acd8bf3bd10ffc74067
arangelov [Fri, 6 Apr 2018 20:41:21 +0000 (13:41 -0700)]
Merge "Change "More details" to "Learn more" in policy transparency dialog." into pi-dev
am:
22a12c0ea2
Change-Id: If954ac05b053ca51d622f3f11b1857e69d51375e
TreeHugger Robot [Fri, 6 Apr 2018 20:39:24 +0000 (20:39 +0000)]
Merge "Exempt tests from hidden API checks." into pi-dev
Lei Yu [Fri, 6 Apr 2018 20:38:10 +0000 (13:38 -0700)]
Merge "Add battery illustration" into pi-dev
am:
3035d45a8f
Change-Id: If76a7efab6711d8290940d9cb3c2fb00fad63be4
TreeHugger Robot [Fri, 6 Apr 2018 20:35:41 +0000 (20:35 +0000)]
Merge "Change "More details" to "Learn more" in policy transparency dialog." into pi-dev
Lei Yu [Fri, 6 Apr 2018 20:35:31 +0000 (13:35 -0700)]
Merge "Add name and icon for AOD" into pi-dev
am:
f9cea645e1
Change-Id: Ib18392f893dff86ccbfd819529295aa740a22735
TreeHugger Robot [Fri, 6 Apr 2018 20:26:24 +0000 (20:26 +0000)]
Merge "Add battery illustration" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 20:19:21 +0000 (20:19 +0000)]
Merge "Add name and icon for AOD" into pi-dev
Lei Yu [Fri, 6 Apr 2018 19:37:26 +0000 (12:37 -0700)]
Merge "Add anomaly log to dumpsys" into pi-dev
am:
4becdc6fbe
Change-Id: I17f464e967bd81ddd8995829a140009e02673d11
TreeHugger Robot [Fri, 6 Apr 2018 19:28:55 +0000 (19:28 +0000)]
Merge "Add anomaly log to dumpsys" into pi-dev
Lei Yu [Fri, 6 Apr 2018 17:52:39 +0000 (10:52 -0700)]
Merge "Hide app if it shares uid with whitelisted app" into pi-dev
am:
78e2cad8b1
Change-Id: I14d9af57fc98b7f0398ce9c22abaaf5ad2d84976
Fan Zhang [Fri, 6 Apr 2018 17:51:42 +0000 (10:51 -0700)]
Merge "Update SliceContollerInXmlTest to match latest slice spec." into pi-dev
am:
14244ffb9d
Change-Id: Ie7bcdd045a651393ee3e60e3d7db6c48842788d8
Lei Yu [Wed, 4 Apr 2018 19:16:18 +0000 (12:16 -0700)]
Add test for anomaly detection in P
Lot of tests have been added already, this CL adds the missing tests
after robolectric upgrade.
Also add UID_NULL check in AnomalyDetectionJobService. It is almost
impossible to happen however we better catch it.
Bug:
73172999
Test: RunSettingsRoboTests
Change-Id: I950537efb166b0900393df1321ca64151b43e906
Daniel Solomon [Fri, 6 Apr 2018 17:41:28 +0000 (10:41 -0700)]
Merge "Disable user control of color mode depending on Accessibility" into pi-dev
am:
c9bd31b2f8
Change-Id: I5e7124bcfc54705f40050ae0931c25a43b5c7b2b
Lei Yu [Fri, 6 Apr 2018 17:19:19 +0000 (17:19 +0000)]
Merge "Hide app if it shares uid with whitelisted app" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 17:15:46 +0000 (17:15 +0000)]
Merge "Update SliceContollerInXmlTest to match latest slice spec." into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 17:12:01 +0000 (17:12 +0000)]
Merge "Disable user control of color mode depending on Accessibility" into pi-dev
Tony Mak [Fri, 6 Apr 2018 16:44:43 +0000 (09:44 -0700)]
Merge "apostrophe should be curly" into pi-dev
am:
7a5e97e10f
Change-Id: I5410a068f2574b29e21de55e66c2607ee201c123
TreeHugger Robot [Fri, 6 Apr 2018 16:32:35 +0000 (16:32 +0000)]
Merge "apostrophe should be curly" into pi-dev
Nicolas Geoffray [Fri, 6 Apr 2018 13:29:03 +0000 (14:29 +0100)]
Exempt tests from hidden API checks.
Bug:
64382372
Bug:
74963051
Test: m
Change-Id: I4e51a8a7d86ac79668f66057daf550a8f04711dd
arangelov [Thu, 5 Apr 2018 14:05:12 +0000 (15:05 +0100)]
Change "More details" to "Learn more" in policy transparency dialog.
Screenshot: https://screenshot.googleplex.com/5xrwW3g29qa.png
Bug:
77618738
Test: none
Change-Id: I464f492cd6b1468b85b5a691c29ae7a982ecebff
Andreas Terzis [Fri, 6 Apr 2018 00:16:19 +0000 (17:16 -0700)]
Merge ""Data Warn & Limits" pref. summary should be empty." into pi-dev
am:
c91339b3ce
Change-Id: Ic4b2dbbcd19a90cd28e0ca01c6f0cf248853b39f
ryanywlin [Fri, 6 Apr 2018 00:14:35 +0000 (17:14 -0700)]
Merge "Add new string for sound settings" into pi-dev
am:
ac119ae807
Change-Id: Id42009e9eb40398a6ff31d4903d81827ff53057e
Bill Yi [Thu, 5 Apr 2018 23:59:06 +0000 (16:59 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I065e2a1271c2f8e4dba989736069982ed6be7f9d
TreeHugger Robot [Thu, 5 Apr 2018 23:41:47 +0000 (23:41 +0000)]
Merge ""Data Warn & Limits" pref. summary should be empty." into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 23:33:40 +0000 (23:33 +0000)]
Merge "Add new string for sound settings" into pi-dev
Bill Yi [Thu, 5 Apr 2018 23:24:00 +0000 (16:24 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am:
3da184f074 -s ours
Change-Id: I4199238b803aa1841e096140e07c1faf4aacc274
TreeHugger Robot [Thu, 5 Apr 2018 23:12:21 +0000 (23:12 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Jan Nordqvist [Thu, 5 Apr 2018 23:11:16 +0000 (16:11 -0700)]
Merge "Change "X over" text color to ColorError" into pi-dev
am:
22bf690fdd
Change-Id: I97eef096124f7ad264e1d0d280e471db9d660d70
Lei Yu [Thu, 5 Apr 2018 22:01:52 +0000 (15:01 -0700)]
Add name and icon for AOD
Keep it in both app list and full usage list for now,
so we don't need to update smearing code.
Bug:
77156569
Test: Screenshot | RunSettingsRoboTests
Change-Id: I5247da90ea591b226cafef8f2d1ffcbff387b62f
TreeHugger Robot [Thu, 5 Apr 2018 22:47:23 +0000 (22:47 +0000)]
Merge "Change "X over" text color to ColorError" into pi-dev
Andreas Terzis [Fri, 30 Mar 2018 06:19:10 +0000 (23:19 -0700)]
"Data Warn & Limits" pref. summary should be empty.
The "Data Warning & Limits" preference in the Data Usage screen
should not have a summary.
Bug:
77300376
Test: manual
Test: make RunSettingsRoboTests
Change-Id: Ic567e7451ac3ea102577ab96ccef3ce7de05d4ad
Salvador Martinez [Thu, 5 Apr 2018 22:20:05 +0000 (15:20 -0700)]
Merge "Update WifiScanningRequiredFragment dialog to show help page" into pi-dev
am:
148af6ba16
Change-Id: Ib10bcb4e640d4ec1ea0cf5c3655ad5b4cb8117bf
Lei Yu [Thu, 5 Apr 2018 20:38:58 +0000 (13:38 -0700)]
Hide app if it shares uid with whitelisted app
Statsd blame app based on uid, which may mapping to multiple packages.
If there is one app in whitelist, then we shouldn't blame other apps
in anomaly detection.
Change-Id: Ib546e207eb113cef9ef5fecb1138e61558e9cf55
Fixes:
77560853
Test: RunSettingsRoboTests
TreeHugger Robot [Thu, 5 Apr 2018 22:07:30 +0000 (22:07 +0000)]
Merge "Update WifiScanningRequiredFragment dialog to show help page" into pi-dev
Jan Nordqvist [Thu, 5 Apr 2018 21:54:51 +0000 (14:54 -0700)]
Merge "Do not use warning or limit to display "X B left" above usage bar" into pi-dev
am:
3f59ce67b6
Change-Id: Iacbae6b7552621ba9f7a064e8f3b3226006f5321
Lei Yu [Thu, 5 Apr 2018 21:54:08 +0000 (14:54 -0700)]
Merge "Update the anomaly type constants" into pi-dev
am:
2c8a78a97c
Change-Id: I151d290f46cd162c1bedc31c834cb84be6c078f6
Bill Yi [Thu, 5 Apr 2018 21:39:33 +0000 (14:39 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am:
31d1b214ce -s ours
Change-Id: I0ae0dba71ca1b8cfa4ceb3ade4b283f24df6be35
TreeHugger Robot [Thu, 5 Apr 2018 21:36:59 +0000 (21:36 +0000)]
Merge "Do not use warning or limit to display "X B left" above usage bar" into pi-dev
Bill Yi [Thu, 5 Apr 2018 21:34:11 +0000 (14:34 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I08041a5d5d29533296012921a6d53956948ad527
Doris Ling [Thu, 5 Apr 2018 21:32:21 +0000 (14:32 -0700)]
Merge "Update launch intent flags for settings shortcut widgets." into pi-dev
am:
40d411abf5
Change-Id: I617c493bdb5e2252ef9cc5321cd7e155435de264
TreeHugger Robot [Thu, 5 Apr 2018 21:23:24 +0000 (21:23 +0000)]
Merge "Update the anomaly type constants" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 21:02:51 +0000 (21:02 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Fan Zhang [Thu, 5 Apr 2018 18:19:45 +0000 (11:19 -0700)]
Update SliceContollerInXmlTest to match latest slice spec.
- Convert the test to use CodeInspector
- Skip abstract classes when validating contract
- Also check SliderPreferenceController when validating contract
Change-Id: I671c1a622df6d1d7248a12932f144711fbf5a026
Fixes:
77634230
Test: make RunSettingsRoboTests -j40 ROBOTEST_FILTER=CodeIns
TreeHugger Robot [Thu, 5 Apr 2018 20:50:06 +0000 (20:50 +0000)]
Merge "Update launch intent flags for settings shortcut widgets." into pi-dev
Salvador Martinez [Thu, 5 Apr 2018 00:34:32 +0000 (17:34 -0700)]
Update WifiScanningRequiredFragment dialog to show help page
This CL updates the WifiScanningRequiredFragment dialog so that the
learn more button is only shown when a help page is available.
Additionally, we add the metrics constant for the dialog.
Test: robotests
Bug:
67070896
Change-Id: I7697c88b5969edaf5c06eb33251f215b776c64ee
Jan Nordqvist [Wed, 4 Apr 2018 22:54:26 +0000 (15:54 -0700)]
Do not use warning or limit to display "X B left" above usage bar
Bug:
70950124
Test: manual
Test: make RunSettingsRoboTests
Change-Id: I46f4f5f1cf6092038e49beaafe5aa6a19ffb0aa1
Jan Nordqvist [Thu, 5 Apr 2018 20:09:43 +0000 (13:09 -0700)]
Merge "Fall back to Wi-Fi data display in data usage screen with no SIM." into pi-dev
am:
220a6a002e
Change-Id: Ie8b978ee637205f5b507146f14f26fa12f5dfcda
TreeHugger Robot [Thu, 5 Apr 2018 19:59:00 +0000 (19:59 +0000)]
Merge "Fall back to Wi-Fi data display in data usage screen with no SIM." into pi-dev
Bill Yi [Thu, 5 Apr 2018 19:33:14 +0000 (12:33 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I2be2f8d5061e7b01fd97170d861d68980db9e665
Felipe Leme [Thu, 5 Apr 2018 19:26:41 +0000 (12:26 -0700)]
Merge "Couple more Scoped Directory Access changes." into pi-dev
am:
963a4fb59e
Change-Id: Ie397c6d6654f602b0f472d5023296376d4fd56af
TreeHugger Robot [Thu, 5 Apr 2018 19:02:11 +0000 (19:02 +0000)]
Merge "Couple more Scoped Directory Access changes." into pi-dev
Julia Reynolds [Tue, 3 Apr 2018 17:48:55 +0000 (13:48 -0400)]
Make volume sliders sliceable
Test: make -j RunSettingsRoboTests
Change-Id: I8495770792dfdada54174ca61937f336e4fc219c
Fixes:
67997207
Lei Yu [Thu, 5 Apr 2018 01:06:16 +0000 (18:06 -0700)]
Update the anomaly type constants
Bug:
77323601
Test: Build
Change-Id: I0b6733edbfe12f494104f78be7087fa621191431
Lei Yu [Thu, 5 Apr 2018 18:04:09 +0000 (11:04 -0700)]
Merge "Show Battery saver tip when battery saver is on" into pi-dev
am:
197be04330
Change-Id: Ic15dc8007fddf48184f7d8b59c045c88ce1db9a5
Lei Yu [Thu, 5 Apr 2018 18:03:05 +0000 (11:03 -0700)]
Merge "Fix crash in Monkey test." into pi-dev
am:
d95668db99
Change-Id: I3a7f60509095e64c6e09ae50cb900057d1369e26
Lei Yu [Thu, 5 Apr 2018 17:48:55 +0000 (17:48 +0000)]
Merge "Show Battery saver tip when battery saver is on" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 17:46:21 +0000 (17:46 +0000)]
Merge "Fix crash in Monkey test." into pi-dev
Doris Ling [Thu, 5 Apr 2018 17:33:30 +0000 (10:33 -0700)]
Merge "Fix issue in ring volume sample not always being played." into pi-dev
am:
1b899f2a0a
Change-Id: Ica29d1720bfe48a2002373cd1c85b437ed508451
Lei Yu [Fri, 30 Mar 2018 16:50:02 +0000 (09:50 -0700)]
Add battery illustration
Also update the VideoPreference to handle the full screen
illustration by adding attr isFullWidth and aspectRadio.
Change-Id: If2ccba4ce792801c6fd79b7c60af4e3826c091cc
Fixes:
74409022
Test: Screenshot | RunSettingsRoboTests
Lei Yu [Thu, 5 Apr 2018 17:26:13 +0000 (10:26 -0700)]
Merge "Hide uninstalled app in restrict app dialog" into pi-dev
am:
2e96ec2f99
Change-Id: I969a25a6d73da89d15a52bb9dbbba7b016120843
Doris Ling [Mon, 2 Apr 2018 21:51:36 +0000 (14:51 -0700)]
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
TreeHugger Robot [Thu, 5 Apr 2018 17:12:43 +0000 (17:12 +0000)]
Merge "Fix issue in ring volume sample not always being played." into pi-dev
Lei Yu [Thu, 5 Apr 2018 16:57:13 +0000 (16:57 +0000)]
Merge "Hide uninstalled app in restrict app dialog" into pi-dev
Patrick Baumann [Thu, 5 Apr 2018 16:50:57 +0000 (09:50 -0700)]
Merge "Update settings to reference correct versionCode" into pi-dev
am:
8d905b2f9e
Change-Id: If1aeb5f9626f640302d84af19525fd545fd12de3
Jan Nordqvist [Thu, 5 Apr 2018 16:30:43 +0000 (09:30 -0700)]
Change "X over" text color to ColorError
Bug:
70950124
Test: manual
Test: make RunSettingsRoboTests
Change-Id: I2a59d6b4b4549a780ae168e9e1b3f356c677262c
TreeHugger Robot [Thu, 5 Apr 2018 16:20:25 +0000 (16:20 +0000)]
Merge "Update settings to reference correct versionCode" into pi-dev
Bill Yi [Thu, 5 Apr 2018 14:38:12 +0000 (07:38 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am:
4c2704847b -s ours
Change-Id: I039a5f63c5d9bff03de16eee73da97c735824428
Bill Yi [Thu, 5 Apr 2018 14:28:37 +0000 (07:28 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I3feadbd392d82249b0318377310b4d1155057773
Fan Zhang [Thu, 5 Apr 2018 05:04:06 +0000 (22:04 -0700)]
Merge "Fix a bug where homepage is using staled locale for tiles" into pi-dev
am:
086dbda475
Change-Id: Idcbd34106c66fe7eaff62495b5edbc2d6233e7b5
TreeHugger Robot [Thu, 5 Apr 2018 04:57:46 +0000 (04:57 +0000)]
Merge "Fix a bug where homepage is using staled locale for tiles" into pi-dev
Bill Yi [Thu, 5 Apr 2018 04:03:08 +0000 (21:03 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am:
295b1dba78 -s ours
Change-Id: I35d3fa9cd927047f1ea494ba8f1ab11bffcb1ecc
TreeHugger Robot [Thu, 5 Apr 2018 03:55:05 +0000 (03:55 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Lei Yu [Wed, 4 Apr 2018 20:30:42 +0000 (13:30 -0700)]
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
Bill Yi [Thu, 5 Apr 2018 01:18:03 +0000 (18:18 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ibf6633b42d66e2c1418c2c3b719533a36c696f6a
Doris Ling [Thu, 5 Apr 2018 00:35:41 +0000 (17:35 -0700)]
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
Fan Zhang [Wed, 4 Apr 2018 22:51:06 +0000 (15:51 -0700)]
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
Matthew Fritze [Thu, 5 Apr 2018 00:09:56 +0000 (17:09 -0700)]
Merge "Fix crash in non-indexable keys collection" into pi-dev
am:
66e6e637a4
Change-Id: I8d493a62df0545904a6380813e32247f7f53c414
TreeHugger Robot [Wed, 4 Apr 2018 23:59:49 +0000 (23:59 +0000)]
Merge "Fix crash in non-indexable keys collection" into pi-dev
Daniel Solomon [Sat, 31 Mar 2018 01:11:38 +0000 (18:11 -0700)]
Disable user control of color mode depending on Accessibility
The Accessibility settings for color inversion and color correction are
incompatible with some color modes. When either of these settings is
enabled, disable GUI color mode controls.
Bug:
68856024
Change-Id: I12fad22190283bac38592b94e88d865d3af978ad
Jan Nordqvist [Mon, 26 Mar 2018 22:29:44 +0000 (15:29 -0700)]
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
Jason Monk [Wed, 4 Apr 2018 22:58:43 +0000 (15:58 -0700)]
Merge "Updates to match prebuilts drop" into pi-dev
am:
b299122e08
Change-Id: I7e4013fb1e3e4ffd193a83dca8ba24deefe1119b
TreeHugger Robot [Wed, 4 Apr 2018 22:40:27 +0000 (22:40 +0000)]
Merge "Updates to match prebuilts drop" into pi-dev
Erik Kline [Wed, 4 Apr 2018 22:20:27 +0000 (15:20 -0700)]
Merge "Expressly forbid IP string literals as Private DNS hostnames" into pi-dev
am:
fe7cc296c1
Change-Id: Icd5324bc389485f8f22052f5f4d285455d395780
TreeHugger Robot [Wed, 4 Apr 2018 21:30:32 +0000 (21:30 +0000)]
Merge "Expressly forbid IP string literals as Private DNS hostnames" into pi-dev