Commit Graph

44381 Commits

Author SHA1 Message Date
Fan Zhang
5088523c5d Add more string for device muted condition
Bug: 76022431
Test: build
Change-Id: Ib3801b2ecd18d094e4431aeb89d711a6c9e62689
2018-03-26 15:52:22 -07:00
Fan Zhang
607d63468a Merge "Fix text overlap issue when flinging in ManageApplication" into pi-dev am: 9f5849aaf4
am: a89fb2e6dd

Change-Id: I58c96bdace9c5a5cd2ff8d8e61c53e4f5f962495
2018-03-26 22:17:03 +00:00
Fan Zhang
a89fb2e6dd Merge "Fix text overlap issue when flinging in ManageApplication" into pi-dev
am: 9f5849aaf4

Change-Id: Ief196f8d521b5727d2535086ab18a844349ddf1c
2018-03-26 22:04:24 +00:00
Lei Yu
5dea982625 Merge "Use FIELD_ANOMALY_TYPE for anomalyType" into pi-dev am: 6f22cec26d
am: 13a40e76eb

Change-Id: Id996b022ac0c98226698469d5afc4b6aab4ba9cb
2018-03-26 22:03:30 +00:00
Lei Yu
13a40e76eb Merge "Use FIELD_ANOMALY_TYPE for anomalyType" into pi-dev
am: 6f22cec26d

Change-Id: I1e497fcc05faa582a1a5d9a9f958c1efad829a32
2018-03-26 21:56:16 +00:00
TreeHugger Robot
9f5849aaf4 Merge "Fix text overlap issue when flinging in ManageApplication" into pi-dev 2018-03-26 21:50:14 +00:00
Lei Yu
6f22cec26d Merge "Use FIELD_ANOMALY_TYPE for anomalyType" into pi-dev 2018-03-26 21:41:11 +00:00
yuemingw
3434e72f31 Auto time should show dynamic subtext when restricted.
Auto time preference should show dynamic subtext corresponding to
the current status of auto time when it's restricted, instead of
hard code "enabled by admin", as it could either be enabled or disabled
when disallow_config_date_time is set.

Bug: 73811933
Test: manually by TestDPC
Change-Id: Ia7181e8a67ccfe72117f95133e9081375c121fe3
2018-03-26 20:37:56 +00:00
Kevin Chyn
7319214db9 Don't show FP error canceled message
Test: manual test of SUW, error message doesn't show up when
      confirm credentials is complete

Change-Id: Ie0750629dcd5bb5d84df08c75e9c83384c299073
Fixes: 76400618
2018-03-26 12:38:21 -07:00
yuemingw
03b617bdea Merge "Remove account should show policy transparency dialog when DISALLOW_MODIFY_ACCOUNTS is set." into pi-dev am: 21926abed2
am: a3db549834

Change-Id: If7c967d8bf7eddf3a50bd3d629e3e79c85fac5e6
2018-03-26 18:51:49 +00:00
yuemingw
a3db549834 Merge "Remove account should show policy transparency dialog when DISALLOW_MODIFY_ACCOUNTS is set." into pi-dev
am: 21926abed2

Change-Id: Ie4130e88a3355bb91a63578bd889147da3dba726
2018-03-26 18:46:09 +00:00
Amin Shaikh
c685d0fe9b Show wifi status label in preference summary.
Bug: 74075761
Test: m RunSettingsRoboTests && manual
Change-Id: I286fac5d9390634facc0f04b845ef668c55d1331
2018-03-26 14:37:09 -04:00
TreeHugger Robot
21926abed2 Merge "Remove account should show policy transparency dialog when DISALLOW_MODIFY_ACCOUNTS is set." into pi-dev 2018-03-26 18:34:31 +00:00
Fan Zhang
de052eb2b9 Fix text overlap issue when flinging in ManageApplication
The issue is we have a background handler to find app size and set to
summary asynchronously. When flinging quickly, the view being request to
update by the background handler could be scrolled off screen already.
This change forces onPackageSizeChanged update to only happen when it's
not scrolling.

Change-Id: Ia7ccab776c3c789c8d4c0b55104b48e257b9cebf
Fixes: 76176014
Test: manually fling
2018-03-26 11:34:16 -07:00
Lei Yu
1785863b48 Use FIELD_ANOMALY_TYPE for anomalyType
Change-Id: I36d5d806f45df4153cdba3e398fa72ab89e5e082
Fixes: 76424026
Test: RunSettingsRoboTests
2018-03-26 11:31:22 -07:00
Rubin Xu
c48abe7795 Merge "Block simple numeric passwords in ChooseLockPassword" into pi-dev am: c3938f6f6e
am: d80739b276

Change-Id: I73ae8b22e3b1baec1ecca97a68210113fe08d758
2018-03-26 18:24:20 +00:00
Rubin Xu
d80739b276 Merge "Block simple numeric passwords in ChooseLockPassword" into pi-dev
am: c3938f6f6e

Change-Id: I8599fbcfc070842d7f4755cbcda5e1dcf80f91a5
2018-03-26 18:19:05 +00:00
TreeHugger Robot
c3938f6f6e Merge "Block simple numeric passwords in ChooseLockPassword" into pi-dev 2018-03-26 18:06:04 +00:00
Julia Reynolds
1de83b7c65 Update recently sent preferences am: 5c83f14d7e
am: 6a942f930b

Change-Id: I4088f66e3c798a30043ccb6e48685f3fa5f7700d
2018-03-26 17:50:47 +00:00
Julia Reynolds
6a942f930b Update recently sent preferences
am: 5c83f14d7e

Change-Id: I71d6da7beba2beecad671e296c76a127815fe241
2018-03-26 17:41:20 +00:00
yuemingw
5f0f6b9831 Remove account should show policy transparency dialog when DISALLOW_MODIFY_ACCOUNTS
is set.

createAdminIntentSupport always checks user restrictions on user 0(
if called from system uid) so can't be used here when account could
be work profile account.

Bug: 70674230
Test: m -j RunSettingsRobotests
Change-Id: Ibd2df8891d9fa7b4c85c42a305c5db2acd4c829b
2018-03-26 17:41:37 +01:00
Julia Reynolds
5c83f14d7e Update recently sent preferences
Test: make -j RunSettingsRoboTests
Bug: 74318867
Fixes: 73004227
Change-Id: Icecf1d4f0e3dd38c96919874a7f614ed93a001ab
2018-03-26 11:23:14 -04:00
Rubin Xu
35f3d2fbac Block simple numeric passwords in ChooseLockPassword
Fix the previously-missing case where the user elects to set
a password (instead of PIN), but still sets a numeric password
that contains repeated sequence which should be blocked by admin
policy.

Bug: 72039850
Test: Set NUMERIC_COMPLEX password quality, then attempt to
      enroll a repeating numeric PIN as lockscreen *password*
Change-Id: I7c7525716b37a5330147b899b80026ca71c3ce0c
2018-03-26 16:07:01 +01:00
Adam Newman
5178a9d07a Observe NetworkCallback instead of polling
Switch from polling for the first connected WiFi network to observing
the currently connected WiFi network and associating that with the
preference at the time the preference is created or updated.

Whenever the ConnectedAccessPointPreference is removed or UI is stopped
unregister the callback.

Bug:68031656
Test: make RunSettingsRoboTests
Change-Id: I5d1ed83b6a13e8a83fae04bfdce8d0f13c2ba0ac
2018-03-26 07:45:16 -07:00
Benjamin Franz
5b0bc69b38 Merge "Do not allow force stopping protected packages" into pi-dev am: 396e91abf0
am: c81072f6ab

Change-Id: I03da3f59434e58936afb6646d393393a8899965e
2018-03-26 09:42:31 +00:00
Benjamin Franz
c81072f6ab Merge "Do not allow force stopping protected packages" into pi-dev
am: 396e91abf0

Change-Id: I725a5a666ef7155fe98d6beb4d9c5ec461af4377
2018-03-26 09:24:02 +00:00
Benjamin Franz
396e91abf0 Merge "Do not allow force stopping protected packages" into pi-dev 2018-03-26 09:15:41 +00:00
Andrew Chiang
f6c8a42d93 Update toggle text for Data Saver
Update Data Saver toggle to say "Use Data Saver" instead of "On"/"Off"

Bug: 75983536
Test: Robotest, manual test and atest DataSaverSummaryUITest
Change-Id: Icf690638570278fb869515931943ac486adbfc7c
2018-03-26 15:16:19 +08:00
WenHung_Teng
8e14da1d30 Fix issue "open battery settings, switch locale, apps are still in old locale" into pi-dev
Clear uid to package detail cache by checking locale before use.

Fixes: 62422871
Test: RunSettingsRoboTest pass,
manual test
(1) open advance battery settings page,
(2) switch locale,
(3) back to advance battery settings page  => pass
manual test
(1) open advance battery settings page, and then back to settings main page
(2) switch locale,
(3) go to advance battery settings page  => pass

Change-Id: Ifac830706539022cd9bf51d3f33e728aadc163f4
2018-03-26 14:46:44 +08:00
felkachang
ef1cce6cc0 To update from "Data saver" to "Data Saver"
To change data_saver_title res string from "Data saver" to "Data Saver".
There are 2 places to change and most of them are belong to en locale
charactors.
  res/values/strings.xml
    To change XML To "Help URL, Data saver" to "Help URL, Data Saver"
    because there is already one XML comment "Data Saver mode is on".
    To change data_saver_title to be "Data Saver" because
    condition_bg_data_title use "Data Saver".

Bug: 75983079
Test: make -j SettingsRoboTests RunSettingsRoboTests
Change-Id: I4ef88c962d6388c38841d47e4dc9674e8a4bb793
2018-03-26 10:22:44 +08:00
Jeff Sharkey
eebc7ad53b Merge "Add UX string tweaks before string freeze." into pi-dev am: d6e81ab51b
am: 029834a93e

Change-Id: I3c1fe048e4ba9a9098e1c9dfdd3831dcf28c10eb
2018-03-25 09:06:30 +00:00
Jeff Sharkey
029834a93e Merge "Add UX string tweaks before string freeze." into pi-dev
am: d6e81ab51b

Change-Id: Id413301fb3794dbe6055ba76efbfd6099dfbde8d
2018-03-25 08:59:57 +00:00
Jeff Sharkey
d6e81ab51b Merge "Add UX string tweaks before string freeze." into pi-dev 2018-03-25 08:49:58 +00:00
Matthew Fritze
206691d079 Merge "Return back-up slices for unavailable settings" into pi-dev am: 362ba01789
am: 2cc4516030

Change-Id: Iaf5c385ebae91340294b027ee6037bb0589fa607
2018-03-24 07:59:35 +00:00
Maurice Lam
2f4745d402 Merge "Separate skip and clear button in pattern screen" into pi-dev am: 59b25d0043
am: f95ec59cbf

Change-Id: Ia8aeb392ce080533c503d3cf4e9b6e9370425e87
2018-03-24 07:58:42 +00:00
Doris Ling
468bbfaa7c Merge "Add toggle title for Data Saver" into pi-dev am: c812ec6c89
am: 4d3390d619

Change-Id: I58b7c65faa67e70a261b5ceebfd787d3159c9cbd
2018-03-24 07:57:22 +00:00
Lei Yu
3f49c24d3f Merge "Add callback when tethering fails" into pi-dev am: 1682085feb
am: 7fcde4490c

Change-Id: Ie1e512ffa61b138769b25bf0c54bc459940f91fc
2018-03-24 07:56:32 +00:00
Fan Zhang
60d7e5fb74 Merge ""My Phone" -> "About Phone"" into pi-dev am: 6ab6ed4e7a
am: bb40b8e157

Change-Id: I3d8c617eec7fc1cf739094d834eede3af785e42a
2018-03-24 07:55:43 +00:00
Fan Zhang
d157f7c846 Merge "Add preference controller to launch app-time-spent UI." into pi-dev am: 30da391fa0
am: 490eaa1c8c

Change-Id: Ic19a6b808359f45a8c51d06de04d635d1ea10ceb
2018-03-24 07:54:54 +00:00
Sean Callanan
ecef2f8d0c Merge "[Settings] Add strings for Natural and Automatic color modes" into pi-dev am: 8d8ee565b1
am: ee8a899d89

Change-Id: Ie9efef5b5a8abe1a16048a129ad770048342438c
2018-03-24 07:53:36 +00:00
Beverly
397e45bf29 Merge "Add string for app info summary" into pi-dev am: 2e32d30298
am: 714c5fad50

Change-Id: If7cd1cd90e7cb7ec50e5b4bbf627e0624b011b5c
2018-03-24 07:50:56 +00:00
Doris Ling
a93b5fe982 Merge "Update title text for finterprint suggestion." into pi-dev am: 7bf63eb62a
am: c69a2a1b6d

Change-Id: I0ae5e6ec09c21914f384d9cf66c23538b3a17777
2018-03-24 07:47:39 +00:00
Stanley Tng
19f50512ac Merge "Add new strings for Hearing Aid profile in Accessibility app" into pi-dev am: 53332b6dcf
am: 36f2f35b8c

Change-Id: I8ef143a25ed8cb9d90dfd961f97b0e6ebcdd6c06
2018-03-24 07:35:48 +00:00
Matthew Fritze
2cc4516030 Merge "Return back-up slices for unavailable settings" into pi-dev
am: 362ba01789

Change-Id: Ic4dbd881bbe0bc5044b148a4c57736a1a0dc9fac
2018-03-24 07:17:35 +00:00
TreeHugger Robot
362ba01789 Merge "Return back-up slices for unavailable settings" into pi-dev 2018-03-24 07:04:47 +00:00
Maurice Lam
f95ec59cbf Merge "Separate skip and clear button in pattern screen" into pi-dev
am: 59b25d0043

Change-Id: Ibd042c0e3686e899e22a144295829309bc623fa4
2018-03-24 05:55:25 +00:00
TreeHugger Robot
59b25d0043 Merge "Separate skip and clear button in pattern screen" into pi-dev 2018-03-24 05:46:35 +00:00
Doris Ling
4d3390d619 Merge "Add toggle title for Data Saver" into pi-dev
am: c812ec6c89

Change-Id: Idc9711ebf92a19337e79a01665c8a46330634fda
2018-03-24 05:36:14 +00:00
Lei Yu
7fcde4490c Merge "Add callback when tethering fails" into pi-dev
am: 1682085feb

Change-Id: I453702ec5cba4ea5d65d3287acc75d2adc4890e4
2018-03-24 05:33:56 +00:00
TreeHugger Robot
c812ec6c89 Merge "Add toggle title for Data Saver" into pi-dev 2018-03-24 05:30:28 +00:00