• Home
  • History
  • Annotate
  • only in /frameworks/base/packages/SettingsLib/src/com/android/settingslib/
History log of /frameworks/base/packages/SettingsLib/src/com/android/settingslib/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
07a375186e9c5f4417d8f106a2f1962a7524d9c8 15-Jun-2016 Richard Ho <horichard@google.com> Merge "added null check in doInBackground and if null, properly intializes variables." into nyc-dev
8c4e4b0865dada1f89c72b8abd44229df44a3250 14-Jun-2016 Richard Ho <horichard@google.com> added null check in doInBackground and if null, properly intializes
variables.

Bug:29234237
Change-Id: I1d65b1a232c71efdd11a917769aec5044867a085
(cherry picked from commit 0f0f5414f4860de7f5e98d783b3172a39a42df2f)
rawer/SettingsDrawerActivity.java
a64e3a0844d6a02e89e6f73f17ffaa37de5ac0c7 14-Jun-2016 Julia Reynolds <juliacr@google.com> Merge "Revert "Announce access point changes."" into nyc-dev
8897a5044b6e2612c80fecb72de031027229c2a0 14-Jun-2016 Julia Reynolds <juliacr@google.com> Revert "Announce access point changes."

Fixes: 29151018

This reverts commit 7ed62eb7a214126d3dbfd6abd7d6a7db73cc9f3c.

Change-Id: If40669b21cc2a2db7e2bb27c7c981d889cb094ed
ifi/AccessPointPreference.java
27eadb6f1d59a9e0438b3c78cbedd670eccfd648 08-Jun-2016 Jason Monk <jmonk@google.com> Merge "Settings: Better handling for disabled tiles" into nyc-dev
fcad09a777353d24fe38ba054c0e1007d3eeb2f4 07-Jun-2016 Jason Monk <jmonk@google.com> Settings: Better handling for disabled tiles

Push disabling into SettingsDrawerActivity and add a blacklist to
make sure they disappear immediately.

Change-Id: I79b9c596373cf9634008f6be88f4808af70eb071
Fixes: 29080209
rawer/SettingsDrawerActivity.java
b87b0edfb36bccdbc5ca33d85e8917c6c7f23190 07-Jun-2016 Ricky Wai <rickywai@google.com> Make Settings->Apps can handle work apps even work profile not enabled yet

Bug: 29090660
Change-Id: I74f79a4939fac16a09c7991181dc25e1ba4e5edc
pplications/ApplicationsState.java
5548733eb5163ef9f3c642314d2d217503c90d64 03-Jun-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Avoid triggering support dialog in non-current user." into nyc-dev
54cb63c182473eb38f33b7af555a7b60787fa52b 02-Jun-2016 Sudheer Shanka <sudheersai@google.com> Avoid triggering support dialog in non-current user.

Bug: 28953755
Change-Id: I3e23a003ec7c8c3d275fa09d6d58f59cc272f617
estrictedLockUtils.java
3e4885d333ef0cf300ae277c1de2458b3023d7c2 31-May-2016 Ian Rogers <irogers@google.com> Fix call to equals that could never succeed.

Caught by Error Prone.
Bug: 29045331

Change-Id: I5901a3ca06e0cc85620f596cfa4178f5ad61d1a7
(cherry picked from commit edf2f5747b9adc3399b59eb478c94641b1021222)
estrictedLockUtils.java
090bf551308e68b1b2a996c959b608cabd025c5c 21-Apr-2016 Sanket Agarwal <sanketa@google.com> 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
luetooth/LocalBluetoothAdapter.java
93f8fd714ad89067bf81d2ce8be3b2f2e816dee2 05-May-2016 Sudheer Shanka <sudheersai@google.com> Update RestrictedLockUtils to use UM.getUserRestrictionSource.

Bug: 28269827
Change-Id: Ib4a1441b71986ca6637a9236136b60e18dbc1643
estrictedLockUtils.java
7e01af424355b5bbac64126fef4e3d37c9c41dd7 10-May-2016 Svetoslav Ganov <svetoslavganov@google.com> 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
pplications/ApplicationsState.java
c820cc5fb1eb036e76d60a25f151cbd91485feb3 03-May-2016 Tony Mak <tonymak@google.com> New settings key and policy transparency for managed profile settings

Bug: 28281560
Change-Id: I38d0c202088df410a28e78800de4e74377ec3216
estrictedLockUtils.java
7ed62eb7a214126d3dbfd6abd7d6a7db73cc9f3c 03-May-2016 Julia Reynolds <juliacr@google.com> Announce access point changes.

Bug: 24202851
Change-Id: I0de0d9bf89191750694a7ba2fac4a95babe62aeb
ifi/AccessPointPreference.java
962694db3834b20a10e7d7756470b389f418c8d8 29-Apr-2016 Clara Bayarri <clarabayarri@google.com> Make EXTRA_SHOW_MENU visible to Settings so StorageSettings can use it

Bug: 28197210
Change-Id: I798a891b1de9777f652a46c1d938e23c0c62f783
rawer/SettingsDrawerActivity.java
5a91b615232374084a45752d7c09c25265e263ed 22-Apr-2016 Svetoslav Ganov <svetoslavganov@google.com> Merge "Disallow disable of the system shared libs." into nyc-dev
39066abb5929622a1918805bf85d19180c6dfe3d 21-Apr-2016 Keith Cheung <keithcheung@google.com> Merge "Include work app in battery optimization settings" into nyc-dev
de629c7ac77719ec6223254825a3e3b099c364c1 20-Apr-2016 Mitchell Wills <mwills@google.com> 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
c441faa6de5618e9da029858ce83b3e129be2974 20-Apr-2016 Mitchell Wills <mwills@google.com> 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
df9ecfc587615edc80c6bf96e67d7dc4d510e03f 20-Apr-2016 Sudheer Shanka <sudheersai@google.com> Merge "Add restrictedSwitchSummary attribute to restricted switch preferences." into nyc-dev
cf0875a9b69da9da5e16563eca33609e775d9195 18-Apr-2016 Mitchell Wills <mwills@google.com> 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
ifi/WifiTracker.java
54f7d9bfafcd355ecb610eb45d4d31dc7601627d 18-Apr-2016 Keith Cheung <keithcheung@google.com> Include work app in battery optimization settings

Fix: 23684151

Change-Id: I857b90ecee726f9a3d0d67eed944c8fffc668b2e
pplications/ApplicationsState.java
a1790c3b35fc1ea7a80c132f0059873328e51e9e 20-Apr-2016 Sudheer Shanka <sudheersai@google.com> Add restrictedSwitchSummary attribute to restricted switch preferences.

Bug: 27659072
Change-Id: If516adaed041ea0d66945ebf1dbe7945331d0da5
estrictedSwitchPreference.java
8f182f14540624e1af88ae91c9de493dea71fa6e 20-Apr-2016 Sudheer Shanka <sudheersai@google.com> Fix additional summary of RestrictedSwitchPreference.

Bug: 27659072
Change-Id: I27fec7d5bf3daeb5525cf45c328aa2f0c93f7490
estrictedSwitchPreference.java
0b1a203830f49b8998692873c161a8fb7c7ab9cb 16-Apr-2016 Adam Lesinski <adamlesinski@google.com> Merge "SettingsLib: Build with AAPT2" into nyc-dev
5ff3ad6312086b87439bd8d3438a4476e2c14946 14-Apr-2016 Adam Lesinski <adamlesinski@google.com> SettingsLib: Build with AAPT2

Bug:22775504
Change-Id: I2e5015235384d124418d32186daa190f38e1c5b3
estrictedPreference.java
estrictedSwitchPreference.java
3ee2cc630d2782637461e59049e99bb8d72326b7 14-Apr-2016 Sudheer Shanka <sudheersai@google.com> Merge "Update RestrictedSwitchPreference to have an additional summary." into nyc-dev
6823a8fc59f7b03ca9802e0e5e961f32e8cdea3a 13-Apr-2016 Sudheer Shanka <sudheersai@google.com> Update RestrictedSwitchPreference to have an additional summary.

Bug: 27659072
Change-Id: Idfefe16f709d092355ce9cfbd820aacf12b95692
estrictedSwitchPreference.java
25c43b78d11f74e98ba9d5f541647aa5ed44ebce 14-Apr-2016 Bernard Chau <bernardchau@google.com> Merge "Includes both direct boot aware and unaware apps in Apps default view" into nyc-dev
a9c2500a6863dabdd786f17a25ce0bf3683109a2 14-Apr-2016 Svetoslav Ganov <svetoslavganov@google.com> Disallow disable of the system shared libs.

bug:28173410

Change-Id: If731f2d90312a083bb940f83431ba3eccf213947
tils.java
186f29b6d8f00dfc16288b4972d43e874a805229 13-Apr-2016 Bernard Chau <bernardchau@google.com> 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
pplications/ApplicationsState.java
b0ae8f820927fc6c039b4e4efd6d3f15c1a6a141 12-Apr-2016 Jason Monk <jmonk@google.com> Settings dashboard performance work

- Allow rebuilding apps not in the foreground
- Allow rebuilding apps without a comparator
- Initially apply current configuration so we don't immediately clear
tile cache

Change-Id: I8d57f7e8f7fa119915bf6fdc8ece8bee976edbdc
Fixes: 26541310
pplications/ApplicationsState.java
rawer/SettingsDrawerActivity.java
bb5e4e2b8155fcb6dbe0a6d76daeec89dbf1d308 08-Apr-2016 Suprabh Shukla <suprabh@google.com> Merge "Moving HelpUtils to SettingsLib" into nyc-dev
aa7f51fe8c6e54485f0b5037c17777b4695d19e0 16-Mar-2016 Evan Rosky <erosky@google.com> Centralized user icon drawing with badges

Renamed CircleFramedDrawable to UserIconDrawable and
added badge/frame support.
Replaced several instances of user icon drawing with
UserIconDrawable

Bug: 27483956
Change-Id: I10d665406ea8b085667aa8c71ffcedffe72dafbd
tils.java
rawable/UserIconDrawable.java
rawer/UserAdapter.java
7233ef22ef37fc57fb24f37579a4a1018b6ff58f 08-Apr-2016 Joseph Pirozzo <pirozzoj@google.com> Merge "HFP Client Permission" into nyc-dev
99fecc0dd7e1c2db0f4b173a69e2b3a96fef12ff 07-Apr-2016 Joseph Pirozzo <pirozzoj@google.com> HFP Client Permission

Add the permission checkbox to the bluetooth profiles in settings if an
HFP client profile exists on the local device and HFP server profile
exists on the remote device rather than relying on the remote device
attempting to connect before presenting it.

Bug: 28071400
Change-Id: I32707a709489c7383a6e1709eac844a3d17f4428
luetooth/LocalBluetoothProfileManager.java
c15c1be2579ec6c1a3391d1a774320411e2446ee 05-Apr-2016 Suprabh Shukla <suprabh@google.com> Moving HelpUtils to SettingsLib

Moved HelpUtils to SettingsLib from com.android.settings so it can be
shared with packageinstaller.

Bug: b/22096093
Change-Id: I75efb6476a8c7621279705a636f87b32d8d921be
elpUtils.java
035e92447084b96ef2c9125e77105c237e20bad3 18-Mar-2016 Ricky Wai <rickywai@google.com> Fix work profile screen timeout policy

Settings screen should apply both primary and managed maximum
timeout policy, even separate profile challenge is enabled.

Bug: 27493348
Change-Id: Ia1ec1cafc7665c54816833af64e0f446a77a55b2
estrictedLockUtils.java
a951a593c080ade962c70b30da6ff9b059225e61 06-Apr-2016 Sanket Agarwal <sanketa@google.com> Merge "PBAP connect to alternate device." into nyc-dev
c76c857c26ba76fdf319e83a353db66f7b0ab32f 05-Apr-2016 Joseph Pirozzo <pirozzoj@google.com> PBAP connect to alternate device.

Fix connect to first disconnect from all connected devices before
attempting to connect to a new device for PBAP Client.

Bug: 28003503
Change-Id: I1299fc146c881f359832dae2da814a4aebbfec59
luetooth/PbapClientProfile.java
18d2b32423855bb9dceb044d87e5d3543c4575a0 31-Mar-2016 Muyuan Li <muyuanli@google.com> SettingsLib: refactor for extensibility.

Add short version of charging / discharging labels. Extended getBatteryInfo method to take in additional flag for short version labels.

Change-Id: I499ce59493f1345c3084d48829ded5117d470e44
(cherry picked from commit e686bf4514d9c1116a4eaa8af285f44613e23b36)
atteryInfo.java
tils.java
aa604694450539b4c99901b0714efaa79db3c87d 31-Mar-2016 Andrei Stingaceanu <stg@google.com> Merge "AfW - suspend apps - API polish" into nyc-dev
d2a968f9c31ba1864bc514bb88a9a939508fe794 31-Mar-2016 Sudheer Shanka <sudheersai@google.com> Merge "Return null value if getActiveAdminUncheckedLocked returns null." into nyc-dev
549b9692808cbd7d64e732b199b453b2b372dd32 31-Mar-2016 Sudheer Shanka <sudheersai@google.com> Return null value if getActiveAdminUncheckedLocked returns null.

- Split per user version of getUserRestrictions into a separate method
in DPMS and make the per-user version return null if the admin
parameter is not a valid one.
- Update isAccessibilityServicePermittedByAdmin and
isInputMethodPermittedByAdmin to return false if the admin parameter
is not a valid one.

Bug: 27909087
Change-Id: I6f4cae6552cbfe02dc4a92b04eeeddf0314e0974
estrictedLockUtils.java
43b5d980d89f4badfe89008febf5fcd6e1ae9d49 30-Mar-2016 Joseph Pirozzo <pirozzoj@google.com> Merge "PBAP client Settings profile." into nyc-dev
563c700f7025d2f792a52b7483725b3d58eaa7a6 21-Mar-2016 Joseph Pirozzo <pirozzoj@google.com> PBAP client Settings profile.

Add content to Settings and SettingsLib to add a checkbox for PBAP
client profile, and remove the box for PBAP server profile when the
client profile is enabled.

Bug: 27642222
Change-Id: I125559904a8e017a01ae90b1f6425129a87cbee3
luetooth/LocalBluetoothProfileManager.java
luetooth/PbapClientProfile.java
4ea6657d587f0e06a335b9faf355e222d7cbd385 30-Mar-2016 Jason Monk <jmonk@google.com> Clear out old views when setting new content in settings

Bug: 27529989
Change-Id: Id44ca442c2117bc5df7929bcd79434c0ae23cded
rawer/SettingsDrawerActivity.java
68dab67de2d9d254f5e71b6b8912f3c940eda1fd 29-Mar-2016 Udam Saini <udam@google.com> Calling setIsDrawerPresent(false) twice causes a crash.

We should only call setDrawerLockMode(...) if mDrawerLayout isn't
null.

bug:26288300
Change-Id: I8a1b77e03414360f9cd7e3fa6e6c98ef0e139ebf
rawer/SettingsDrawerActivity.java
efc4a344a173ae20ec72b8c05c45b794687fda87 22-Mar-2016 Andrei Stingaceanu <stg@google.com> AfW - suspend apps - API polish

* renamed getPackageSuspended => isPackageSuspended
* does not return false for an error, instead throws
NameNotFoundException if the package could not be
found, or if there is an unknown RemoteException,
wraps it in a RuntimeException and rethrows.

Bug: 27532430
Bug: 22776761
Change-Id: Iee00600089b1c0556a3312b10456826464fa8f9f
estrictedLockUtils.java
ec02e471a628f8b893a629d0d6116712290f828e 28-Mar-2016 Jason Monk <jmonk@google.com> Make sure settings tiles pick up locale changes

Bug: 27727312
Change-Id: Ic54437805bb264dd8e569ac38673c5ee36b2378a
rawer/SettingsDrawerActivity.java
76ba7186febdd2affa9277d8371378e60dcb187b 25-Mar-2016 Alan Viverette <alanv@google.com> Merge "Move DensityUtils into SettingsLib" into nyc-dev
8890cfa67f4dec6ee2916dd4c92494fd2901fc06 25-Mar-2016 Alan Viverette <alanv@google.com> Move DensityUtils into SettingsLib

Bug: 27644685
Change-Id: I24b9e53d9add294eba43b612b30e3c4d6f74c8b5
isplay/DisplayDensityUtils.java
13460a6cba25b99c405d00bb40939958df332f3f 18-Mar-2016 Joe Onorato <joeo@google.com> Turn off verbose logs and remove log that is covered by verbose logs.

Bug: 27744135
Change-Id: I436cfd325f87b3b9205d50e92e2a70a50dd33344
eviceinfo/StorageMeasurement.java
a2e759d963e2b75775bb3708039f687d57920998 17-Mar-2016 Jason Monk <jmonk@google.com> Merge "Fix Settings home lifecycle" into nyc-dev
3084bb87190afe17587d0d01cec2cfa9b897be9d 17-Mar-2016 Svetoslav Ganov <svetoslavganov@google.com> Merge "Disallow disabling of the package installer" into nyc-dev
14ee8d7e17b179f7ae1d109adb9d7bd5fc15b97f 16-Mar-2016 Jason Monk <jmonk@google.com> Fix Settings home lifecycle

Bug: 26268813
Bug: 27330440
Change-Id: I6f5ab4a412b129728db3e8dff134c04272909997
rawer/SettingsDrawerActivity.java
2893302afc4137e63c9174a5d471d1f18b8b5d87 14-Mar-2016 Sudheer Shanka <sudheersai@google.com> Call preference.setEnabled only after updating disabledByAdmin state.

We check the value of disabledByAdmin state in setEnabled, so update it
first before calling setEnabled.

Bug: 27642236
Change-Id: Ie6c805b85a3afb87ffdaad0b80dbadc172b62d49
estrictedPreferenceHelper.java
79d7e54f70749b974157b9b6273f455085e0ee24 10-Mar-2016 Tony Mantler <nicoya@google.com> Merge "Remove redundant twiddling of Settings.Secure.ACCESSIBILITY_ENABLED" into nyc-dev
91f80006e536c0b925d20dbdcd10cec46cfee36a 10-Mar-2016 Sudheer Shanka <sudheersai@google.com> Merge "Use compound drawable instead of image span." into nyc-dev
8d774b752b4f8f9ff64c23b02ec923508fe25068 09-Mar-2016 Sudheer Shanka <sudheersai@google.com> Minor cleanup in RestrictedPreferenceHelper.setDisabledByAdmin.

Change-Id: I573ea3a0c4565c62d47c4458b7885a8cfbdf31cc
estrictedPreferenceHelper.java
d48e0d44f6676de6fd54fd8a017332edd6a9f096 09-Mar-2016 Tony Mantler <nicoya@google.com> Remove redundant twiddling of Settings.Secure.ACCESSIBILITY_ENABLED

This is handled by AccessibilityManagerService now

b/27477156

Change-Id: Ib55d753ec0bd07764780a126be4bb8e4a406d22d
ccessibility/AccessibilityUtils.java
f271fd519982e146bf5c57038f054e7356f5419d 07-Mar-2016 Sudheer Shanka <sudheersai@google.com> Use compound drawable instead of image span.

Bug: 27263531
Change-Id: Id35342c6656cd4b0f4b1756c903e9cf071293a14
estrictedLockUtils.java
bc58e3faa1d3fd3e42b647419fdf81b251fcf126 09-Mar-2016 Sudheer Shanka <sudheersai@google.com> Merge "Remove unused imports and variables." into nyc-dev
efbecddcb798be5aba3b6a80036337555b028050 09-Mar-2016 Sudheer Shanka <sudheersai@google.com> Remove unused imports and variables.

Bug: 27564074
Change-Id: I5eff9f673fe093a9068e94619cfe7eef10c0b4a9
estrictedPreferenceHelper.java
4628b6c12aa7f712f258eb031fdbb5a608e14575 09-Mar-2016 Jason Monk <jmonk@google.com> Merge "Support updates to the data usage graph" into nyc-dev
502bc4e7a340b75829afdd85803005fe3dacbb88 09-Mar-2016 Martijn Coenen <maco@google.com> Merge "SettingsLib: Always update preference state." into nyc-dev
e8cd832eea94a6be152b2ccdfd9536ae1637af52 08-Mar-2016 Sudheer Shanka <sudheersai@google.com> Merge "Remove RestrictedDropDownPreference class." into nyc-dev
0193a87196f5c027b82285e711d8a13e41e4c7d8 08-Mar-2016 Jason Monk <jmonk@google.com> Support updates to the data usage graph

Also make the graph a little bit more smooth.

Bug: 27278313
Change-Id: Ia9ff8a69691671c57cfaf6eb43e373a8386469ea
raph/UsageGraph.java
raph/UsageView.java
19df1284d9a545df044815adf57cf5c160d306fd 07-Mar-2016 Muyuan Li <muyuanli@google.com> Making AccessibilityUtils interface multi-user aware

The getEnabledServices and setAccessibilityServiceState now have an
overloaded version to take in a userId parameter.

Bug: 27383941
Change-Id: I3ea648fd5f22cd2e9402686b83ca42976b5306f8
(cherry picked from commit 2d1c0154b1f9aeeb991dc96efb29aa53c76f4957)
ccessibility/AccessibilityUtils.java
32da6ae10c30c27b0c8af17a97855f99aafd429f 05-Mar-2016 Sudheer Shanka <sudheersai@google.com> Remove RestrictedDropDownPreference class.

It is not being used any more.

Change-Id: I82919eaac21138d3466a5e152d1a1a17429609d2
estrictedDropDownPreference.java
93dcff01227abae7172c0da2bbb09d8f6221f296 02-Feb-2016 Joe Onorato <joeo@google.com> Turn down the logging a little bit.

Change-Id: I5760eb7d6d6ed5e8a3426e92c835e8a71e10cdbb
rawer/TileUtils.java
81fb0d4acdc93c9bfb77972a7610b12acb949aa2 04-Mar-2016 Svet Ganov <svetoslavganov@google.com> Disallow disabling of the package installer

bug:26426558

Change-Id: Ia40a146c37c219a6edbb5d0457b1fce45b021266
tils.java
9cf94182fce16a7de28369263b5ced06a989f71e 03-Mar-2016 Udam Saini <udam@google.com> Merge "Only adds translucent status bar according to theme values." into nyc-dev
48987f65df7825b18bb16d2135d267d090c8a6fb 03-Mar-2016 Udam Saini <udam@google.com> Only adds translucent status bar according to theme values.

On SUW screens, we do not want to add a translucent status bar. This
also affects ime insets when keyboards are shown.

bug:27479424
bug:27063940
Change-Id: Ic339a9d931f6580a9af8deea85ec5e5bb60f6cca
rawer/SettingsDrawerActivity.java
5f4defc61d47859bceae5225eef4d04972e59854 03-Mar-2016 Sudheer Shanka <sudheersai@google.com> Merge "Update restricted icon." into nyc-dev
31edc5ab0f1a801755fca1c05990e23ac30670c3 03-Mar-2016 Sudheer Shanka <sudheersai@google.com> Merge "Part1: Show the restricted lock icon in place of the pref widget." into nyc-dev
40400a648fdf53b0cbfd7f01dd189ea0138b88eb 23-Feb-2016 Sudheer Shanka <sudheersai@google.com> Update restricted icon.

Bug: 25603665
Bug: 27263775
Change-Id: Ib66866cf536f15130f936d03d9328ee5b0b508c7
estrictedDropDownPreference.java
estrictedLockImageSpan.java
estrictedLockUtils.java
estrictedPreferenceHelper.java
d193c6729f5f1d02088623286d03a1fbc7ce250f 01-Mar-2016 Ido Ofir <iofir@google.com> checking additional metadata and completed categories before displaying
suggested actions in settings.

Bug: 27271616
Change-Id: I855bc03337b04c5ff685c102f44dfc0d6638592b
uggestionParser.java
923bc74c9227a684095cf95d808766f5dcd31bb5 22-Feb-2016 Sudheer Shanka <sudheersai@google.com> Part1: Show the restricted lock icon in place of the pref widget.

Add summary strings used for switch prefs if disabled by admin.

Bug: 25603665
Bug: 27263775
Change-Id: I88c2dd2e024f92da107bedc645641e285796d51f
estrictedPreference.java
estrictedPreferenceHelper.java
estrictedSwitchPreference.java
6f02f56f52248a3129da6072ed692591cc1074f6 29-Feb-2016 Martijn Coenen <maco@google.com> SettingsLib: Always update preference state.

In case a RestrictedPreference can also be disabled
for other reasons than device admin, the state
of RestrictedPreferenceHelper may not be up-to-date
with the actual preference state. For example, the
"Android Beam" checkbox can be disabled by device
policy, but it can also be disabled by Settings itself
because NFC was turned off by the user.

To fix that, always update the Preference state.

Bug: 26907006
Change-Id: I27cde70beb82721dd4d423943a9898e022df8862
estrictedPreferenceHelper.java
2b087ab0771d4b108f423ee42f54bb258360d6f2 26-Feb-2016 Jason Monk <jmonk@google.com> Merge "Expose bssids for AccessPoints" into nyc-dev
60a82ffe457942bf9a106b406b14d10d09ba57ef 25-Feb-2016 Jason Monk <jmonk@google.com> Expose bssids for AccessPoints

Bug: 26271353
Change-Id: Id83cb8ae8f25247e2d8eec9c4e06604b7dbb5488
ifi/AccessPoint.java
6bea950bfae14380959203b447bd870569061e4a 25-Feb-2016 Jason Monk <jmonk@google.com> Guard against monkey crash

Bug: 27337783
Change-Id: Ifa1538a0a0521789a516f8cdbc0615a057611ce7
rawer/SettingsDrawerActivity.java
e6324f5eec8454f835fe6c8430ddea94436c9656 23-Feb-2016 Jason Monk <jmonk@google.com> Support changes in Settings for battery graph

Bug: 27205329
Change-Id: I5d15503099144f1c62bafed64ea4c8157e8851ee
atteryInfo.java
a8fbbb30eae03b9ed7a3e6ea78da13480a53b73d 11-Feb-2016 Sudheer Shanka <sudheersai@google.com> Part1 - Don't add padlock if the restriction is not set by admin.

Bug: 26687435
Change-Id: I2fd740b1fa0d76eceedc4dde73e41d779820bbcf
estrictedLockUtils.java
estrictedPreferenceHelper.java
a5d7dd9cd5401d430d7bdb942ed98eb1eb939d26 17-Feb-2016 Jason Monk <jmonk@google.com> Fixes and changes to support settings using UsageView

Bug: 27213136
Change-Id: I1796d710379fc92cf21b196459f34dda4570355f
atteryInfo.java
raph/UsageView.java
5ae4e73ef0747c2d08a901f1a76d8fb8ee64a53a 17-Feb-2016 Andrei Stingaceanu <stg@google.com> Merge "Suspend packages - new API for retrieving the suspended status" into nyc-dev
96ab63640f186dd7f983b35f2c4e1a95436e5052 11-Feb-2016 Jason Monk <jmonk@google.com> Battery graph in QS Detail

Add new usage graph view to SettingsLib that shows usage with
same labels and whatnot.

Use that graph in the battery detail panel to show more stuffs.

Change-Id: I397b1314f65f668df566e93bdbc15420e1b3a280
atteryInfo.java
raph/UsageGraph.java
raph/UsageView.java
355b232d7998cfc9b29d42a0356390e25191bcbd 12-Feb-2016 Andrei Stingaceanu <stg@google.com> Suspend packages - new API for retrieving the suspended status

Instead of always rebuilding the full ApplicationInfo for a
package when callers are only interested in the suspended status
add a new fast API in Packagemanager (which only checks the
suspended user setting for the requested package and returns
a boolean) and change the appropriate caller code too.

Bug: 26794775
Bug: 22776761
Change-Id: Ide8428ef734479360d5a8a75fd8e0ed8ddf2da7a
estrictedLockUtils.java
da63ceb785f4946ae51843bda8c429f0f1de16f8 11-Feb-2016 Jason Monk <jmonk@google.com> Guard against monkey crash

Bug: 27099281
Change-Id: I58951ee7ff5f14f5c2d60e450ed3b0fa7bf31e8e
rawer/SettingsDrawerAdapter.java
d6cc7909fd68626826fe4421c1485dd089b90ba7 09-Feb-2016 Tony Mantler <nicoya@google.com> Handle null list from getPackagesForOps

b/27101914

Change-Id: I468da1a0f38f78e1cd7fec50e3bc78cec6fd2771
ocation/RecentLocationApps.java
cafda1f90ebf79ec3a56d43d8d3c0d63c9d84cb2 05-Feb-2016 Jason Monk <jmonk@google.com> Settings drawer work

- Final visuals
- Show under status bar
- Fix activity flow surrounding drawer use

Change-Id: I161702219c26cabc6b2d1adbaa6fbfb1d9fd5b07
rawer/ProfileSelectDialog.java
rawer/SettingsDrawerActivity.java
rawer/SettingsDrawerAdapter.java
aaa20ad134069e4cefbbe9d2633a71482167f94b 29-Jan-2016 Jeremy Klein <jlklein@google.com> Remove several TetherUtil functions which are no longer needed.

Slowly chipping away at TetherUtil to clean up this code.
This CL also adds an admin check to
ConnectivityService.isTetheringSupported to get parity with the
TetherUtil function before removing it.

Change-Id: Ibe7c5c9fb420d57e5458f77dad30e8a1e751a3e2
etherUtil.java
57218cbbf773f389e5e9493623dd3d017e459590 04-Feb-2016 Sudheer Shanka <sudheersai@google.com> Merge "Made changes to fix some policy transparency options."
569258689a0d28f25cbdf7189038833d45a63a80 28-Jan-2016 Sudheer Shanka <sudheersai@google.com> Made changes to fix some policy transparency options.

Add isInputMethodPermittedByAdmin and
isAccessibilityServicePermittedByAdmin APIs in DevicePolicyManager.
And update utility methods in RestrictedLockUtils to use the correct
userId when checking if disabled by admin.

Bug: 26897250
Bug: 26767564
Bug: 26966213
Change-Id: I0b74b3e57904a82f8ce72d856769d35b5e8403e5
estrictedLockUtils.java
1d0169bd9d5415904fe6a421e7b60bb5d443559d 03-Feb-2016 Sudheer Shanka <sudheersai@google.com> Add an utility method to get device owner.

Change-Id: I0856d220aa8e4b8d17b83c04b9530dc2d085d94d
estrictedLockUtils.java
aae7ad7496a7778f31f9140e49db01cbbfbfc95e 02-Feb-2016 Anna Galusza <agalusza@google.com> Merge "Fix breakage due to incomplete name change."
fb695c633cb57de8746e624fc62127a0a7fa6ec7 02-Feb-2016 Anna Galusza <agalusza@google.com> Fix breakage due to incomplete name change.

Change-Id: Ief02bd4a994a4ff3a571fedfead05c732043500d
rawer/SettingsDrawerActivity.java
427a182be409e0ab8c0c01e5943296669eff39ee 02-Feb-2016 Anna Galusza <agalusza@google.com> Merge "Allow the drawer to not be shown."
1774a27b8405146153aba9a6f1c6427a072d458c 02-Feb-2016 Anna Galusza <agalusza@google.com> Allow the drawer to not be shown.

Change-Id: If616c6b801382c307fa7db85bed02a4b8cae6ea5
rawer/SettingsDrawerActivity.java
f8a1c9121dae665ec9dc29484f89adfb5f3f0886 27-Jan-2016 Sanket Agarwal <sanketa@google.com> Add Headset HF role to the settings menu

- Makes the HF client a configurable item in Settings. You can
enable/disable HF per item.
- Disconnect works cleanly since Settings now disconnects HF and hence
tear down the ACL.

Bug: b/26808830

Change-Id: I062b64beac4c009a6075756b7f163c6455d77af2
luetooth/CachedBluetoothDevice.java
luetooth/HfpClientProfile.java
luetooth/LocalBluetoothProfileManager.java
6b6c5a2035da51a22226051f1a287ac77b29899e 28-Jan-2016 Clara Bayarri <clarabayarri@google.com> Make Notification Redaction independent for work profiles

Bug: 26709332
Change-Id: Ifc13c3c5a62110a3dfc44c2a02df9db11d92b431
estrictedLockUtils.java
9a115b274cdbf437c5e2c90971f7401c94304e08 29-Jan-2016 Tony Mantler <nicoya@google.com> Merge "Make AppRestrictionsHelper leanback-aware"
30c33e09b641b529bbc6a4034577a8b002c17f5b 28-Jan-2016 Andrei Stingaceanu <stg@google.com> Merge "RestrictedLockUtils - introduce check for suspended apps"
44af4828c3fffd7d69074b861b96216eea3eb971 28-Jan-2016 Andrei Stingaceanu <stg@google.com> RestrictedLockUtils - introduce check for suspended apps

Used in Settings for restricting preferences.

Bug: 22776761
Change-Id: I6aad4400981cee00c734060ea3d6cf2641a721d9
estrictedLockUtils.java
14d7b39544bb664f6d30821ee56e271a98c23859 28-Jan-2016 Tony Mantler <nicoya@google.com> Merge "Change AccessPoint sorting to bucket signal levels"
978fc0d44c5e95255fa2c263ef67b6fd1c972d25 28-Jan-2016 Sudheer Shanka <sudheersai@google.com> Add a DPM method to allow system to query parent profile instance.

Bug: 26830384
Change-Id: Ib12b171b1032bd86488f32f8d22eb0a9efb75e8f
estrictedLockUtils.java
a0e03ddd5f8b0f3dc0d3cd1c3432b137dd528a90 28-Jan-2016 Tony Mantler <nicoya@google.com> Change AccessPoint sorting to bucket signal levels

Keeps the list from jumping around for non-user-visible reasons

Change-Id: I2a47fa2f8e3dfcd95c17c5ffbb552332273eb425
ifi/AccessPoint.java
05a7dfc48d4f0e874e5ae2540a4712f8b8ba5c7f 27-Jan-2016 Shishir Agrawal <shishir@google.com> Merge "Unhiding MSIM APIs."
39cef94f1a70358cc1d6e8261379de627c3779be 22-Jan-2016 Sudheer Shanka <sudheersai@google.com> Made checkIfkeyguardNotificationFeaturesDisabled more generic.

Currently, it can be only used for checking the status of keyguard
notification features, made it generic so that it can be used for
other keyguard features like disable_fingerprint etc.

Change-Id: Ib2adfc12d7866cce248af78cc8b159cada9a6cad
estrictedLockUtils.java
6e3e9fc359669a7656f01cf980d3bd571227ef98 26-Jan-2016 Sudheer Shanka <sudheersai@google.com> Merge "Add util method to get the admin who set maximum time to lock."
ca7ec8a54794ec7bbb8f80d043f72ae29b36a059 26-Jan-2016 Jason Monk <jmonk@google.com> Make suggestions handle string or int

Evidently metadata bundles turn a single int into an integer rather than a
string without telling you.

Change-Id: I5c6557bad51981f27a7e213052e2be5bcc3a0a93
uggestionParser.java
7ea3e8bf8954343d7b243b6a23bcb8339921f3c8 25-Jan-2016 Shishir Agrawal <shishir@google.com> Unhiding MSIM APIs.

1. Unhide MSIM APIs in TelephonyManager that already have non-MSIM equivalent
APIs public.
2. Make MSIM API naming consistent (overloaded, no suffix).
3. Unhide APIs in SubscriptionManager that are necessary for MSIM.

Bug: 26772894
Change-Id: Ibebab7379ea79c8e4812bbd190342827048e30e2
et/DataUsageController.java
294efa57ca009974911d5036f3f3eecae9c37197 26-Jan-2016 Jason Monk <jmonk@google.com> Updates to SuggestionParser

Added support for feature requirements and return after dismiss delays.

Change-Id: I80e80a55817cd4d9717876e34fc591b3dd3228f1
uggestionParser.java
37e65a409fb01815e826665c651e07b952cb4f28 26-Jan-2016 Jason Monk <jmonk@google.com> Merge "Only show settings drawer on top level items"
1b92aefaae4cc23dda53c22ca8b516875c5e7440 26-Jan-2016 Sudheer Shanka <sudheersai@google.com> Merge "Add support for adding preference summary when disabled by admin."
2d4e09750df501144fd419086e464fc826335f52 26-Jan-2016 Sudheer Shanka <sudheersai@google.com> Merge "Check for null condition in case there is no DPM support."
c61087106e279f352577b6d610993e30f379ae81 26-Jan-2016 Sudheer Shanka <sudheersai@google.com> Check for null condition in case there is no DPM support.

Change-Id: Ie7c70737d0c36ae9efd1920498d9f07b8a7016b1
estrictedLockUtils.java
0301cd95231a5c59d4f97e24d11a0ea5db909c4f 26-Jan-2016 Jeremy Klein <jlklein@google.com> Merge "Expose a simple tethering API which includes provision checks."
36c7aa03255d91cfa0808323ac475ad02d161d7d 22-Jan-2016 Jeremy Klein <jlklein@google.com> Expose a simple tethering API which includes provision checks.

This CL exposes startTethering and stopTethering functions which also
encapsulate all provisioning check logic. Right now, only silent checks
are implemented, but UI checks will come in a follow-up CL. GTS tests
and Settings changes are under the same topic ID.

BUG: 26247383
Change-Id: I65f61d899594cb3f9035d8496366af17a57a090f
etherUtil.java
145017303494e77026bd99ec41476f6f53225d95 25-Jan-2016 Sudheer Shanka <sudheersai@google.com> Add support for adding preference summary when disabled by admin.

Change-Id: I455c3180266734fa4ba6b5bf7cb5fc2f34177759
estrictedPreference.java
estrictedPreferenceHelper.java
estrictedSwitchPreference.java
45e298f4b918534752f743d68b5112e319aa7c7e 14-Jan-2016 Sudheer Shanka <sudheersai@google.com> Add util method to get the admin who set maximum time to lock.

Added util method checkIfMaximumTimeToLockIsSet in RestrictedLockUtils
to get the admin who set maximum time to lock. Also, made a few updates
to the javadocs of other methods.

Change-Id: Ide3048b277f854360aa92d975963b61dff2387bb
estrictedLockUtils.java
98608e43ebec9999a5e20d9c36b6bbb387cf56fc 22-Jan-2016 Tony Mantler <nicoya@google.com> Move AccessPointPreference to SettingsLib

Change-Id: I4461d5bbe6dd6d78acb8c135150e15e982bb1fab
ifi/AccessPointPreference.java
946483a69e55b661c42e1976f4c70dabff9df89a 22-Jan-2016 Jason Monk <jmonk@google.com> Only show settings drawer on top level items

Bug: 26080590
Change-Id: Id8d387492e2e1e09fc87f4123bf7c399a2c1380e
rawer/ProfileSelectDialog.java
rawer/SettingsDrawerActivity.java
0fa741253df0d02c4f6611d22d293939c2af0941 21-Jan-2016 Sudheer Shanka <sudheersai@google.com> Add a guard against NullPointerException in RestrictedLockUtils.

Change-Id: I1eb7852cf58a4435a2c7627a569ade5f44855bf7
estrictedLockUtils.java
742721389c4d22da214ccb604c7a0034ab36e0c1 21-Jan-2016 Ruben Brunk <rubenbrunk@google.com> Fix admin check in Settings.

- This check is broken when there are no Admins on the device.
- Blocks enabling NotificationListenerServices in Settings.

Change-Id: I2c30daf2fc4632d55e84f0e499e3ceedbe162b98
estrictedLockUtils.java
34ac1d6c6f442cf3d9844216cc7ee8d293f145da 19-Jan-2016 Jason Monk <jmonk@google.com> Merge "Support data usage changes in Settings"
4370fba554d0bfa9dd321461b534f3afb98f8f24 18-Jan-2016 Neil Fuller <nfuller@google.com> Merge "Fix for Settings timezone names when boot time is wrong"
e50cad066e7e7475d89e02d9f986ed0587e9960f 18-Jan-2016 Sudheer Shanka <sudheersai@google.com> Merge "Add an util method and update setMenuItemAsDisabledByAdmin."
a8f8fb4f8add38bfdddd85706f1f7fc491999204 18-Jan-2016 Sudheer Shanka <sudheersai@google.com> Merge "Add extra utility method to RestrictedLockUtils."
ba4a49800ebb45d144efc9288672400e346408da 18-Jan-2016 Sudheer Shanka <sudheersai@google.com> Merge "Remove spacing when removing padlock and add more util methods."
20e22960cbbe990d74269dbd38a87e9ffe31b838 18-Jan-2016 Sudheer Shanka <sudheersai@google.com> Remove spacing when removing padlock and add more util methods.

When adding the padlock, a space is appended to the string which needs
to removed along with the padlock. And added more utility methods in
RestrictedLockUtils.

Change-Id: I33f976db23bfdd39d76c4201be0727bfafb00fd4
estrictedLockUtils.java
476da95b282db3c015c73c6f9899b6fb53dfcba9 18-Jan-2016 Sudheer Shanka <sudheersai@google.com> Merge "Check for null values when copying enforcedAdmin in QSTile.State."
1c09db211c8adfd7d1f2f5acd5dac75de10e27b5 18-Jan-2016 Sudheer Shanka <sudheersai@google.com> Check for null values when copying enforcedAdmin in QSTile.State.

Bug: 26612685
Change-Id: I8228d1dffc3623d3589b51c6c33f07cc53605ef2
estrictedLockUtils.java
f668d7cceb3c6cc9143fcf92230681bddd7ccf21 14-Jan-2016 Jason Monk <jmonk@google.com> Support data usage changes in Settings

Change-Id: I78c6a3956e7136c3ed64d9323d3fe74df2898c5d
et/DataUsageController.java
et/MobileDataController.java
21c30548ba11c40fe71df375911dad2e0316ad19 15-Jan-2016 Julia Reynolds <juliacr@google.com> Prevent users from blocking certain system notifications.

Bug: 26575595
Change-Id: I0c890852a441085fffab143a590a12fbd7f2b2a3
tils.java
7664cbac3549ef28e482722e19c125be75a42e8b 15-Jan-2016 Sudheer Shanka <sudheersai@google.com> Add an util method and update setMenuItemAsDisabledByAdmin.

Added an utility method checkIfUninstallBlocked in
RestrictedLockUtils. Also updated setMenuItemAsDisabledByAdmin
to be able to remove the added padlock and color spans.

Change-Id: I7874f7097d09bc9ab127307f2a8a03a20560347c
estrictedLockUtils.java
1bec6a5b0d67f120b7013572f6b1a4f1e1b3c584 22-Oct-2015 Sanket Agarwal <sanketa@google.com> Add support for AVRCP 1.3.

* Add metadata support.
* Add player settings support.
* Add playback support.

A2DP Settings App support.

Bluetooth: A2DP Sink support for Settings App

- add support for A2DP Sink in Settings App. This will enable connection
initiation and updation on Settings App
- add framework Apis to support A2DP Sink. Any third party Apps can access
A2DP Sink priority of device and playing state of device
- add support for key to set priority. This manages priority of device for
A2DP Sink profile

Change-Id: If5f9139f37cdb9d200387877c7801075205c78a0
luetooth/A2dpSinkProfile.java
luetooth/CachedBluetoothDevice.java
luetooth/LocalBluetoothAdapter.java
luetooth/LocalBluetoothProfileManager.java
f9bf6da6cd0666897f4b56cf0e6dee3c55243273 14-Jan-2016 Bartosz Fabianowski <bartfab@google.com> Add WifiConfiguration.shared flag
am: 6fb0756d2f

* commit '6fb0756d2f59d70507919350f6192718b5d3f630':
Add WifiConfiguration.shared flag
659133c77b80405c3696ddb670ef7f67f0c96a3f 14-Jan-2016 Sudheer Shanka <sudheersai@google.com> Merge "Made changes to padlock support for preferences."
ea088af5c12e25995a3992413c8f413abc22eeab 13-Jan-2016 Sudheer Shanka <sudheersai@google.com> Made changes to padlock support for preferences.

- Currently, if a preference is disabled by admin, we add a padlock and disable
the preference. And now if the preference is enabled in some other place, the
padlock is not removed. Updated RestrictedPreference to fix this
behavior.
- Made RestrictedPreferenceHelper and
RestrictedPreferenceHelper.onAttachedToHierarchy public so that preferences in
Settings can use these.
- Put a check for null to avoid NullPointerException.
- Removed a redundant statement.

Change-Id: Ie88a761dc38c58a680c62b3703d2081c67462079
estrictedPreference.java
estrictedPreferenceHelper.java
estrictedSwitchPreference.java
6fb0756d2f59d70507919350f6192718b5d3f630 12-Jan-2016 Bartosz Fabianowski <bartfab@google.com> Add WifiConfiguration.shared flag

* Add boolean WifiConfiguration.shared, which indicates whether a network
is shared (visible to and usable by all users) or private (visible to
and usable only by the user who created it)
* Extend WifiConfiguration.configKey(...) so that when two users create
private configurations for the same network, their configurationKeys
will be different.
* Make AccessPoint.matches(...) take into account the shared flag

BUG=25600871

Change-Id: I4a4335fa3b4b4f850e16748583a29ab66992ddc8
ifi/AccessPoint.java
f8f858e4eaf1dcbbd70d237096f0906a84e224bf 14-Jan-2016 Sudheer Shanka <sudheersai@google.com> Merge "Add restricted padlocks to tiles in quick settings."
f7705c3ed6ac2e6d787f91c65feb003a8b749ceb 01-Dec-2015 xinhe <xinhe@google.com> Initial codes for Quality network selection

In this change list, the old WifiAutojoin module is
refactored initially. The old WifiAutojoinController is
replaced with a new WifiQualifiedNetworkSelector.
WifiConfiguration, WifiConfigureStore and
WifiStateMachine have been modified accordingly. The new
network selection logic is refactored with a more clear
and deterministci one. To refer to thedescribed in
details, in "Quality Network Selection and Connectivity
Scan Management in N". The link of the document is:
https://docs.google.com/document/d
/1JPTa2NEk-PgjCJ16fIrR6ohV-kDKveDlYDOeiMCB2_c

cherry-picked from 8d106780b6a638552749e54e169fc72537d4bccc
and make changes on WiFiConfigurationSerializer.java since
it is not on mm-wireless-dev
Bug:26012244
Change-Id: I44e454544b630b891c9a58a18b5a028edcce580f
ifi/AccessPoint.java
1c7cda8bbfb848961536a4adbf2c81c5ffddae16 31-Dec-2015 Sudheer Shanka <sudheersai@google.com> Add restricted padlocks to tiles in quick settings.

Change-Id: Ib11a38f8512b811e5713a33055a04a72f1b825f1
estrictedLockUtils.java
a1ae289679a96de4a18fcc4defc8a78c6b149e60 13-Jan-2016 Tony Mantler <nicoya@google.com> Make AppRestrictionsHelper leanback-aware

Change-Id: I8bc1026a722bbd50e5bc6da0596914fd093c9f86
sers/AppRestrictionsHelper.java
8d106780b6a638552749e54e169fc72537d4bccc 01-Dec-2015 xinhe <xinhe@google.com> Initial codes for Quality network selection [DO NOT MERGE]

In this change list, the old WifiAutojoin module is
refactored initially. The old WifiAutojoinController is
replaced with a new WifiQualifiedNetworkSelector.
WifiConfiguration, WifiConfigureStore and
WifiStateMachine have been modified accordingly. The new
network selection logic is refactored with a more clear
and deterministci one. To refer to thedescribed in
details, in "Quality Network Selection and Connectivity
Scan Management in N". The link of the document is:
https://docs.google.com/document/d
/1JPTa2NEk-PgjCJ16fIrR6ohV-kDKveDlYDOeiMCB2_c

Bug:26012244

Change-Id: I3df124c110e458e3b6bc29466b9046748d79582a
ifi/AccessPoint.java
9f77a7170a57b175de3248c255e852e878f0bdf1 12-Jan-2016 Sudheer Shanka <sudheersai@google.com> Add extra utility method to RestrictedLockUtils.

Change-Id: I558c975e5b35622cc7a4c1e8a8b16e6492ce983f
estrictedLockUtils.java
9ec29e3d6dce8a0dca6e93c1ba615f4732e0afb0 12-Jan-2016 Sudheer Shanka <sudheersai@google.com> Merge "Move restricted padlock support to SettingsLib"
7ff866d286cf4df0948feeffa6e67848740e64eb 12-Jan-2016 Sudheer Shanka <sudheersai@google.com> Move restricted padlock support to SettingsLib

Change-Id: Ib0b1c58d1f45e017b6b17ce0a55ca839b900cba4
estrictedDropDownPreference.java
estrictedLockImageSpan.java
estrictedLockUtils.java
estrictedPreference.java
estrictedPreferenceHelper.java
estrictedSwitchPreference.java
231c9fd7275ef18c512fa6aa8e9f90fc22d274c0 12-Jan-2016 Tony Mantler <nicoya@google.com> Merge "Move a bunch of app restrictions logic to SettingsLib"
e662ca6b5ec066384d1082fd3f43d50cdea37c68 11-Jan-2016 Tony Mantler <nicoya@google.com> Move a bunch of app restrictions logic to SettingsLib

Change-Id: I68cd6304164744fd0676d13ef6badffac79adab5
sers/AppRestrictionsHelper.java
c06fbb12984a3d3e4c80ab9f819841acae5b0133 08-Jan-2016 Jason Monk <jmonk@google.com> Move battery saver notification to QS

Remove the battery saver notification and instead create a detail
panel within QS that allows it to be turned on and off.

Change-Id: I54654d26183586fa171fda04877a840701f8ef33
atteryInfo.java
tils.java
f509d7e65a062957be86619b3cb894e99268c4ae 07-Jan-2016 Jason Monk <jmonk@google.com> Add suggestions parsing to SettingsLib

Add a parser that will parse an XML of the suggestion categories
and ordering and query those categories into Tiles.

Change-Id: I3154c94e176108358163bbe36feb48e889fe00d1
uggestionParser.java
rawer/DashboardCategory.java
rawer/DashboardTile.java
rawer/ProfileSelectDialog.java
rawer/SettingsDrawerActivity.java
rawer/SettingsDrawerAdapter.java
rawer/Tile.java
rawer/TileUtils.java
e06b4d1d9f718b9fe02980fea794a36831a16db2 06-Jan-2016 Jeff Sharkey <jsharkey@android.com> Consistent naming for PackageManager methods.

When hidden PackageManager methods take a userId argument, they
should be named explicitly with the "AsUser" suffix. This fixes
several lagging examples so that we can pave the way to safely
start passing flags to new methods without scary overloading.

Also fix spacing issues in various logging statements.

Change-Id: I1e42f7f66427410275df713bea04f6e0445fba28
pplications/AppUtils.java
pplications/ApplicationsState.java
eviceinfo/StorageMeasurement.java
4a18012a5d100ef3f95d23789ed02632cd42fdb1 16-Dec-2015 Neil Fuller <nfuller@google.com> Fix for Settings timezone names when boot time is wrong

Avoid the libcore.icu.TimeZoneNames cache for time zone
settings by using ICU4J: it will not use timezone names
that were cached and can be missing / incorrect if the
clock was incorrect at zygote start. Instead, the devices
current time will be used when generating the names.

This change values correctness over performance. ICU does
perform its caching of names so I don't expect any
degredation to be noticeable.

Bug: 20879084
Bug: 26158280
Bug: 21015187
Bug: 26182881
Change-Id: I9f68e3e5232434949468305bbdaf7e697e58da1e
atetime/ZoneGetter.java
deced11e1a3ab439b1c879dfd679f7a1c50c9f08 01-Sep-2015 Mitchell Wills <mwills@google.com> DO NOT MERGE Don't cache ScanResults in WifiTracker if there is no SSID

Cherry-picked from 9df79043907870fd4c1bd30b460b138169b92bbf
Bug: 23528076
Change-Id: I118cfafb526fe760bf1d545e09a1559e3867ce06
ifi/WifiTracker.java
2a5d79aa6fd882ef6f46439f5156c516f173f06a 03-Dec-2015 Jason Monk <jmonk@google.com> Fix crashes in Settings + SUW

Bug: 25981625
Bug: 25989520
Bug: 25987331
Change-Id: Ib53c99edf45bb4550bfb9761ed09ca3677068591
pplications/ApplicationsState.java
rawer/SettingsDrawerActivity.java
e79790b26803ee338b2fdc3404344094d7f94476 02-Dec-2015 Jason Monk <jmonk@google.com> Speed up setting launch

Try to avoid too many calls to the PM and cache the info we get
from it to avoid too much stuff during settings launch.

Change-Id: I64132cbe47cf8eac6080c8c82583b0b5eeb75a28
rawer/DashboardTile.java
rawer/SettingsDrawerActivity.java
rawer/SettingsDrawerAdapter.java
rawer/TileUtils.java
10373488f0e3a5c44a7d094befa8d3ad451b2bac 01-Dec-2015 Lorenzo Colitti <lorenzo@google.com> Merge "Don't show "Connected, no Internet" any longer than necessary."
3175a6e395e870c9ab5f291ed7d5edb8f802e218 30-Nov-2015 Jason Monk <jmonk@google.com> Guard against monkey crash

Bug: 25795998
Change-Id: I351faae1e29d09b7577435207ec466a1ff5ed237
rawer/SettingsDrawerActivity.java
ab313f8443c7dade78b7ae53d18dba002a144425 26-Nov-2015 Lorenzo Colitti <lorenzo@google.com> Don't show "Connected, no Internet" any longer than necessary.

Currently, both the wifi detail view in Quick Settings and the
wifi settings screen show "connected, no internet" for a few
seconds after a network connects. This makes it seem that
network validation is slow, even though usually it only takes
tens or hundreds of milliseconds.

Fix this by updating the access point list when we receive an
onCapabilitiesChanged NetworkCallback for the current wifi
connection.

This also allows us to stop listening to the RSSI_CHANGED_ACTION
broadcast, because:

1. WifiStateMachine only ever sends out that broadcast just after
calling updateCapabilities, which causes an
onCapabilitiesChanged callback to be received.
2. We don't use any of the extras in the RSSI_CHANGED_ACTION
broadcast, only call updateNetworkInfo, which we do on
every onCapabilitiesChanged callback anyway.

While I'm at it, move a variable assignment around to improve
clarity.

Change-Id: I57d3a13754ba4d8c6d58c566713d3f07d0ed2476
ifi/WifiTracker.java
de8d9332577a8c8724679d06baab817169d57d94 18-Nov-2015 Tony Mantler <nicoya@google.com> Merge "Move AnimatedImageView and AuthenticatorHelper to SettingsLib"
4cf95aef839701a43c9bde292f5e2d8ca3213509 16-Nov-2015 Jason Monk <jmonk@google.com> Move some stuff to SettingsLib to use for Settings Home

Change-Id: Id903747069fe83a896132714e580b1a1d7ee895c
et/MobileDataController.java
ifi/WifiStatusTracker.java
d1e32720441dd28a2ceed6a0d058f367e71421ec 18-Nov-2015 Tony Mantler <nicoya@google.com> Move AnimatedImageView and AuthenticatorHelper to SettingsLib

Change-Id: If3fef35b88b041326c510064679e92a90f31c6b2
ccounts/AuthenticatorHelper.java
idget/AnimatedImageView.java
80ac37d033fa71ea700286b19d120abb0d058fec 16-Nov-2015 Tony Mantler <nicoya@google.com> Merge "Move some methods to DeviceInfoUtils in SettingsLib"
e92cf6d7396a044c578ce2338890bcbb5e98ed75 10-Nov-2015 Tony Mantler <nicoya@google.com> Move some methods to DeviceInfoUtils in SettingsLib

Change-Id: I646c89c2803e4386a4b24f10ec186871768e7239
eviceInfoUtils.java
0d23df82af14a37f3db7c289bea3bbae6484dbe8 13-Nov-2015 Sanket Padawe <sanketpadawe@google.com> Merge "Don\'t allow contact sharing by default for device not recognized as carkit." into mnc-dr-dev am: 5b6ad87630 am: 4f822bbf2a am: 761af3d27d
am: c9d033a71a

* commit 'c9d033a71afc263c0e493d33e555c3134f665bfb':
Don't allow contact sharing by default for device not recognized as carkit.
4f822bbf2a1c44c9dc5668857aa8cf7f0e5969cc 13-Nov-2015 Sanket Padawe <sanketpadawe@google.com> Merge "Don\'t allow contact sharing by default for device not recognized as carkit." into mnc-dr-dev
am: 5b6ad87630

* commit '5b6ad87630756751471f7224672328d955c8f2fb':
Don't allow contact sharing by default for device not recognized as carkit.
f18a55da5a757199090a96439e9d12ca6b5f7f80 12-Nov-2015 Jason Monk <jmonk@google.com> SettingsLib Drawer: Listen to theme about actionbar

Show it or not based on windowNoTitle.

Bug: 25567755
Change-Id: Ie1a6b79eb87dcc101bd76785df7c5330acc54603
rawer/SettingsDrawerActivity.java
07533dbffff5551ad4c58852b5856f57d7da6801 12-Nov-2015 Sanket Padawe <sanketpadawe@google.com> Don't allow contact sharing by default for device not recognized as carkit.

+ Don't allow contact sharing by default for devices not recognized
as carkit at pair time.

Bug: 23607427
Change-Id: If6babb10117ba7ee5008a4a29450a7cb981bea4a
luetooth/CachedBluetoothDevice.java
65eb4ada1835f3edec54d9d933274e4d9a235bbd 05-Nov-2015 Tony Mantler <nicoya@google.com> Move RecentLocationApps to SettingsLib

Change-Id: I73c7c7a2436a6af9f5353a20ea7afc4f6e57b485
ocation/RecentLocationApps.java
51a942380ba15f83393922203e7e9aebe64e8deb 04-Nov-2015 Jason Monk <jmonk@google.com> Updates to Drawer

Support doing nothing on tvs and watches. Also better not doing
anything with no categories existing.

Change-Id: I4a12d4d907a08e75ed3cdcd3f7c68a3a100c687d
rawer/SettingsDrawerActivity.java
0d72d20c2f2a3c5c98a73e97914e96a82b04eff8 04-Nov-2015 Jason Monk <jmonk@google.com> Settings Drawer: Handle multi-profile/user correctly

Change-Id: Ibef3cb38325415d514dc86fcd4ce7b95825361f8
rawer/DashboardTile.java
rawer/ProfileSelectDialog.java
rawer/SettingsDrawerActivity.java
rawer/TileUtils.java
rawer/UserAdapter.java
744b63632a0d41eabf60e95a7b61e235e43f6d07 04-Nov-2015 Jason Monk <jmonk@google.com> First pass at drawer support for SettingsLib

Change-Id: I9669bd511dd3c4b7f59b8600a5af65d9837af015
rawer/DashboardCategory.java
rawer/DashboardTile.java
rawer/SettingsDrawerActivity.java
rawer/SettingsDrawerAdapter.java
rawer/TileUtils.java
c856be16530bee8232ba644d8c422041ead71970 04-Nov-2015 Mitchell Wills <mwills@google.com> Merge "Don't cache ScanResults in WifiTracker if there is no SSID"
5fb3a7f6664e2009ef4931634c720284a33a693e 30-Oct-2015 Tony Mantler <nicoya@google.com> Move more Accessibility stuff to SettingsLib

Change-Id: I081bffea6ff4da455f9040fc3f45198d1de85d26
ccessibility/AccessibilityUtils.java
5789c3e24f0963bfc85477bfbbfe93be88946024 29-Oct-2015 Tony Mantler <nicoya@google.com> Move AccessibilityUtils to SettingsLib

Change-Id: I99eeb79b03e56a0150a8dbebc3cc5c292ad9bcfe
ccessibility/AccessibilityUtils.java
65cd70b7fbddc68567deef26b4dc6a09b5c0a394 26-Oct-2015 Tony Mantler <nicoya@google.com> Merge "Move some app methods to AppUtils in SettingsLib"
ed03f451c877326352e1d7b783099ff9c04f1d2e 21-Oct-2015 Tony Mantler <nicoya@google.com> Move some app methods to AppUtils in SettingsLib

Change-Id: If9a1e997ff92957905039cd13143e26324eb7e92
pplications/AppUtils.java
244f776855b2144a7fe16be09c67e5b189e8dcfd 21-Oct-2015 Michael Wright <michaelwr@google.com> resolve merge conflicts of f013c3f111 to master.

Change-Id: I2045187f8fa948a1733cb9a2cdc0a69ae97b5907
bab2b424453e556a2e7bb9470d70673793dd82df 20-Oct-2015 Michael Wright <michaelwr@google.com> resolve merge conflicts of 57a5cba606 to cw-e-dev.

Change-Id: Ib43f0cf0b285c9799239658859af735279f87fff
9209c9cd9a6f779d0d9d86f9b2e368df564fa6bb 03-Sep-2015 Michael Wright <michaelwr@google.com> Add SystemUI component to watch for keyboard attachment.

Add a new SystemUI component to watch for keyboard attachment /
detachment. If the config specifies the name of a keyboard that is
packaged with the device, then SystemUI will ask the user if they
would like to enable BT (if disabled) and then attempt to pair to the
device.

Bug: 22876536
Change-Id: I786db35524d49706d5e61d8b8bc71194d50113f3
luetooth/LocalBluetoothAdapter.java
e43853ce2fe9a7b90abdc1c51361b70a8393b777 09-Oct-2015 Tony Mantler <nicoya@google.com> Move DreamBackend to SettingsLib

Change-Id: Ib0251d48ba287eeca4141eb54b0b0273ef636e63
ream/DreamBackend.java
85f7f790df5b7887064a010704d9b5d5c2ccd0dc 14-Sep-2015 Chris Manton <cmanton@google.com> am e8c98b77: am f40365f1: am ae0b7ca9: am c9180528: Merge "Add capability to ignore carrier entitlement checks" into mnc-dr-dev

* commit 'e8c98b77854d39606960b0b6f5b5332c61e9a3d9':
Add capability to ignore carrier entitlement checks
ae0b7ca9ad2e21853af06a68c02da068f748f8bd 14-Sep-2015 Chris Manton <cmanton@google.com> am c9180528: Merge "Add capability to ignore carrier entitlement checks" into mnc-dr-dev

* commit 'c9180528452d67359618eda4aa2edd39112c83ca':
Add capability to ignore carrier entitlement checks
1ba0fa04ded1df73363a1c25064a3d6f5686478d 01-Sep-2015 Chris Manton <cmanton@google.com> Add capability to ignore carrier entitlement checks

Boolean to check to ignore carrier entitlement check.
API to follow later.

Carrier configuration manager has an option
to override tethering entitlement checks.
Ignore entitlement checks if overridden by
the carrier configuration flag.

bug:23712807

Change-Id: I6c9b3b9994279e592db304debef54809338fe9cf
etherUtil.java
0775a98e2095224d4b1618a4739543ce6e7f32ec 19-Aug-2015 Sanket Padawe <sanketpadawe@google.com> Fix AP showing up forever in Settings after shutting down that AP.

Bug: 22129483
Change-Id: I1f6abdb0b80c2d2fec5a7dc4026b5230cd29af7b
ifi/AccessPoint.java
ifi/WifiTracker.java
fef961ccbb849bf1de7d991abfc2c6a19de6a113 04-Sep-2015 Andre Eisenbach <eisenbach@google.com> am b013468b: am f1ed1fdb: am 1b03cd8e: am 1d5e2e29: Merge "Bluetooth: Fix profile auto-connect logic" into mnc-dr-dev

* commit 'b013468beca1ec7397c22111b187ffecb20f070a':
Bluetooth: Fix profile auto-connect logic
1b03cd8e1b79280e892f81709ced42b990a8905d 04-Sep-2015 Andre Eisenbach <eisenbach@google.com> am 1d5e2e29: Merge "Bluetooth: Fix profile auto-connect logic" into mnc-dr-dev

* commit '1d5e2e291d4c3fbcde1425af74644a24c94e1577':
Bluetooth: Fix profile auto-connect logic
7be83c578c611cd28185333696c17b2560f30444 04-Sep-2015 Andre Eisenbach <eisenbach@google.com> Bluetooth: Fix profile auto-connect logic

The fix in commit 05e08c3a2f27d5027b34e81b7c0a67e4da7341f6 caused a
duplicate connect message to be sent to A2DP devices (and others),
causing the A2DP state machine to disconnect a device shortly after
connecting it.

This patch reverts the relevant part of commit 05e06c that causes the
faulty auto-connect behaviour.

Bug: 22128169
Change-Id: Ie0dadd5c9583bf2b64a8434a2a3603cb749b21d0
luetooth/CachedBluetoothDevice.java
9df79043907870fd4c1bd30b460b138169b92bbf 01-Sep-2015 Mitchell Wills <mwills@google.com> Don't cache ScanResults in WifiTracker if there is no SSID

Bug: 23528076
Change-Id: I118cfafb526fe760bf1d545e09a1559e3867ce06
ifi/WifiTracker.java
f143830914a0c72262be8e1c2bc962742c3def2b 25-Aug-2015 Wei Liu <luciferleo@google.com> am 61428288: am 8a6f55e7: am 30275c19: Refactor UidDetailProvider and its dependencies to SettingsLib.

* commit '6142828872e7c3ce4f747e7620ef222c059d7b2a':
Refactor UidDetailProvider and its dependencies to SettingsLib.
80c320624dde73d4196fcdef2501dea18e2c2d3f 25-Aug-2015 Wei Liu <luciferleo@google.com> am 1148d54f: am 608cf688: am 37e1db23: Merge "Move SummaryForAllUidLoader to SettingsLib." into cw-e-dev

* commit '1148d54f08c646fe10bbe696864623c4b46b98ea':
Move SummaryForAllUidLoader to SettingsLib.
30275c1924b2bd45b05bd9c98f8648ecbc71374f 25-Aug-2015 Wei Liu <luciferleo@google.com> Refactor UidDetailProvider and its dependencies to SettingsLib.

so that it can be reused by Wear app data usage.

Change-Id: Ifd5709647ba031bb38b2293c35def01bcdee1448
tils.java
rawable/CircleFramedDrawable.java
et/UidDetail.java
et/UidDetailProvider.java
c0b99c9a248ed2e3e86688465df15690f65d0d4a 21-Aug-2015 Wei Liu <luciferleo@google.com> Move SummaryForAllUidLoader to SettingsLib.

In order to show the data usage per app on Android Wear,
I'm moving SummaryForAllUidLoader to SettingsLib so that
the code can be reused.

Change-Id: I4819ee96a75d62a86968376556258270b3bb8ba1
et/SummaryForAllUidLoader.java
658b8c258cfecae74e0aa964f36bf2f4e306e535 20-Aug-2015 Mitchell Wills <mwills@google.com> am a578ac88: am 9fde6f2c: am edf93764: am b460cc88: Merge "Remove wifi enabled checking from settings TetherUtil" into mnc-dr-dev

* commit 'a578ac888622a6b46bbaac78b04adebec9b9979b':
Remove wifi enabled checking from settings TetherUtil
edf93764f09357f6062eee2e4da8da925247834a 20-Aug-2015 Mitchell Wills <mwills@google.com> am b460cc88: Merge "Remove wifi enabled checking from settings TetherUtil" into mnc-dr-dev

* commit 'b460cc88865bbdafe3f343e43bd08382c6745fe0':
Remove wifi enabled checking from settings TetherUtil
8ba94ba2ab946e5fac35db2d3bccb6674d1989c6 12-Aug-2015 Mitchell Wills <mwills@google.com> Remove wifi enabled checking from settings TetherUtil

TetherUtil no longer needs to reenable wifi when leaving SAP mode as
it is now done by WifiController. WifiController will also disable
wifi if needed when enabling SAP.

Bug: 22729316
Change-Id: I2ffe50e6468519ca964b27ba70a7e3019fd96eb1
etherUtil.java
ca2227811cc614f1ad161dda1879c485bb0c9e4c 06-Aug-2015 Mitchell Wills <mwills@google.com> am 7aafd7fa: am 0b09eefa: am e69acd7a: am 104999b9: am d14c4844: Merge "Pass connection configuration when setting wifi info" into mnc-dev

* commit '7aafd7faacf0e31dbfc4931c137d0bad8862df87':
Pass connection configuration when setting wifi info
e69acd7a456fb97d7c816629dedb42026eabdd2e 06-Aug-2015 Mitchell Wills <mwills@google.com> am 104999b9: am d14c4844: Merge "Pass connection configuration when setting wifi info" into mnc-dev

* commit '104999b957440251610dc31939938ef0c85ab23f':
Pass connection configuration when setting wifi info
5a42db2e9c4ce5700a321b9c2aa22189598ceeaf 03-Aug-2015 Mitchell Wills <mwills@google.com> Pass connection configuration when setting wifi info

This allows the both the ssid and connection info to be verified when
updating wifi info.

Bug: 22797622
Change-Id: I82d771a299e17469683516c6b1077cb260981812
ifi/AccessPoint.java
ifi/WifiTracker.java
2b45f8a6ce623012b2fc6237acd1bdc6ebe2c85c 05-Aug-2015 Xiaohui Chen <xiaohuic@google.com> Clean up USER_OWNER references in settingslib.

Bug: 19913735
Change-Id: I0ccaed63c8fbc3bcbbd8d5cf8047e33c6e2edb5c
etherUtil.java
pplications/ApplicationsState.java
eviceinfo/StorageMeasurement.java
54c7ddbccd71c387c75deb36777b4aede8f226a1 04-Aug-2015 Prem Kumar <premk@google.com> am 482ba343: am 04e2cf6b: Merge "Make default selection for contact sharing to "Checked"." into mnc-dev

* commit '482ba34383796d87e4832ace98b0bb1934c8ef72':
Make default selection for contact sharing to "Checked".
04e2cf6bc5167583d686c2a118ec2b50a7b88547 04-Aug-2015 Prem Kumar <premk@google.com> Merge "Make default selection for contact sharing to "Checked"." into mnc-dev
f8c99378367ef025b9da981d62806d1d06ef299e 29-Jul-2015 Zach Johnson <zachoverflow@google.com> am bd388372: am 5faa0336: Merge "Add filter for personal apps that are not disabled until first use" into mnc-dev

* commit 'bd388372a81472aa3a5f40e57f9f541f85931495':
Add filter for personal apps that are not disabled until first use
5faa033615dcb4297fcb6a81828099285364942d 29-Jul-2015 Zach Johnson <zachoverflow@google.com> Merge "Add filter for personal apps that are not disabled until first use" into mnc-dev
f040100cbde4b551dd551a8b0b9eb7194116a95b 27-Jul-2015 Jorim Jaggi <jjaggi@google.com> am 6a601960: am 9e49b5d6: Merge "Move PIN/Pattern appear animation to RenderThread (1/2)" into mnc-dev

* commit '6a601960a3cbfbed1f0ac6df65791a3149eec92e':
Move PIN/Pattern appear animation to RenderThread (1/2)
b6d17ee7aeace3c2b2443c94c9ad4ff50f82e8de 25-Jul-2015 Zach Johnson <zachoverflow@google.com> Add filter for personal apps that are not disabled until first use

Needed for the battery settings UI.

b/22667081

Change-Id: I25ed5c1866dc3027e450c7ce9031de5def4f839a
pplications/ApplicationsState.java
613f55fbbb23249d7c65e3f1fe8c943c4459b41a 17-Jul-2015 Jorim Jaggi <jjaggi@google.com> Move PIN/Pattern appear animation to RenderThread (1/2)

Bug: 22205322
Change-Id: I253f20a397ab89cb78254338a0254619232d7300
nimation/AppearAnimationUtils.java
9debd5106e14ecb5f31413b0c5991a5f723c7cfc 17-Jul-2015 Sanket Padawe <sanketpadawe@google.com> Make default selection for contact sharing to "Checked".

Bug: 22556703
Change-Id: I33343301c4097f0e966f11a8d503ca30949e9a82
luetooth/CachedBluetoothDevice.java
2fc9c1242266f02ee73e245f5ca8134781223bf6 14-Jul-2015 Wei Liu <luciferleo@google.com> Merge "Move AppItem, ChartData, ChartDataLoader from Settings to SettingsLib." into cw-e-dev
7ad8e6c8499f5b5327f6b81fb34e15f5d855a641 14-Jul-2015 Vinit Deshpande <vinitd@google.com> am 3f96f8b2: am 0bd08fc2: Merge "Fix multiple SSIDs for same Passpoint issues" into mnc-dev

* commit '3f96f8b2fff2a2a7dc0a44d5f1219da8d7f2a5c2':
Fix multiple SSIDs for same Passpoint issues
f1a9868e18d1feb56434313701faaf52473f0942 14-Jul-2015 Sanket Padawe <sanketpadawe@google.com> am 0a66123f: am 233bd3ce: Merge "Changes security for Passpoint to EAP security from "Passpoint"." into mnc-dev

* commit '0a66123f62f5d28bbef4f88a32c6de97caab3cfe':
Changes security for Passpoint to EAP security from "Passpoint".
0bd08fc22ae457791d95a4d557051e6601516bd0 13-Jul-2015 Vinit Deshpande <vinitd@google.com> Merge "Fix multiple SSIDs for same Passpoint issues" into mnc-dev
c4a4064c1297dc879d64b0bae198e903b9a6fc9a 13-Jul-2015 Wei Liu <luciferleo@google.com> Move AppItem, ChartData, ChartDataLoader from Settings to SettingsLib.

Change-Id: I1a3b245aafc5a69a13420338385c932b8fa176c1
ppItem.java
et/ChartData.java
et/ChartDataLoader.java
194cce695b51604f6245a73cfec27631c7555429 10-Jul-2015 Sanket Padawe <sanketpadawe@google.com> Changes security for Passpoint to EAP security from "Passpoint".

Bug: 22402754
Change-Id: I3afbb6f3f446657a3e9505122032f4edc6401302
ifi/AccessPoint.java
5b7352cf1bdcede7d018f9bb94667593b11b77c0 10-Jul-2015 Vinit Deshpande <vinitd@google.com> Fix multiple SSIDs for same Passpoint issues

This change fixes Wifi Settings UI for passpoint. The
connected notification now should show up only for the
SSIDs that match.

Bug: 22200890
Change-Id: If69a9364eca5505fe2d4037217f1777fa4d823f5
ifi/AccessPoint.java
fd1b57263cc07a3a77d2ee076726758bd1d97d36 09-Jul-2015 Sanket Padawe <sanketpadawe@google.com> am af468add: am 58295e71: Merge "Add Null checks while processing pairing cancel intent" into mnc-dev

* commit 'af468addb672ef002dee64376bc06f2bf8c6c0f9':
Add Null checks while processing pairing cancel intent
4d08a485db5021638b0abcb8675ba00579bd7fcc 07-Jul-2015 Sanket Padawe <sanketpadawe@google.com> Add Null checks while processing pairing cancel intent

Use case: Exception while handling pairing cancel
Intent received
1. Initiate pairing from DUT to remote
2. Power off DUT after getting pairing popup

Root Cause:Crash observed in settings application

Change-Id: Ia05fe196ecf6a1d4ec26f85b0cf984e23089c728
Fix: Fixed by adding Null check in PairingCancelHandler
luetooth/BluetoothEventManager.java
e9233f0544a1780ce43e4a01c7409cc8fadb23d7 08-Jul-2015 Zoltan Szatmary-Ban <szatmz@google.com> am a626f8d8: am 4d2593d3: Merge "Make StorageMeasurement multiprofile aware." into mnc-dev

* commit 'a626f8d854d65609c71f602d79b0360359e5b5b7':
Make StorageMeasurement multiprofile aware.
4d2593d3f2ce052de5000ebec28bc99a12dd5497 08-Jul-2015 Zoltan Szatmary-Ban <szatmz@google.com> Merge "Make StorageMeasurement multiprofile aware." into mnc-dev
38e932b37aea8d2f6866c3c879afa188587bcde3 08-Jul-2015 Wei Liu <luciferleo@google.com> Move NetworkPolicyEditor from Settings packge to settingslib.

Change-Id: Ibed9b9dabae42a71d77f493fedc3ab1c4343597f
etworkPolicyEditor.java
dbd05a98e5ed8cd1a4678790df507d9741da5ba2 06-Jul-2015 Jason Monk <jmonk@google.com> Fix wifi crash

Handle clearing state for resume on the same worker thread as everything
else, this way there can't be concurrent modification.

Bug: 22040227
Change-Id: I9ac78a19fc126c8103f3218e657ca93911d3890d
ifi/WifiTracker.java
47adcb9feadfe8230b6c95b096d7a8653c358507 02-Jul-2015 Zoltan Szatmary-Ban <szatmz@google.com> Make StorageMeasurement multiprofile aware.

Bug: 22117317
Bug: 22223456
Change-Id: Ic8a5c1fedcf71c5b1fcae04f32c3d9734a098517
eviceinfo/StorageMeasurement.java
c7a38ef8405443648688a7950378ac4e4ebb3ae5 25-Jun-2015 Shirish Kalele <kalele@google.com> Mark a connection as a Wifi Assistant connection based on the
ephemeral flag in WifiInfo.
Add this private field to WifiInfo.

Change-Id: Ic815b87a24e8272faa6e9e820b8fa55224af882a
ifi/AccessPoint.java
107cb81f9054a406b94e249c99fd7d64be71faec 25-Jun-2015 Jason Monk <jmonk@google.com> Merge "Make BluetoothEventManager listen to ALIAS_CHANGED" into mnc-dev
5f8e4675ae88149b4bf5fff318a88dddb054cf68 24-Jun-2015 Todd Volkert <tvolkert@google.com> Remove unused PermissionsInfo class

b/22008424

Change-Id: I53fc04af89c89cc1726dd80b05f2e18d5cc53524
pplications/PermissionsInfo.java
a0d929e505432a8c84f3899696c910db16bd73bf 13-Jun-2015 Vinit Deshpande <vinitd@google.com> Address API review comments

Added a flags field in ScanResult; along with flag
values and methods to read them.

Changed types of passpoint related fields.

Bug: 21342042
Bug: 21572290
Bug: 21343777

Change-Id: I413960de88b387853d11b9e10f92665e9c06a81b
ifi/WifiTracker.java
edb832271bc036975d9ff8cd1513b6a1e097f3cd 20-Jun-2015 Vinit Deshpande <vinitd@google.com> Merge "Fix access point list jumping around in WifiSettings" into mnc-dev
ceeaef3852a19649d16e61f184bd8ab920d0177b 19-Jun-2015 Sanket Padawe <sanketpadawe@google.com> Set default PBAP checkbox state to false (checkbox unselected).

Bug: 20488109
Change-Id: I6259ea8d048cbface2ba63b8c1077af12d0fee1b
luetooth/CachedBluetoothDevice.java
fcd4612f70bb22e11bf776c76afc45b03a5b026c 12-Jun-2015 Vinit Deshpande <vinitd@google.com> Fix access point list jumping around in WifiSettings

This happens because the scan times are very aggressive
(to save power); and we don't find all APs on each scan.
So on each scan, some APs are considered lost and some
other are considered found; resulting in reordering the
list.

This change fixes that by requiring 3 scans to confirm
absence of an AP.

Bug: 7263326

Change-Id: I04f61ec5e5aa1589f457645acbf538c7e275a4bf
ifi/AccessPoint.java
ifi/WifiTracker.java
4b8704c9e1024fa7aba66cce03cde78c7e10ba64 15-Jun-2015 Jason Monk <jmonk@google.com> Merge "Don't try to get entries for uninstalled apps." into mnc-dev
c1f24abd1098c2585bdb67b5ecb172433fdd2c90 15-Jun-2015 Jason Monk <jmonk@google.com> Don't try to get entries for uninstalled apps.

Bug: 21837824
Change-Id: I6f7bbc309e9edf1db12476f55ab8be424739fae0
pplications/ApplicationsState.java
6980d12c5864941e68933705c1f15a102ac348cb 15-Jun-2015 Jason Monk <jmonk@google.com> Make references to ssid use a verbatim TtsSpan

Bug: 20059794
Change-Id: Id92ef11e78547e168f55515dea2fc28519871d6f
ifi/AccessPoint.java
ifi/WifiTracker.java
7bcacc9c6af19e429bc3681b1559844e5b8fa1ba 11-Jun-2015 Jorim Jaggi <jjaggi@google.com> Merge "Animations/success state for external confirm device credentials (1/2)" into mnc-dev
6ff98ce2c89f94d47566de3426567748fad97814 10-Jun-2015 Jason Monk <jmonk@google.com> Fix work apps showing as not installed for owner

Bug: 21717956
Change-Id: Ia00537f3b50f958a2e35094abf1bfc73dc1f79af
pplications/ApplicationsState.java
8e095594a640a82b850ff3990bb690920eba921c 10-Jun-2015 Neil Fuller <nfuller@google.com> Merge "Stop showing long names for local timezones when it is ambiguous" into mnc-dev
5673353559453ecb57fc767b4e7500dd46e44079 10-Jun-2015 Jorim Jaggi <jjaggi@google.com> Animations/success state for external confirm device credentials (1/2)

Bug: 20929186
Change-Id: I8ca396e353189da7da3e9c98f841b76c876e461e
nimation/AppearAnimationCreator.java
nimation/AppearAnimationUtils.java
nimation/DisappearAnimationUtils.java
e3fd6de9d69e6650f8838e2aee69531fabbe99ca 09-Jun-2015 Jason Monk <jmonk@google.com> Fix build.

Change-Id: I560dc798a238173d72e3835962ed82681977dba1
pplications/ApplicationsState.java
bdbb5a8d77865fd4bea7a5d14eabadba3270af2d 09-Jun-2015 Tony Mantler <nicoya@google.com> Tweak ApplicationsState for use by TvSettings

b/21328967

Change-Id: I1da8a908491ec4ade7fcc729acf6c08f043cc495
pplications/ApplicationsState.java
95357fd49a0ffce4c0b653753c013cf951ebac21 08-Jun-2015 Tony Mantler <nicoya@google.com> Move ApplicationsState to SettingsLib

Also take InterestingConfigChanges along for the ride

b/21328967

Change-Id: I48af51cc4694ba5c492794631a1e1a54a60fce0b
pplications/ApplicationsState.java
pplications/InterestingConfigChanges.java
6394a39280dfc57c81073042db74398f1c69b67d 09-Jun-2015 Neil Fuller <nfuller@google.com> Stop showing long names for local timezones when it is ambiguous

Context:

Android uses a hand-crafted list for timezones to pick from in
Settings. Independently of what we actually show the user, when a
user is selecting their timezone they are selecting an olson timezone
ID. Separate olson ids exist for a sets of zone rules. If two places
have differed in their zone rules in the past they have different
olson ids. Olson Ids are usually named after cities and have
"exemplar locations", e.g. "Europe/London" covers the UK and the
exemplar location is "London".
Exemplar locations were often chosen based on historic considerations
and do not necessarily make sense to contemporary users.

Normal Android users don't know or care about any of this, but they do
understand geography/cities and sometimes understand things like
timezone names like "British Summer Time" (but usually not in other
countries).

Unfortunately timezone names understood by users also don't have a
one-to-one mapping with olson IDs. Two places can have the same
timezone name for part of the year but not the rest. For example, all
of a the country Foo may be using "Foo Standard Time" for part of the
year, but in summer some parts of the country may switch to "Foo
Summer Time" while others stay on "Foo Standard Time". These would
have different Olson Ids.

Also, two places that historically differed in their choice of
timezone rules may have since aligned. e.g. parts of Europe. They
still have their own olson ids.

The Android hand-crafted list is (I assume) based on a set of
compromises to provide reasonable coverage of users' needs without
overwhelming them with too many choices for historic irrelevancies.

To assist with picking a timezone that makes sense to a user, Android
currently does the following:

When selecting a timezone:

For "local" timezones Android shows the timezone "long name". e.g.
"British Summer Time", "Eastern Standard Time".
For non-local timezones Android uses the exemplar location (e.g. the
city).

This had an issue:

Some "local" timezones, e.g. Australia for English (Australian),
would show multiple entries for the same long timezone name without
any way of telling them apart.

After this change:

This change means that settings now uses the exemplar location in
preference when the Android display strings would be ambiguous. For
countries where there is no ambiguity (e.g. the UK) Android continues
to use the timezone long name.

Bug: 19058953
Bug: https://code.google.com/p/android-developer-preview/issues/detail?id=2132
Change-Id: I01651f2416f500652bd2bcf447d056efd4fd3598
atetime/ZoneGetter.java
d2b033aeb4123ec92892495c262e0272ffb7ecdc 04-Jun-2015 Pavlin Radoslavov <pavlin@google.com> Add a missing check for null pointer.

There is a race condition when processing intents inside
PairingCancelHandler.onReceive() that could trigger NPE.
A speculative list of events (untested) that could trigger it:

1. Trigger Pairing Cancel for a Bluetooth device.
2. Turn Off Bluetooth
This should call CachedBluetoothDeviceManager.onBluetoothStateChanged()
and should remove the device from (1) from the list of cached devices
3. BluetoothEventManager.PairincCancelHander.onReceive() receives
an intent about about Pairing Cancel event.
Within the processing of that intent, cachedDevice.getName()
is called without checking whether cachedDevice is null.
In this specific example, cachedDevice could be null because of (2)

Bug: 21368124
Change-Id: I86f5d5287b440d1d2e0fe147278b1c2257902e95
luetooth/BluetoothEventManager.java
8c495be48fc6973cc291fb4e6200154e2f28d571 03-Jun-2015 Jason Monk <jmonk@google.com> Make BluetoothEventManager listen to ALIAS_CHANGED

Bug: 20341903
Change-Id: Ibc0836bfd7f033f57ff6ae9c3ccce22fd92595f3
luetooth/BluetoothEventManager.java
e04ae8aced5d3e2cb8a3f6fd800e048bd5e572cf 03-Jun-2015 Jason Monk <jmonk@google.com> SettingsLib/Wifi: Run pause/resumes on main thread

To avoid our objects from disappearing out from under us.

Bug: 21581533
Change-Id: Ia6fc9e56271f79c7d8b0f86f9c35351c39c35d29
ifi/WifiTracker.java
d3c2089f8812063a1964087233b694780d3769fe 02-Jun-2015 Jason Monk <jmonk@google.com> Merge "Add ability to get device by address" into mnc-dev
a296c69cc2c798acd070b843c699a9cd1e337ff4 02-Jun-2015 Jason Monk <jmonk@google.com> Handle network info updates while scanning is paused

Bug: 21581533
Change-Id: I4216c3e9b64cb758e32dd93c39061f9d7a642ee0
ifi/WifiTracker.java
64ff8a541c579668f481cdb9a642c054ebfd30e2 02-Jun-2015 Jason Monk <jmonk@google.com> Add ability to get device by address

Bug: 21444336
Change-Id: I003092a12e93e2eccab736e7da20a6a23df30bbf
luetooth/LocalBluetoothAdapter.java
60598075a0d54dcb4287d77c91b946e6c407a669 02-Jun-2015 Andre Eisenbach <eisenbach@google.com> Bluetooth PAN: Set isPreferred to true (1/2)

isPreferred must always be true for PAN so that the DUT can initiate
a PANU connection with the remote device not only from the internet
access menu in the profile setting, but also from the paired device
list menu.

Currently isPreferred is only true when PAN is in connected state
for the PANU role, so it will return false when the PAN profile is
not connected and the PANU connection will never be initiated
from the paired device list menu.

Change-Id: I120e681a113f56b74b45e01870adf96cdc2ca262
luetooth/PanProfile.java
78c23767ecbb5c43420e5e015caca5c47d4bd45b 02-Jun-2015 Sanket Padawe <sanketpadawe@google.com> Fix issue related selecting of "Contact sharing" in BT Settings.

Bug: 20041014
Change-Id: I84b59fdfd82c4bf25965bcb10a15fbff2dfbe721
luetooth/CachedBluetoothDevice.java
1904081c62eeb1d22c7572829ed0591de7a09af6 01-Jun-2015 Jason Monk <jmonk@google.com> Be more careful with mAccessPoints usage

Bug: 21559453
Change-Id: I1a0bcf7282ad1a651169dea7e8ac5bc618b580d1
ifi/WifiTracker.java
b3543e0d1d2b57ed93056c7373ac21688236c0e8 28-May-2015 Tony Mantler <nicoya@google.com> Move ZoneGetter into SettingsLib

Change-Id: I8ecfc018e6de2514e9ada4c1b6fe9c8d71cc4e88
atetime/ZoneGetter.java
3e9e5fa66e222efb10125a08dc9e6ae359d9c1cc 28-May-2015 Sanket Padawe <sanketpadawe@google.com> Fix display of "null" string shown in Wifi Settings for AP.

Bug: 21476825
Change-Id: I643dcaa3112ff896e7b0abd998f2ad5e13187706
ifi/AccessPoint.java
bf3d1af3d8bd32f410aa5cc44ccdc1df593ef210 22-May-2015 Jason Monk <jmonk@android.com> SettingsLib: Fix wifi crash during settings index

and test it

Bug: 21365029
Change-Id: I9a914773577dcbe591b41c9114ba4d078b5e7369
ifi/WifiTracker.java
744cf647f71b1e5a012a90ef195bf2c3c486f418 19-May-2015 Jason Monk <jmonk@google.com> SysUI: Move BT receivers to bg

Bug: 19520495
Change-Id: I58e7d023b9eaf67fccd1634e00803c8c8d871fff
luetooth/BluetoothEventManager.java
19877fa5f63de5d403e981c9d0025b237aea4306 17-May-2015 Svet Ganov <svetoslavganov@google.com> Revert a deleted file.

Change-Id: I48067da4316762e8a8a4562977c4b84655fdf0f4
pplications/PermissionsInfo.java
321f01574e523dd680090694ea22e38b83a7c2b3 17-May-2015 Svet Ganov <svetoslavganov@google.com> Hide platform platform legacy permissions behind a menu option - framework.

bug:21195624

Change-Id: I563c448e2abd7d33070ed2d8f62ba1b60a3744e8
pplications/PermissionsInfo.java
402be0628c3c27273e826344ec7b12d53f861152 14-May-2015 Sanket Padawe <sanketpadawe@google.com> Merge "Hotspot 2.0 UI." into mnc-dev
d7fd045014b746a9822a66390288f44b63e4dc2f 13-May-2015 Jason Monk <jmonk@google.com> Merge "Add default icon for permissions" into mnc-dev
0e6cac26585b04dc9a357b03cab09d93404819f1 13-May-2015 Jason Monk <jmonk@google.com> Add default icon for permissions

Bug: 21119477
Change-Id: Ie982a1b42d2195ab79c33cf87756efb3bd9eab29
pplications/PermissionsInfo.java
401c40a8228598e18f6891b34218e99cca79e760 13-May-2015 Jason Monk <jmonk@google.com> Merge "SettingsLib: Track permission's packageName" into mnc-dev
02453f605b3ccd484bbce3e8b00094253b38f718 13-May-2015 Jason Monk <jmonk@google.com> SettingsLib: Track permission's packageName

Bug: 20269176
Change-Id: If07051985f3e8b6223cba4289d6cd29d94ebb0cd
pplications/PermissionsInfo.java
2b51cc30d523cce3609a498c466364caf3ce504e 13-May-2015 Jason Monk <jmonk@google.com> Fix crash from WPS

Also fix the tests to handle the new threadedness while here.

Bug: 20067687
Change-Id: I116bf14c71886b251c2e8bcaeb2c9b0e5f9ec817
ifi/AccessPoint.java
ifi/WifiTracker.java
a42ee81368f4ce469db5a787f0f3a3edd15d9931 12-May-2015 Jason Monk <jmonk@google.com> Fix crash in setup wizard

Clear out any unhandled worker messages before stopping tracking.

Bug: 21048197
Change-Id: I3792215a1e7799bdb93587cd7158c4d5d86de348
ifi/WifiTracker.java
d187880109a614f677911c89cdc1cb034341de3d 12-May-2015 Sanket Padawe <sanketpadawe@google.com> Hotspot 2.0 UI.

Bug: 20182930
Change-Id: Ice6df509889fa7eb0494bb04af65890f07b4a2b1
ifi/AccessPoint.java
30d8004dbf1941d9ac8c5c7839c135a1b87a87fc 08-May-2015 Jason Monk <jmonk@google.com> SettingsLib: Do wifi processing in background

Bug: 19520495
Change-Id: Iefad932bd523b26a19e5f902133563341aea7426
ifi/WifiTracker.java
60137fdcb3294acb3faf8a31d96cb6aa2dd78b1a 06-May-2015 Sanket Padawe <sanketpadawe@google.com> Merge "Saved network summary string fixes in Wifi Settings" into mnc-dev
56cfbfb0319dfed65b6307b1baf73cb9b92db9b9 06-May-2015 Sanket Padawe <sanketpadawe@google.com> Saved network summary string fixes in Wifi Settings

Bug: 20667217
Change-Id: Ife1b1e7da3270020ef405693252a9e8a1ea5a6ca
ifi/AccessPoint.java
def4c0c49aeebccbb42d9b82901a7de81782baad 05-May-2015 Tony Mantler <nicoya@google.com> Merge "Don't crash in StorageMeasurement if volume isn't mounted" into mnc-dev
424681e43e454bfcbceb863ddccb875ea57ec26f 05-May-2015 Casper Bonde <c.bonde@samsung.com> Settings UI for SIM access profile (2/2)

Change-Id: I2e44a858ee3f3349baa401ee7002186d3ae19412
luetooth/CachedBluetoothDevice.java
luetooth/SapProfile.java
ca2954830c017c49523d5e2c7cb5916c76a52375 01-May-2015 Tony Mantler <nicoya@google.com> Don't crash in StorageMeasurement if volume isn't mounted

Change-Id: I3f5d62c93b0bb95bec358a33e1a4497f1b55f8ad
eviceinfo/StorageMeasurement.java
7094d22022c8e0c6ad71920b101434dded8a276e 02-May-2015 Sanket Padawe <sanketpadawe@google.com> Adding "Connected, no Internet" string in Wifi nw summary.

Bug: 17380953
Change-Id: I9664bcbf33832fe722e7d2b3125939287ee98098
ifi/AccessPoint.java
dcf00c9d0f6f985aef186cfe5d7b63761e2f8104 16-Apr-2015 Vinit Deshpande <vinitd@google.com> Implement 'Available via Passpoint' feature [DO NOT MERGE]

This also fixes the issues related to explicit connection
to passpoint AP, and fixes occassional mention of
'connected via Wi-Fi Assistent'

Change-Id: I152cebafa6259194f1d09a6972a3508156335cb6
(cherry picked from commit ff783cd6cfc82870a6126fe1ef019d21131423fc)
ifi/AccessPoint.java
ifi/WifiTracker.java
fc40600e30e281712f6c2fc899fc3894b8ad0050 16-Apr-2015 Vinit Deshpande <vinitd@google.com> Fix settings UI for passpoint networks [DO NOT MERGE]

This change includes showing the friendly name in saved
networks list and 'Connected via provider' addition for
passpoint connections.

Change-Id: If330baa96dedb099d5989b3df5b9778bbbcb15e3
(cherry picked from commit 597f49cdda63fef1b583e2053341485e8d4e2371)
ifi/AccessPoint.java
ifi/WifiTracker.java
9496a2da0500934353abb6042fab6661eb49555a 24-Apr-2015 Tony Mantler <nicoya@google.com> Add totalSize and availSize queries to StorageMeasurement

Change-Id: I20f9d8546046df3804008ee4068c539549f35cb6
eviceinfo/StorageMeasurement.java
547e4caebe0aac21d0856de96e121b8bf63fd9bd 23-Apr-2015 Tony Mantler <nicoya@google.com> Move StorageMeasurement to SettingsLib

Change-Id: I90ea3b32971f02def418385ebac1f03f06390ba7
eviceinfo/StorageMeasurement.java
618f3c4f946259696e7d38fc25adf6ec1e2da0c9 17-Apr-2015 Tony Mantler <nicoya@google.com> Add PermissionsInfo to SettingsLib

in preparation to use it in TvSettings

Change-Id: I7e336ae923f94eef3efe56bf61c250ae540fb83b
pplications/PermissionsInfo.java
05e08c3a2f27d5027b34e81b7c0a67e4da7341f6 07-Apr-2015 Venkat Raghavan <venkatrv@broadcom.com> Bluetooth: Do not initiate inquiry during pairing/SDP

Retry SDP if it gets cancelled in BONDING state.
If SDP search initiated after the pairing gets cancelled, re-initiate
SDP search from the BTIF layer to ensure completion of the bonding
process.

While pairing/SDP discovery of the bonded device is in progress,
do not initiate inquiry.

Bug: 19417758
Change-Id: I2d80883999771c53b58cc3017a63b17e3564bc57
luetooth/CachedBluetoothDevice.java
50d47618300016766852523111bfc7ec991f00ea 31-Mar-2015 Etan Cohen <etancohen@google.com> Merge (manually) pag/209446: Increase allowed duration to connect to HOGP profile

Original file was moved from packages/apps/Settings to frameworks/base.

Change-Id: I26912c0461780a255281a135c60cc0da2d25ae5a
luetooth/CachedBluetoothDevice.java
78981e0393fa767035b0d84b0f0222e20a002917 12-Mar-2015 Jason Monk <jmonk@google.com> Merge "Make QS use SettingsLib's BT code"
be3c5dbee66758517a8198f98ed2e20c80af326b 04-Feb-2015 Jason Monk <jmonk@google.com> Make QS use SettingsLib's BT code

A couple of changes needed to be made to SettingsLib to support this.
- SettingsLib needed to track ACTION_CONNECTION_STATE_CHANGED
- The summary code needed to move from Settings up into SettingsLib
- Added a getMaxConnectionState to CachedBluetoothDevice
- This simplifies the states of all of the profiles into
one.

Change-Id: I7f828f0038ad0cf39274986ece6d486d545f0286
luetooth/BluetoothCallback.java
luetooth/BluetoothEventManager.java
luetooth/CachedBluetoothDevice.java
luetooth/CachedBluetoothDeviceManager.java
luetooth/LocalBluetoothAdapter.java
luetooth/LocalBluetoothManager.java
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac 28-Feb-2015 John Spurlock <jspurlock@google.com> Remove unused imports in frameworks/base.

Change-Id: I031443de83f93eb57a98863001826671b18f3b17
luetooth/BluetoothDiscoverableTimeoutReceiver.java
luetooth/LocalBluetoothProfileManager.java
luetooth/PbapServerProfile.java
08238bb6247a2c1d93aefd52a31f9d1ad5bc7ff0 24-Feb-2015 Jason Monk <jmonk@google.com> Merge "Move non-ui bt settings code to SettingsLib"
fb66b8ff48491ce7f537955aedc143e9fb69cca1 24-Feb-2015 Jason Monk <jmonk@google.com> Merge "Some Tethering code to SettingsLib and use in QS"
95f03c41705b46851140965702b5f06cc03627b6 11-Feb-2015 Jason Monk <jmonk@google.com> Some Tethering code to SettingsLib and use in QS

Change-Id: I640c84d4e42d2f1955db8cd6e473b6acac64dd39
etherUtil.java
6572eae9d278e7199440aeae9a91f9418e8ab4af 05-Feb-2015 Jason Monk <jmonk@google.com> Fix crash in Wifi QS Panel

When open QS wifi panel while wifi was off was causing a crash from
wifi enabling while the WifiTracker was not in a scanning state.
Fix plus a test enclosed.

Bug: 19322090
Change-Id: Id863cdcbf4aa8d50822de3a200355dbaee74b488
ifi/WifiTracker.java
7ce96b9e610de2782ec5f2af806e7bc0f90c8578 02-Feb-2015 Jason Monk <jmonk@google.com> Move non-ui bt settings code to SettingsLib

Mostly this is moving classes from Settings to SettingsLib but there
were a few changes to support this separation.
- A bunch of things became public rather than package
- Moved some settings only code out of these classes
- Added error callback to handle errors

To see the changes from original classes view the diff against
patch-set 1.

Bug: 19180466
Change-Id: I69fd888362c6dbb325f6113b32c4b15cc6a23a41
luetooth/A2dpProfile.java
luetooth/BluetoothCallback.java
luetooth/BluetoothDeviceFilter.java
luetooth/BluetoothDiscoverableTimeoutReceiver.java
luetooth/BluetoothEventManager.java
luetooth/CachedBluetoothDevice.java
luetooth/CachedBluetoothDeviceManager.java
luetooth/HeadsetProfile.java
luetooth/HidProfile.java
luetooth/LocalBluetoothAdapter.java
luetooth/LocalBluetoothManager.java
luetooth/LocalBluetoothProfile.java
luetooth/LocalBluetoothProfileManager.java
luetooth/MapProfile.java
luetooth/OppProfile.java
luetooth/PanProfile.java
luetooth/PbapServerProfile.java
luetooth/Utils.java
d52356aa5e82c7c5db61672bbe8d0f44861f3e59 28-Jan-2015 Jason Monk <jmonk@google.com> Move Settings wifi tracking to SettingsLib

Make SettingsLib capable of tracking which wifi networks are
available/saved and their state.

Also modify Quick Settings to use this code rather than having
its own logic.

Bug: 19180466
Change-Id: Iff9f9aed240d79323dba41496496e8076b9fa6f2
lank.java
irelessUtils.java
ifi/AccessPoint.java
ifi/WifiTracker.java
2ba4ce6a064e29ee3415ff8c2b4a9bbcff937a6c 13-Jan-2015 Jason Monk <jmonk@google.com> Create SettingsLib

This will hold common code that SystemUI and Settings (and others)
will share.

Bug: 19180466
Change-Id: I6614b31d6c3b0a2d426a2aa8ce66725245339d22
lank.java