| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also squashed the following related commits from 12.1:
MasterClear: fix FRP wipe crash
Requesting setRequestedOrientation() right after showing a custom dialog
in a DialogFragment does not play nice. It forces the activity to be
recreated instantly, so when the task finishes, there original activity
the AsyncTask is tied to is no longer valid.
However, if we let fragment manager keep track of all the dialogs, it
doesn't break the expected behavior.
REF: CYNGNOS-427
Change-Id: I0609816182a6b5319d2a88ff0075d53e3c2fed16
Signed-off-by: Roman Birg <roman@cyngn.com>
Settings: make FRP wipe dialog not cancelable
User should not be able to interact with the screen after the process
has started. Otherwise we can get in a bad state and never perform the
factory reset.
Ref: CYNGNOS-427
Change-Id: I197a6ca70487a33b0ce402fda7a2d58828e8e1bb
Signed-off-by: Roman Birg <roman@cyngn.com>
Settings: don't crash when dismissing FRP
If the user has pressed home while the dailog is up, there may be
nothing to dismiss by the time the task finishes.
Ref: CYNGNOS-427
Change-Id: Ic4fdec1ecb32f88181feba4bfd3eb337b1b61efd
Signed-off-by: Roman Birg <roman@cyngn.com>
Settings: continue factory reset if user leaves activity
If the FRP dialog is up, and the user presses the home button, the FRP
task will finish, and then try to use the activity context to initiate
the wipe, and the fragment to retreive args, both of which is no longer
valid.
Cache all variables before the task begins, and use the application
context to complete the calls.
Ref: CYNGNOS-427
Change-Id: I5c8b286195a0b57fd879a1022d64ea548363b925
Signed-off-by: Roman Birg <roman@cyngn.com>
Ref: Settings-86
Change-Id: I759de586bf5cb8558d42575d08df63aaf84fffa6
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
| |
Bug: 21164141
Change-Id: I7444261ccf967f6db70c9fe44a00bd3f19ceb975
|
|
|
|
|
|
|
|
|
| |
Catch Resources.NotFoundException which should cover all parsing
errors from loadDrawables(); also substitute a default icon if
parsing returns null.
Bug: 17760671
Change-Id: Ia0ec25e34974ed85b6ffe6882d5bce003d64e9d6
|
|
|
|
|
|
|
|
|
|
|
| |
- New strings in the screen.
- New layout/style.
- Clean up internal API's around it.
- Add fingerprint support if launched from externally
- Separate theme if launched from externally
- If launched from above Keyguard, use SHOW_WHEN_LOCKED flag
Change-Id: Icdf9bf9e0506841f24e8aab5f0f1d1f4b688951f
|
|
|
|
|
| |
Depends-On: I5b1dccb5d103ece3112acf38889bae16273b092f
Change-Id: I116aed2bb805f723a5bf2ec9eb94257de0b4a7b5
|
|
|
|
| |
Change-Id: Iebfa52cb849d69974c94902b0b020893cf5618a3
|
|
|
|
|
| |
bug:16161518
Change-Id: I7c0cc58d5385352c6c9af2b27af23a744b5df977
|
|
|
|
| |
Change-Id: I5bdba2ad4f9e1987f9e818af9d5aa96a9d558f6b
|
|
|
|
|
|
|
|
| |
Fixing a bug where managed profile's accounts where shown without
the account icon.
Bug: 18555032
Change-Id: I5a1094e795b31a00599bc4df413573030693b436
|
|
|
|
|
|
|
|
| |
List both primary profile's and managed profile's accounts. Also notify the user
if there are other users present on the device.
Bug: 17899181
Change-Id: I5401722e65305861edeed60cfe926fca5c81a418
|
|
|
|
|
| |
Bug: 18054895
Change-Id: I8a029142085b9e7f59efc8e313b6438734d5a1bb
|
|\
| |
| |
| |
| |
| |
| | |
into lmp-dev
* commit '526e4b41550fa70e08cfcfc7bfbc2aa88a9f71d7':
Disable factory reset for secondary users
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Search in Settings makes it possible to find the factory reset screen.
Disable the search index in PrivacySettings so that backup and reset
keywords don't get indexed for secondary users.
Also add additional safeguards for other entry points such as public
intents, so that the backup/reset screen does not show any options.
Bug: 18076086
Change-Id: Ie5135fbf4084038c99947a1a107ab4758f0c15a9
|
|/
|
|
|
|
|
|
|
|
| |
Explicit null theme is passed when using Resources.getDrawable() and
no theme is available, e.g. when using getResourcesForApplication().
This fixes an issue with ic_text_dot theming and helps avoid similar
issues in the future.
BUG: 17648301
Change-Id: I3e97c3490b6f2a55744f567b21284f2935ae9af7
|
|
|
|
|
| |
Bug: 14081992
Change-Id: I60f132312368c5097b46ab97e881eec3700ef586
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- get rid of PreferenceActivity as much as we can and use fragments instead
- add Drawer widget
- add Dashboard high level entry into the Drawer (but this is work in progress and would be done in another CL)
- add bypass of fragment's Header validation when launched from the Drawer but *force* validation if external
call thru an Intent
Be aware that WifiPickerActivity should remain for now a PreferenceActivity. It is used by SetupWizard and should
not trigger running the SettingsActivity's header building code. SetupWizard is a Home during the provisionnig process
and then deactivate itself as a Home but would make the Home header to appear in the Drawer (because momentarily we
would have two Home).
Also, verified that:
- the WiFi settings still work when called from SetupWizard
- when you have multiple Launchers, the Home header will appear in the list of Headers in the Drawer
Change-Id: I407a5e0fdd843ad7615d3d511c416a44e3d97c90
|
|
|
|
|
| |
Bug: 10461761
Change-Id: If63c3801663b347a4643e44d5bd3bab4e3049578
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use usermanager to clear restrictions, as it needs to do a bunch of
book keeping.
Apply PIN restriction to master clear button.
Changing existing PIN now includes verifying the PIN, so it doesn't
need to be cleared here in Settings.
Removed automatic persisting of restrictions on receiving them unless
it is a restricted profile.
Make apps that are signed with platform certs immutable and ON.
Change-Id: Iffd1bf2eb0d18202fb66ddcf80668baa8e6b84ed
|
|
|
|
|
|
|
|
| |
Bug: 5355920
Remove the contents of the layout before adding the accounts.
Change-Id: Ic9256140f892968b2388f47d982eaada720df892
|
|
|
|
|
| |
Bug: 5017638
Change-Id: I43c98359eff7202437249675060ba964e1bd085c
|
|
|
|
|
|
| |
Bug: 5008299
Change-Id: If2d02af7ecda7fe40445a3ec8e023138c5523fd6
|
|
|
|
|
|
|
|
|
| |
On devices with emulated USB storage or SD card, factory reset will wipe
all data from that area. Given that, it doesn't make sense to show a
different option for wiping USB storage.
Bug: 3242568
Change-Id: I257bdde06141f14381c8c09ce6a42c18d7080efd
|
|
|
|
|
| |
Bug: 2823530
Change-Id: Idbf46aa59f3c529a3a3ef2d7d4e607822b34f51d
|
|
|
|
|
|
| |
Split the screen into 2 fragments.
Bug: 3148480
|
|
|
|
|
|
|
|
|
|
| |
3094621: add "wipe sd card" option to factory data reset
3094609: collapse unmount/format into one command
Implements requested UI changes. Also some final tweaks to
Manage Applications.
Change-Id: I0219195dd0c74d8c003ef1c3f6e09714859d7f89
|
|
|
|
|
|
|
|
|
| |
This fixes a bug where user was allowed to factory reset the device
without entering their PIN/Password.
It also fixes the same issue with MediaFormat (Settings->SD Card->Format).
Change-Id: I0677a50aa771ad8663513fd7ec398a70953dcde2
|
| |
|
| |
|
| |
|
|
|
|
|
| |
http://b/issue?id=1681101
So just some refactoring.
|
|
|
|
| |
So that Monkey can set it before running and reset it after running.
|
| |
|
| |
|
|
|