461 Commits

Author SHA1 Message Date
Baligh Uddin
f61b6ae1b4 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 28857042
Change-Id: If486d4168089e018bea1f2acbdbccb2846ee9250
2016-05-21 12:39:28 -07:00
Sanket Agarwal
090bf55130 While turning OFF do not honor ON requests.
Native stack does not handle being put from OFF -> ON state without
doing a complete cleanup. Hence instead of going from start -> ON -> OFF
-> cleanup it goes start -> ON -> OFF ->ON -> ... usually leads to race
conditions down the road in native.

This patch is a workaround so that we can throw away the requests if we
are in currently "turning off" phase. The side-effect would be that user
will need to turn it ON again. The race happens when the turn OFF time
is longer but usually it is found to be close to order of seconds hence
the wait should be bounded.

Bug: b/28318203
Change-Id: I14f6633f31311e5b561e1dcbc8a9d6d2a5dd6fdc
2016-05-19 18:27:27 +00:00
Baligh Uddin
aebe22dbc3 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-05-18 18:56:45 +00:00
Sudheer Shanka
93f8fd714a Update RestrictedLockUtils to use UM.getUserRestrictionSource.
Bug: 28269827
Change-Id: Ib4a1441b71986ca6637a9236136b60e18dbc1643
2016-05-17 13:27:27 -07:00
Baligh Uddin
b07399fd73 Import translations. DO NOT MERGE
Change-Id: I6803d5388c5e4c7fa188d908f35962170c4da1dc
Auto-generated-cl: translation import
2016-05-16 23:23:56 -07:00
Sudheer Shanka
f7a2afb4fc Merge "Move spinner_dropdown_restricted_item to Settings." into nyc-dev 2016-05-11 19:04:20 +00:00
Torne (Richard Coles)
d3831179c8 Change webview developer setting string.
Request from UI to change string to make it clearer.

Bug: 28691051
Change-Id: Ibc2507a0e278994741c43fdadccbbe3e416b2e49
2016-05-11 15:52:07 +01:00
Svetoslav Ganov
7e01af4243 Don't throw runtime exceptions for permission flags
We were thrwing undocumented runtime exception when
one gets the permission flags - now we just return
default result of the package is gone.

bug:28657926

Change-Id: I42554a86b9304ff83fe9385f3eea930b8ebf0c63
2016-05-10 15:34:36 +00:00
Bill Yi
1d51db6ba8 Import translations. DO NOT MERGE
Change-Id: Ia3e265610e5f562a0acfe849e2c7473f2bd44594
Auto-generated-cl: translation import
2016-05-09 06:14:28 -07:00
Bill Yi
3b4672d8ae Import translations. DO NOT MERGE
Change-Id: I15055663e1705ae0e64ca3f4242bbad3748461e4
Auto-generated-cl: translation import
2016-05-05 21:28:01 -07:00
Tony Mak
c820cc5fb1 New settings key and policy transparency for managed profile settings
Bug: 28281560
Change-Id: I38d0c202088df410a28e78800de4e74377ec3216
2016-05-04 09:33:08 +00:00
Baligh Uddin
da521ddc53 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 28463229
Change-Id: I15a9ed4cab9b212c20a05b7fddcb00d74c3172bc
2016-05-03 16:30:12 -07:00
Julia Reynolds
6af7c23168 Merge "Announce access point changes." into nyc-dev 2016-05-03 18:58:13 +00:00
Julia Reynolds
7ed62eb7a2 Announce access point changes.
Bug: 24202851
Change-Id: I0de0d9bf89191750694a7ba2fac4a95babe62aeb
2016-05-03 14:54:47 -04:00
Baligh Uddin
0a2893210d Import translations. DO NOT MERGE
Change-Id: Ia0caec71caaacee083296ac8f093f2c046eaf2a4
Auto-generated-cl: translation import
2016-05-03 01:16:24 -07:00
Clara Bayarri
88545ce446 Merge "Make EXTRA_SHOW_MENU visible to Settings so StorageSettings can use it" into nyc-dev 2016-04-29 16:38:14 +00:00
Clara Bayarri
962694db38 Make EXTRA_SHOW_MENU visible to Settings so StorageSettings can use it
Bug: 28197210
Change-Id: I798a891b1de9777f652a46c1d938e23c0c62f783
2016-04-29 16:56:02 +01:00
Lorenzo Colitti
fb628c078c The legacy DHCP client is gone. Delete the settings.
Bug: 27192644
Change-Id: I5bc23f3e269e17d50fa2531a57fb0e2049ae18bf
2016-04-29 22:19:23 +09:00
Sudheer Shanka
a2650a958b Move spinner_dropdown_restricted_item to Settings.
RestrictedDropdownPreference is in Settings and currently not
used by anything else, so corresponding layout
spinner_dropdown_restricted_item to Settings.

Bug: 28390118
Change-Id: I3a1b53dc80ba9329d6ffd40562db0c0587a34666
2016-04-28 14:24:04 -07:00
Bill Yi
119fe56bc7 Import translations. DO NOT MERGE
Change-Id: I462f55a9c48e4154ce97bbe76b2b8ef6add73086
Auto-generated-cl: translation import
2016-04-26 22:23:19 -07:00
Bill Yi
6e2d20b2b6 Import translations. DO NOT MERGE
Change-Id: I1811b4ca04bc4386f233bc1bdc2b486e6ce48b01
Auto-generated-cl: translation import
2016-04-24 22:31:19 -07:00
Svetoslav Ganov
5a91b61523 Merge "Disallow disable of the system shared libs." into nyc-dev 2016-04-22 21:03:30 +00:00
Keith Cheung
39066abb59 Merge "Include work app in battery optimization settings" into nyc-dev 2016-04-21 15:18:08 +00:00
Mitchell Wills
de629c7ac7 Update scan and last network info in the WorkThread am: cf0875a am: c441faa
am: 2dbac6c

* commit '2dbac6cee58c343682ebf6590ae170c2acd067e4':
  Update scan and last network info in the WorkThread

Change-Id: I1068111b96b907f9f3c839fc497e9d06e1254d26
2016-04-20 19:01:51 +00:00
Mitchell Wills
2dbac6cee5 Update scan and last network info in the WorkThread am: cf0875a
am: c441faa

* commit 'c441faa6de5618e9da029858ce83b3e129be2974':
  Update scan and last network info in the WorkThread

Change-Id: I69ee081eb91a521e7c6cdc7ca6e96ebc230c1aba
2016-04-20 18:57:29 +00:00
Mitchell Wills
c441faa6de Update scan and last network info in the WorkThread
am: cf0875a

* commit 'cf0875a9b69da9da5e16563eca33609e775d9195':
  Update scan and last network info in the WorkThread

Change-Id: I0b59f1eaa9bad27b300477f31fb88fb8e2eacb38
2016-04-20 18:53:58 +00:00
Sudheer Shanka
df9ecfc587 Merge "Add restrictedSwitchSummary attribute to restricted switch preferences." into nyc-dev 2016-04-20 18:04:14 +00:00
Sudheer Shanka
205d10bb13 Merge "Fix additional summary of RestrictedSwitchPreference." into nyc-dev 2016-04-20 17:50:20 +00:00
Mitchell Wills
cf0875a9b6 Update scan and last network info in the WorkThread
This prevents a race condition where mLastInfo is updated while
processing scan results causing a crash.

Change-Id: Ic5147f3851f218c0f697e4ebb324f1cb63d02665
Fixes: 27944510
2016-04-20 10:34:24 -07:00
Keith Cheung
54f7d9bfaf Include work app in battery optimization settings
Fix: 23684151

Change-Id: I857b90ecee726f9a3d0d67eed944c8fffc668b2e
2016-04-20 18:02:10 +01:00
Jason Monk
8095309791 Fix settings drawer when font size is huge
Change-Id: Id720a7e7b471ddf01ed3682882656cd838eb860d
Fixes: 28181614
2016-04-20 09:44:22 -04:00
Sudheer Shanka
a1790c3b35 Add restrictedSwitchSummary attribute to restricted switch preferences.
Bug: 27659072
Change-Id: If516adaed041ea0d66945ebf1dbe7945331d0da5
2016-04-19 21:51:38 -07:00
Sudheer Shanka
8f182f1454 Fix additional summary of RestrictedSwitchPreference.
Bug: 27659072
Change-Id: I27fec7d5bf3daeb5525cf45c328aa2f0c93f7490
2016-04-19 17:27:52 -07:00
Baligh Uddin
30fc04a99c Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-19 15:45:36 +00:00
Eric Tang
2f87f1d1c5 Merge "update string "Work profile" to "All work apps"" into nyc-dev 2016-04-19 13:38:07 +00:00
Baligh Uddin
13d8bb403a Import translations. DO NOT MERGE
Change-Id: I4de249a3fbf0c6d3faad2b3bb233be596c5ca815
Auto-generated-cl: translation import
2016-04-19 01:37:35 -07:00
Shweta Chahar
739da49dbb Merge "Add strings for reset speech pitch button in Text-to-Speech output settings UI." into nyc-dev 2016-04-18 15:14:04 +00:00
shwetachahar
0f11e37810 Add strings for reset speech pitch button in Text-to-Speech output
settings UI.

Bug: 27949093
Change-Id: I816a9e33c2cc8efc59fedf1201824d92b6175d60
2016-04-18 16:10:02 +01:00
Eric Tang
50adb2e020 update string "Work profile" to "All work apps"
The following screens will be affected:
- Settings app > data usage
- Settings app > Developer options > Running services

Bug: 28064677
Change-Id: I3aec5ddd8c8daaab4172fcc614fb6e4787fc51bc
2016-04-18 16:03:49 +01:00
Adam Lesinski
0b1a203830 Merge "SettingsLib: Build with AAPT2" into nyc-dev 2016-04-16 07:01:08 +00:00
Baligh Uddin
f94fcc3e5d Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-15 22:32:51 +00:00
Julia Reynolds
4d920ff6eb Notification slider update.
Bug: 27558254
Change-Id: I5e03aacf3aafb900f45d227a031a5dbb328ba18f
2016-04-15 11:03:53 -04:00
Baligh Uddin
236c40ac26 Import translations. DO NOT MERGE
Change-Id: Ibe3273d1791c214e6f9f311bbf37657a9051f830
Auto-generated-cl: translation import
2016-04-14 23:16:45 -07:00
Adam Lesinski
5ff3ad6312 SettingsLib: Build with AAPT2
Bug:22775504
Change-Id: I2e5015235384d124418d32186daa190f38e1c5b3
2016-04-14 14:45:21 -07:00
Sudheer Shanka
3ee2cc630d Merge "Update RestrictedSwitchPreference to have an additional summary." into nyc-dev 2016-04-14 21:05:26 +00:00
Sudheer Shanka
6823a8fc59 Update RestrictedSwitchPreference to have an additional summary.
Bug: 27659072
Change-Id: Idfefe16f709d092355ce9cfbd820aacf12b95692
2016-04-14 12:24:23 -07:00
Bernard Chau
25c43b78d1 Merge "Includes both direct boot aware and unaware apps in Apps default view" into nyc-dev 2016-04-14 09:40:00 +00:00
Svetoslav Ganov
a9c2500a68 Disallow disable of the system shared libs.
bug:28173410

Change-Id: If731f2d90312a083bb940f83431ba3eccf213947
2016-04-13 19:31:40 -07:00
Bernard Chau
186f29b6d8 Includes both direct boot aware and unaware apps in Apps default view
The view should be showing a combined list of "downloaded"
+ "visible in launcher" apps. However, if FBE and work callenge are
enabled, after a reboot the direct boot unaware apps are filtered.

Reason is that PackageUserState#isMatch assumes at least one of the flags
are specified and expects system to derive the aware/unaware flags
according to the user's lock state if neither of them is specified.

Bug: 28004355
Change-Id: Ia05edb0530023597fd219eb5e59cd71752efd279
2016-04-13 18:00:06 +01:00
Jason Monk
65fc8c82c2 Merge "Rename home to settings home" into nyc-dev 2016-04-12 19:18:20 +00:00