| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
linked
The notification item will be disabled if the notification and
ringtone volumes are linked. This is to keep consistency with the
sound settings
Change-Id: Ibbe7612eae5e9b7b18d63450ab8331f02becf5ca
TICKET: CYNGNOS-958
|
|
|
|
|
|
| |
Ticket: CYNGNOS-1463
Change-Id: I2ad9436c17f0c2ecc9aea7cae7d2f6c806eb9ed7
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
When configuring profiles and selecting a network mode override, ask
Telephony to provide the UI for showing the proper network modes. After
the user has selected it, we receive the result, and save it in the
profile.
Ref: CYNGNOS-1463
Change-Id: I866ed1bc1c915ae00804b07dbbafa86e679a5fa7
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
| |
Change-Id: I6e0f844362ad5a479b40da08bce8a66be10503ec
|
|
|
|
| |
Change-Id: I6e1d0ec2be4c6da51267c163575472827c9c50cd
|
|
|
|
|
|
|
|
| |
* Fix code style
* Fix a couple mismerges
* Align strings with cm-12.1
Change-Id: I0795c114014e53101c7d6697bb9a229c003973ab
|
|
|
|
| |
Change-Id: Icfbe90f25f537a673a1b749c217dca9efb6a1c70
|
|
|
|
|
| |
Change-Id: I271d409f925805d26c918d156e8ae41253cc08b1
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When deleting an app, inside of an app group in profiles,
if the user rotates device while confirmation is showing and
presses ok, it is a no-op. Reason is mPackageToDelete loses its
state when rotation is change.
Address this by persisting it in the state bundle.
issue-id: CYNGNOS-1119
Change-Id: I43dd9ccae7e16e92e5ac054f1b2ac0119cbfe60b
|
|
|
|
|
| |
Change-Id: If6b3a71e0ed28558d74132ddd4594b98bf2955e9
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
| |
Change-Id: I7e4061615f2bb1c1fabd37c8f5b792b04a99a2c8
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ProfilesSettings previously had a viewpager with the profiles list, and
an app group list. Then we removed app groups, but the viewpager was
left over.
The main reason for getting rid of it now is to make sure that
refreshList() always works. Previously there was a small chance that
because it was in a viewpager, the preference may not have been attached
(at the time of the resetAll() dialog being shown and user pressing yes),
which caused the refresh method call to fail, since it needs access to
the preference screen, which is null at that time.
Change-Id: Ib9c3a27e3062660bd8a91998c20c15b4ffb4390b
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
| |
* Mismerge from cm-12.1
Change-Id: Ica5bce4f1b371dcf2ad23ba8f938d449a9397339
|
|
|
|
|
|
|
|
| |
Some networks specifically disallow 2G to be selected as the preferred
setting. We should respect that.
Change-Id: Ic4414ed78c9f38b5c11969300dc858725ee3b2c6
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
| |
Change-Id: I772d5f8e443699ff3f45e8d1c50debb2c7730b17
|
|
|
|
| |
Change-Id: I07874c68802674695877c6bd0329c8973dd1c653
|
|
|
|
|
|
| |
* Also implement CMBaseSystemSettingSwitchBar used for it.
Change-Id: I1109cf06066a6c5f57044a484b0af6bbb38dc1b1
|
|
|
|
| |
Change-Id: Ieedeaf03a3ba8246a643bfb9003c45f25b4facf5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The preference was not being set, which caused this code to throw an NPE on
devices without telephony when opening the privacy preferences.
This bug also affects devices with telephony in that the preference doesn't
update its text. I also got rid of the null check because the preference
always exists, the null check is pointless and ended up hiding this bug.
Change-Id: I95555d44349700a8f29a71a2f2ee9aedf419b49b
Settings: Fix blacklist settings crash
Change-Id: Idd261aa9f8e2867312aaaece26150671b177994c
Settings: materialize Blacklist settings
* Add a FAB
* Add a (generic system) enable/disable switch bar
Change-Id: I0984bf6769abef48cc7e0a643c2bdd73219954fc
Signed-off-by: Roman Birg <roman@cyngn.com>
Settings: add a way to open blacklist settings externally
Opening the activity doesn't theme the switch bar - an alias works.
Change-Id: I78efb382f4f1f4d208f122fedb0d71a86b515405
Signed-off-by: Roman Birg <roman@cyngn.com>
blacklist: make it possible to unblacklist phone/messages via checkboxes
Change-Id: I7d982d17818efe065e4e22f2a86a46493672584a
Settings: fix blacklist settings crash
On a device rotate, the MultiSelectListPreference would try and restore
its state since the preferences aren't persisted. Clear the persisted
flag so the MultiSelectPreference doesn't try and restore the states, as
they get populated in onResume().
Change-Id: I0d0304e2367ade66e35ae7df432575d13ed0993e
Signed-off-by: Roman Birg <roman@cyngn.com>
Settings : Update blacklist strings
Change-Id: I08ea4405f41f86a9eaf7bae74cbb61fa1fb0c8aa
(cherry picked from commit 6d8cc2c697752a1357915ea88651b2fe220a54ba)
Settings : Add input checks for blacklist input
There can be situations where user enters invalid input.
Ensure that is handled.
Repro :
1. Add new blacklist entry
2. Enter /
3. Press ok
4. Enjoy crash
issue-id: CYNGNOS-980
Change-Id: Ica90ac835f374569123e679ba39c3caa7179ef65
Settings : Fix blacklist delete number crash
issue-id : HAM-795
Change-Id: I25306b3d4bead5487f039c3f51b631b1ef88b18d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
power
reboot
screenshot
profile switcher
airplane mode
user switcher
bug reports
[mikeioannina]: Modify for CyanogenMod
Change-Id: Iadb41a661770f8b71eef4e12b1d8f04d0ba3e6be
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the user clicks cancel, changes should not persist.
Repro:
1) Edit current profile
2) Change brightness via override
3) Press cancel
issue-id: CYNGNOS-1174
Change-Id: I6a09c642cd22509161efa5565276ea9c06973f5e
|
|
|
|
|
|
| |
* Should fix the NPE on 145th line
Change-Id: Icfbb961a4f562d977bf14fbfa603c7bb11d2cdca
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If a listview has headers/footers, getItemAtPosition takes that into account
given a position. When we restore state, we fetch it from the adapter which has
no concept of header/footer.
Fix this by storing the position in the adapter itself.
Repro:
1) Create new profile
2) Skip triggers
3) Click one of the preferences
4) Rotate phone
5) Notice the title change
Change-Id: Ifaecf99615d922140e8cd531ab164320de729439
issue-id: CYNGNOS-1168
|
|
|
|
|
| |
Ticket: BAMBOO-156
Change-Id: Ie4e576c3cae145339816bc6044d4fd43dde0efd6
|
|
|
|
|
|
|
|
|
|
|
| |
* getProfiles(name) is deprecated so get it with the UUID
PS2: Use uuid added with I352cc2bfd8
Should fix BUGDUMP-1936587
Change-Id: Iefe823b12561a661da10cc8b8338c381876590ee
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
|
|
|
|
|
|
|
| |
Don't allow to change lockscreen mode if there is a device administrador that avoid it
Change-Id: I2485f96fba41c60248260ee03ffa0614e94195b4
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When the user hits the positive button in the confirmation dialog to
reset profiles, we force a refresh of the profiles list. This can lead
to a NPE exception being thrown if it happens before the dialog actually
gets dismissed (and the ProfilesList fragment is actually attached)
since the reload list calls getPreferenceScreen(), which can be null,
since it is not attached.
After the dialog disappears, onResume() gets called in ProfilesList
anyways, so there's no need for a forced refresh.
Change-Id: I93de7115a69cc7545bf6a33de3a4abf5443658b9
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
| |
Change-Id: Ibdd09e069ec6c71b3e3f914614805b01bdf8a3dd
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
| |
Change-Id: Iff56f777141cc1e56492da7a2b20e2af02a7db8f
|
|
|
|
| |
Change-Id: Ia4415c7a8ac02b6f3be1950dc68fad07e46f0fb9
|
|
|
|
| |
Change-Id: I1612926c34fac52c93b813babe5be74b7ebf1e4f
|
|
|
|
| |
Change-Id: Ic1f3a349c8aa54836128cc91e57e9d31eaca81d3
|
|
|
|
| |
Change-Id: I19a767e90d20bd6a8b4709416779590aabd9858f
|
|
|
|
| |
Change-Id: I589dd372a58d8aca0f804e419992c28188d5380c
|
|
|
|
|
| |
Change-Id: Ie15b99919377bb2c2b7b5f203ceb7e62f064911c
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
| |
- Seekbar needs to be setEnabled() *after* setting the seekbar to
the volumizer becase volumizer.setSeekBar() will set the seekbar's
enabled state.
Change-Id: Ia5b3b8cfaebb54997a60a7f09915e1f22016c060
|
|
|
|
|
|
| |
* moved isDozeAvailable boolean to Utils so we can check for it in profiles
Change-Id: I5a768098b4ed00b28931bee58a58efa8280262a1
|
|
|
|
|
| |
Change-Id: I2dc623ab969d881201b18346e492cf9ea5111587
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
| |
Change-Id: Ic961d5bfd041830baff4d6d73fc36762a1f6dfcf
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
| |
Change-Id: Ibd171f9fcbf96aa0dae9a1dafb6fb07105b2f4c8
|
|
|
|
|
| |
Change-Id: I7d76b49c134db6b61ed84e33f6897d90a16db630
(cherry picked from commit f5c90803094bd4432fd181ae8189b1d5718b44a7)
|
|
|
|
|
|
|
|
| |
On rotate, this popup would keep coming up, even after the user
expressed yes/no.
Change-Id: Iac47797f8a9538d0bedf1db4a41209578df544f3
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
| |
Change-Id: I202007c1558a981cec467d7258b699b39beec51f
|
|
|
|
|
| |
Change-Id: I3535503d5e5431e9e6790933171e0fabe05c3cc6
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
| |
Change-Id: I24c12df7478c18858c6b612dc4ee274792dd5e24
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
With an already-configured profile, modifying the triggers, and
returning to the actions screen does not reflect any updates that may
have been made.
When returning from the Triggers fragment, reload the profile, and the
item list.
Change-Id: I784c941d0572a48a0afe1a620f309fcb6f462599
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
| |
Change-Id: I0f19adb0bc46a708dd7583735cf15c14c336e2c8
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
| |
Change-Id: I9346fd5df42a41d8e1fc2f7228f47bae3a8a7688
|
|
|
|
| |
Change-Id: I048828749b0ec8934ee8d88ed99cd0d53a6753b3
|
|
|
|
| |
Change-Id: Ie7d79518b0a0e28a929b7bdad3e41319e485af33
|