summaryrefslogtreecommitdiffstats
path: root/src/com
Commit message (Collapse)AuthorAgeFilesLines
* [Fingerprint] Remove learn more link if not provisioned. DO NOT MERGEMaurice Lam2016-09-271-2/+9
| | | | | | | | | Remove the learn more link during setup wizard, because HelpUtils is returning null for the intent while the device is not provisioned. Bug: 31246856 Change-Id: I4cf5c282f170188aef98a02d3b96af5e63ea7f39 (cherry picked from commit c94f2b93afa2db9d87f9d8e0dc0c8709f16a326d)
* Pre-setup restrictions DO NOT MERGEJason Monk2016-07-213-0/+18
| | | | | | | | | - Prevent external tiles from system apps - Don't let user settings run - Disable help Bug: 29194585 Change-Id: I74ab8aaab62d62cc4dbbdf3164429a503f3a572b
* DO NOT MERGE Modify system settings: incorrect UI stateSvetoslav2016-02-161-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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 (cherry picked from commit 356fb2d10d9f4c236b0f10d0e2facb93028b9f3c) (cherry picked from commit 119d589ea5aa9c2ccc5164279d718a20d0865f20)
* Preserve FRP lock if wiped during SUWRussell Brenner2015-12-011-2/+7
| | | | | | | | | | Guard against FRP attacks by keeping the persistent data block intact, if a factory reset has been issued during SUW. [resolves merge conflicts with ag/808069] Bug: 25290269 Change-Id: Id26b4c10235ad126632b71875592a4fa70a39b24
* Uncheck checkbox for contact sharing by default for non carkit devices.Sanket Padawe2015-12-011-16/+17
| | | | | | | | + In BT pairing dialog, uncheck checkbox for contact sharing by default for devices not recognized as carkits at pair time. Bug: 23607427 Change-Id: I7f1d40d86e713e248d3c225459be4895c4f75d76
* Block developer settings during SUWRussell Brenner2015-12-012-1/+11
| | | | | | | | Block access to development settings by tapping on the build number in "About phone". Once SUW has completed, taps will be allowed. Bug: 25290269 Change-Id: I9b2787712237f28fba446abab15a9e1c075d0419
* Null check queryIntentServicesJason Monk2015-11-091-3/+6
| | | | | Bug: 25575738 Change-Id: I006a0e2f47863ac0f5d8ae28c88614481d13e8d3
* Further tweak to issue #issue #25371736: Don't include z-ram allocations in ↵Dianne Hackborn2015-11-022-7/+12
| | | | | | | | | Android OS Make sure the duration shown for z-ram is sane (the maximum of the other process durations of that app). Change-Id: I62c46b89f927b2c7c16f5c31f6910419b2bdd130
* Fix issue #25371736: Don't include z-ram allocations in Android OSDianne Hackborn2015-10-291-0/+40
| | | | | | | Just distribute them across all of the running apps, by creating an additional fake "z-ram" process for each of them. Change-Id: I9b4efe9c7b907779a0ec76cb8652709619e2e686
* Fix crash in Settings from uninstallJason Monk2015-10-221-0/+4
| | | | | Bug: 25171390 Change-Id: Idd0319a5c003ba2183264684806d2b0aaffa1d7e
* Allow access to permissions, even if app has noneJason Monk2015-10-201-4/+0
| | | | | Bug: 24026650 Change-Id: I171ab69ded27c1bf2c791f9673a14d56014471bb
* Merge "Always show pairing dialog for device-specific keyboard." into mnc-dr-devMichael Wright2015-10-203-10/+26
|\
| * Always show pairing dialog for device-specific keyboard.Michael Wright2015-09-173-10/+26
| | | | | | | | | | Bug: 22876536 Change-Id: Ief9f6343d435747050bb7910f934e4777f5116de
* | Merge "Hide empty data usage cycles." into mnc-dr-devJeff Sharkey2015-10-201-3/+26
|\ \
| * | Hide empty data usage cycles.Jeff Sharkey2015-10-191-3/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building list of historical data usage cycles, omit cycles that don't contain any data usage. A bad NITZ or NTP fix may have caused us to record some usage in 1970 or 2038, which would have shown all the cycles in between. Now we hide empty cycles to keep things clean. Bug: 18282691 Change-Id: Ib04c95d1411400ba9967d311b59402a26d39cfe3
* | | Merge "Clamp large data usage values." into mnc-dr-devJeff Sharkey2015-10-201-0/+3
|\ \ \ | |/ /
| * | Clamp large data usage values.Jeff Sharkey2015-10-191-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Without clamping, they can wrap around to negative values and cause all sorts of havok. 1TB ought to be enough for anyone: that's 3Mbps for a solid month. Bug: 24555152 Change-Id: If92c87f9920c3f05cd3ff2cc6630b1bbb65335b8
* | | Hide SIM and IMEI for wifi only devicesJason Monk2015-10-191-2/+4
|/ / | | | | | | | | Bug: 24342670 Change-Id: Icfb7db0c1b5c6688c16248daa5e6c0443ff45392
* | Merge "Fix crashes in Settings" into mnc-dr-devJason Monk2015-10-161-1/+5
|\ \
| * | Fix crashes in SettingsJason Monk2015-10-161-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | Fix problems from unsupported intents being launched through adb. Remove the ones we can, fix the other. Bug: 19634064 Change-Id: Iba0adeb135e76ee70365e5891380ba8b55110c26
* | | Merge "Bail if activity was destroyed." into mnc-dr-devJeff Sharkey2015-10-161-0/+4
|\ \ \ | |/ / |/| |
| * | Bail if activity was destroyed.Jeff Sharkey2015-10-141-0/+4
| | | | | | | | | | | | | | | Bug: 24172045 Change-Id: I723951b3478459fc70e29d25386f8d7197964e3d
* | | Merge "Change to add user_visible field to Carriers table." into mnc-dr-devAmit Mahajan2015-10-141-10/+14
|\ \ \
| * | | Change to add user_visible field to Carriers table.Amit Mahajan2015-10-081-10/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also adding config to control if adding APNs is allowed. Bug: 24519879 Bug: 24681288 Change-Id: I59466f5489606162a10e883ede378e575a189fb3
* | | | Unconfigure the lockdown VPN if the user forgets its profile.Lorenzo Colitti2015-10-131-1/+14
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, if the user clicks "forget" on the configuration dialog for the profile that is currently being used by the always-on VPN, we don't disable the lockdown VPN, and we crash on next boot because ConnectivityService tries to start LockdownVpnTracker with an invalid configuration. Fix this by removing the LOCKDOWN_VPN variable in the keystore (which disables the always-on VPN), and notifying ConnectivityService. Bug: 23625458 Change-Id: I3545286c9fc23517306aa94607a4b2cb55cc56c4
* | | Disable app-link preferences for browser appsChristopher Tate2015-10-093-46/+96
|/ / | | | | | | | | | | | | | | | | Also make sure that the 'Clear defaults' action unsets the app's standing as the default browser, when applicable. Bug 23751034 Change-Id: I6131b763bfa76ba38d18cad2abbb35caffe789aa
* | Merge "Allow manual to be read from disk" into mnc-dr-devZach Kuznia2015-10-012-0/+89
|\ \
| * | Allow manual to be read from diskZachary Kuznia2015-08-172-0/+89
| | | | | | | | | | | | | | | | | | b/22891924 Change-Id: I6014690735403b772f273addba01706441898e23
* | | [Fingerprint] Fix link accessibilityMaurice Lam2015-09-243-0/+942
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Copied ExploreByTouchHelper, LinkAccessibilityHelper and LinkTextView from setup wizard and switched fingerprint_settings_footer to use LinkTextView, so that users can navigate to the link in TalkBack mode. Bug: 24343933 Change-Id: I0ff0c054510dfef4263ea223cb0044a4bddf321f
* | | Make picture color mode less of a featureJason Monk2015-09-233-68/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Shun it to developer settings - Hide 'natural' mode - Remove dialog Bug: 24038268 Change-Id: Ibaf363bc06b444f2a361707b98742328fc290cfc
* | | Add a dummy string to help to add "fingerprint" to searchJim Miller2015-09-221-0/+6
| | | | | | | | | | | | | | | | | | Fixes bug 24172006 Change-Id: If4f3d9528aa6ac7daabc50ff247f6f542d4fd88c
* | | Merge "Revert "Remove don't kill flag from CryptKeeper to stop logspam"" ↵Paul Lawrence2015-09-191-1/+2
|\ \ \ | | | | | | | | | | | | into mnc-dr-dev
| * | | Revert "Remove don't kill flag from CryptKeeper to stop logspam"Paul Lawrence2015-09-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 4f60679b7608aba38142bfee472c4722aebf056f. Change-Id: I8c1ebef08f9b5cef4e4c31187a8ba80306afc840
* | | | Merge "Add summary for 0 fingerprint settings preference" into mnc-dr-devJim Miller2015-09-191-0/+2
|\ \ \ \
| * | | | Add summary for 0 fingerprint settings preferenceJim Miller2015-09-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows the fingerprint summary to be shown when there are no fingerprints. Fixes bug 24172006 Change-Id: I9dd266013ac74da74f1dd397cbe0e50acf5d1262
* | | | | Merge "Add color transform setting" into mnc-dr-devJustin Harrison2015-09-192-0/+207
|\ \ \ \ \
| * | | | | Add color transform settingJason Monk2015-09-182-0/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 24038268 Change-Id: I2bf45fef85038c29423a86c7bb018a8e750110a6
* | | | | | Merge "Update implementation to match BatteryStats.Uid" into mnc-dr-devAdam Lesinski2015-09-181-1/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Update implementation to match BatteryStats.UidAdam Lesinski2015-09-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ibdb7dc4b98c5a365c97bb56ad51e936b51892d3f
* | | | | | Merge "Remove don't kill flag from CryptKeeper to stop logspam" into mnc-dr-devPaul Lawrence2015-09-181-2/+1
|\ \ \ \ \ \ | |_|/ / / / |/| | / / / | | |/ / / | |/| | |
| * | | | Remove don't kill flag from CryptKeeper to stop logspamPaul Lawrence2015-09-141-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 23500739 Change-Id: Ibf06121bf37a42853eeeaef699f5074420b2af31
* | | | | Fix IndexOutOfBoundsException while silent provisioning checkHyejin2015-09-142-22/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - If hostpot off, we receive result through HotspotOffReceiver. Sometimes, during provisioning, we're used to receive this. In this case, we don't care. After provisioning, we'll receive the intent again. - In stress test, index is sometimes invalid, equals to mCurrentTethers.size(). So, when provisioning, We check whether index is valid or not. BUG=23528220 Change-Id: I70f35e045042c6c81b1db03e2a44cd41d3e7437f
* | | | | Merge "Fixed a bug where the ConfirmDeviceCredentials activity was shown ↵Selim Cinek2015-09-121-2/+13
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | twice." into mnc-dr-dev
| * | | | | Fixed a bug where the ConfirmDeviceCredentials activity was shown twice.Selim Cinek2015-09-111-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When rotating the ConfirmDeviceCredentials Activity, it was launched again after solving the challenge. Bug: 23937676 Change-Id: Ic0852448f498c79d5448c72cbc31bb55d9bfeddb
* | | | | | Merge "Add timeout if we dont get onEnterAnimationComplete" into mnc-dr-devJorim Jaggi2015-09-111-0/+15
|\ \ \ \ \ \
| * | | | | | Add timeout if we dont get onEnterAnimationCompleteJorim Jaggi2015-09-111-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Window manager doesn't send us onEnterAnimationComplete in the case where there are two activites starting at the same time and the screen orientation is changing. Add a timeout to work around this until we have a proper fix. Bug: 23849216 Change-Id: I4be7787d1bc13f8cb0ffd892010c4b5c0142c783
* | | | | | | Merge "Finish trampoline activity for ConfirmDeviceCredential immediately" ↵Jorim Jaggi2015-09-112-19/+17
|\ \ \ \ \ \ \ | |/ / / / / / | | | / / / / | |_|/ / / / |/| | | | | into mnc-dr-dev
| * | | | | Finish trampoline activity for ConfirmDeviceCredential immediatelyJorim Jaggi2015-09-102-19/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure to finish ConfirmDeviceCredentialActivity directly, and use Intent.FLAG_ACTIVITY_FORWARD_RESULT, so we can't even end up in a state where we have the trampoline activity but not the real activity. Bug: 23849216 Change-Id: I7a5be5af74ca85c11df1f61a69c3fd5cf558e1fb
* | | | | | Merge "Fix crash in when restoring CredentialCheckResultTracker Fragment" ↵Jorim Jaggi2015-09-111-1/+1
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | into mnc-dr-dev
| * | | | | Fix crash in when restoring CredentialCheckResultTracker FragmentJorim Jaggi2015-09-101-1/+1
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | Bug: 23956504 Change-Id: I884e47a793d6bc00cc0c54fe9e3d4bcf4e0199c1