Commit Graph

10208 Commits

Author SHA1 Message Date
Zoltan Szatmary-Ban
ad0ca96fcd Add UI to Settings > Location for Managed Profile Location Control
This CL adds Managed Profile Location Access control in the form of a switch
preference.

Bug:22541939
Change-Id: I1a2140c54e7386cda83ef0305f0840e4f8f9a6d1
2015-12-07 16:13:10 +00:00
Philip P. Moltmann
ada7ac0c9b Merge "Show status of print job instead of deprecated state reason." 2015-12-02 16:34:56 +00:00
Svetoslav Ganov
a405e7b79b Merge "Add optional permission review for legacy apps - settings" 2015-12-02 04:26:00 +00:00
Svet Ganov
c7f02876cd Add optional permission review for legacy apps - settings
Change-Id: I80058d093abf5d131cf7befba2eec5239ff854eb
2015-12-01 19:57:36 -08:00
Lifu Tang
02cde0a24f Merge "Remembers previous location mode when location off" 2015-12-02 00:06:40 +00:00
Lifu Tang
ee0db4c35b Remembers previous location mode when location off
Multipart CL. Must be submitted together with ag/821599

Bug: 25608291
Change-Id: Ibfa39ba9b844421cd86a5aa4266e4389534f16be
2015-12-01 15:53:27 -08:00
Philip P. Moltmann
f793d63282 Show status of print job instead of deprecated state reason.
The state reason has been replaced by the more generic status.

Change-Id: I4fd525c77bd35f1f336fbeee7744f18b1444cf9a
2015-12-01 08:54:35 -08:00
Paul Lawrence
302d5e709b Merge "Store cooldown state through rotation" 2015-12-01 15:13:49 +00:00
Jeff Sharkey
9e9f7d1116 Add fallback encryption-aware home screen.
When the home screen selected by the user isn't encryption aware, we
still need to put something on the ActivityStack.  For now, let's use
an empty activity that knows how to dismiss itself when the
credential-encrypted storage is unlocked; that's enough for the
system to re-resolve the home intent and find the real home screen.

Also follow method refactoring.

Bug: 22358539
Change-Id: Iebc4ad8d2dd62ada079cab03d5765f7631fd4beb
2015-11-30 17:00:17 -07:00
Jason Monk
aace27d3db Merge "Make sure the dashboard is up to date" 2015-11-30 20:45:44 +00:00
Jason Monk
8c4ca41d25 Make sure the dashboard is up to date
Bug: 25794089
Change-Id: I65eaa8e14b3c998ec122eaa9fc4dbbe3749c568c
2015-11-30 15:43:34 -05:00
Jason Monk
b7df4fa0d3 Merge "Guard against monkey crash." 2015-11-30 20:11:20 +00:00
Jason Monk
73df1a9894 Guard against monkey crash.
Bug: 25813437
Change-Id: Id86c775b235ee303dc05c1cf70a407bf5472b17c
2015-11-30 14:50:40 -05:00
Julia Reynolds
25a46dbd5c Merge "Fix print settings crash." 2015-11-30 19:30:42 +00:00
Julia Reynolds
0c1085e191 Fix print settings crash.
Bug: 25889661
Change-Id: I691b913ce0adc06c29c21ad12d979a0d0e3ad8e7
2015-11-30 13:32:30 -05:00
Julia Reynolds
51a41d436e Merge "Split Sound & notification settings." 2015-11-30 18:00:44 +00:00
Jason Monk
d3de027649 Merge "Add some more summaries for Settings Home" 2015-11-30 16:23:43 +00:00
Julia Reynolds
8c0a423865 Split Sound & notification settings.
Bug: 25860852
Change-Id: If88daf6fd50b5abf86fb86f3590361f0118172a1
2015-11-30 11:21:41 -05:00
Jason Monk
9d80eeabe7 Add some more summaries for Settings Home
Change-Id: Iaca8db6bdce87e667832b5b670e4eb027580b668
2015-11-30 10:57:33 -05:00
Jason Monk
8b886c4649 Fix various crashes
Bug: 25894771
Bug: 25905442
Bug: 25747730
Change-Id: I9680d08514589288eadbe2a50a9ef5e03220a0c1
2015-11-30 10:54:56 -05:00
Andrei Stingaceanu
1258c4f434 Merge "Wire in device owner information into SecuritySettings" 2015-11-26 11:01:03 +00:00
Philip P. Moltmann
99f0bd4aa6 Change onResume -> onStart in the print settings to update even paused activities.
Change-Id: Ie28de2cd3ba02c3f19d11c61b3dbbce5d33ddb5a
2015-11-25 16:13:01 -08:00
Julia Reynolds
4cc3819857 Fix filter indicies.
Bug: 25837105
Change-Id: Ic857f4efdb3d25e38be7b8113cc2256127954e48
2015-11-25 08:58:44 -05:00
Sunny Goyal
2672cb0fa2 Merge "Adding the activity icon in wallpaper list" 2015-11-25 03:43:23 +00:00
Makoto Onuki
4cfe39f539 Use explicit APIs to get device owner information
Bug 24676413

Change-Id: Id346c2f01658173c9671edcfd34bc33f1b25faa4
2015-11-24 14:55:26 -08:00
Sunny Goyal
bfcf2a9044 Adding the activity icon in wallpaper list
Change-Id: Id31e6dfdfd2f214e6686d21f2aeeb68762de5893
2015-11-24 14:11:30 -08:00
Paul Lawrence
278410435a Store cooldown state through rotation
Bug:24361606
Change-Id: Ifc732ce7d157aaa9a21aaedb9e64bca9ae4a56c4
2015-11-24 12:42:09 -08:00
Svetoslav Ganov
03e1bee786 Merge "Modify system settings: incorrect UI state" 2015-11-24 19:32:51 +00:00
Svetoslav
356fb2d10d Modify system settings: incorrect UI state
The privilege for an app to write to the system settings is protected
by an app-op signature permission. App-op permissions are special: if
the app-op is deny/allow we deny/allow write access; if the app-op is
default holding the permission determies write access. The settings
code assumes that CHANGE_NETWORK_STATE is an app op permission
(system|appop) while it is a normal permission which any app gets by
declaring it used in the manifest.

The side effect is that the state of the toggle in the UI for write
system settings will initially be in the wrong state if the app uses
both WRITE_SETTINGS and CHANGE_NETWORK_STATE. However, the code in
the public API an app uses to check write settings access would return
the opposite since it checks the WRITE_SETTINGS permission and its
app op. Hence, if an app requires write settings to start the user
will see in the settings UI it has access but the app will not have
access, so the app would prompt the user to allow write settings.
The non-obvious fix is for the user to toggle the setting off and on
to get the app op in the right state and be able to launch the app.

bug:25843134

Change-Id: I3d726a66c7f9857bc7dbd5946fdbb8f340c6eb4d
2015-11-24 11:31:17 -08:00
Julia Reynolds
6f526fcaf3 Migrate package level notification settings to topic level.
Bug: 22854014
Change-Id: If0c20bec3b3f8b01b86d195d2e7ff7aa1e15882e
2015-11-20 15:09:29 -05:00
Julia Reynolds
a88265ef8a Merge "Fix crash." 2015-11-20 14:31:44 +00:00
Julia Reynolds
8431477588 Fix crash.
Bug: 25809075
Change-Id: I708a21d65943ba23aa40b4b0f3eb6cb3108e1cf4
2015-11-20 09:28:02 -05:00
Andrei Stingaceanu
999014702c Wire in device owner information into SecuritySettings
If the device owner information has been provisioned by device
policy client via the DevicePolicyManager then make the current
user info preference read only and add a summary to specify that
the preference has been disabled by the administrator.

Bug: 22547309
Change-Id: I14952abd2e022607b82ce4361cfa514549243045
2015-11-20 11:55:41 +00:00
Jim Miller
f5a2a7edb9 Merge "Revert "Auto advance fingerprint enrollment when user taps on the sensor"" 2015-11-19 22:05:08 +00:00
Jim Miller
c5e286570b Revert "Auto advance fingerprint enrollment when user taps on the sensor"
This reverts commit b3253f1d75.

Fixes bug 25694018

Change-Id: I29c78e6669db79ff996a1ecdf1cf45cff9ecef69
2015-11-19 22:03:28 +00:00
Jeff Sharkey
a180abf6cf Merge "Mark this coreApp as being encryptionAware." 2015-11-19 18:45:41 +00:00
Jeff Sharkey
3bd73edbae Mark this coreApp as being encryptionAware.
Historically, apps marked with "coreApp" were prepared to run in a
limited boot environment, and were critical to booting the device, so
in the new file-based encryption world we're marking these apps with
both "forceDeviceEncrypted" and "encryptionAware" attributes.

Bug: 22358539
Change-Id: Idf9fb8d4b0cc1cd504c9ab7ed770d2cd86d3d506
2015-11-19 11:11:03 -07:00
Julia Reynolds
a19090a7df Merge "Remove 'peekable' notification preference." 2015-11-19 13:41:01 +00:00
Julia Reynolds
69d0b67ee0 Remove 'peekable' notification preference.
Bug: 22854014
Change-Id: I920185cd8c766436338d38a51663bd5480699f5d
2015-11-18 17:05:18 -05:00
Ben Kwa
1c212aa92c Merge "Rename ACTION_BROWSE_DOCUMENT_ROOT -> ACTION_BROWSE" 2015-11-18 21:15:36 +00:00
Russell Brenner
23e7dd8796 resolve merge conflicts of 549379737d to master.
Change-Id: I8a6e83948a1915483567734fa99d903acf7e4754
2015-11-18 10:16:55 -08:00
Jason Monk
1f8bd6f479 Fix settings crashes on larger devices
Just remove this code until its updated for the new settings home.

Bug: 25750060
Change-Id: I8132598c4b76ef290d180af3d472686b41cb594c
2015-11-18 12:58:07 -05:00
Ben Kwa
0c851297b4 Rename ACTION_BROWSE_DOCUMENT_ROOT -> ACTION_BROWSE
BUG=23137963

Change-Id: I32e995b4421de4c90faa4e80a095c7df2f7aee25
2015-11-18 09:41:38 -08:00
Russell Brenner
ff8a68010e resolve merge conflicts of 7285e2c2fc to master.
Change-Id: I56ebcc0dac917791b19ee308eed30bb51267a817
2015-11-18 09:13:31 -08:00
Tony Mantler
e5f836b010 Merge "Move AnimatedImageView and AuthenticatorHelper to SettingsLib" 2015-11-18 16:47:38 +00:00
Jason Monk
fb8e1f7a7b Merge "Fix DataUsageSummary formatting" 2015-11-18 15:43:45 +00:00
Jason Monk
27e0f92774 Merge "Summary support for Settings Home" 2015-11-18 15:08:01 +00:00
Tony Mantler
b280b0a892 Move AnimatedImageView and AuthenticatorHelper to SettingsLib
Change-Id: I51d5711b0e626b5e7f83af985d02090480085ac7
2015-11-17 15:13:29 -08:00
Julia Reynolds
5555d26b20 Apply DND to visual effects.
Bug: 25423508
Change-Id: I00ace3da8a7fea089f4d0fc3f6161452285abb8e
2015-11-17 17:21:31 -05:00
Russell Brenner
549379737d Merge "Block developer settings during SUW" into lmp-mr1-dev am: 56d630a3ed am: afe5eada5b am: 8e4f6fbc2e am: 5950ff1d69 am: 2b29501039 am: f0d538f08d
am: ebc5086d15

* commit 'ebc5086d15bc1be602dfcd31925000e8c6184f16':
  Block developer settings during SUW
2015-11-17 20:40:50 +00:00