Require that MTP and PTP are mutually exclusive when enabled, but
allow them to be both disabled. Users can enable them again under
Storage menu item in Settings.
Bug: 6518257
Change-Id: I43419fa619ce2c62dd5e8c14d6c645d24fd8943a
Don't apply the "X axis (time) still within previous pixel" optimization
to the status bars below the battery level graph. Keep the path cursor
position and previous state variables up-to-date in this case.
Bug: 8132455
Change-Id: I09390256e3e71d34813de655a1d01ec054ee778a
In case of using DatePickerDialog, user could select any date
before 1970-01-01. However, the system clock cannot be set to
a date before 1970-01-01.
As a result, user couldn't select date before 1970-01-01.
So, use date from 1970-01-01 to 2037-12-31 of DatePickerDialog.
Steps to reproduce:
1. Settings -> Date & time
2. uncheck Automatic date & time
3. Set Date
4. choose any date before 1970 and Done
Change-Id: I075b3fcaa86df1c314c85dd3dd85474a28b8c637
If no package name is provided when declaring a dream settings
activity, use the dream service component package name.
Bug:8370189
Change-Id: I36fabc4e7f10fe7deb5bd7a670c66b2c23d5fc20
There is an array (NEED_VOICE_CAPABILITY) with all keys that
should not be present in a device that does not have voice
capability.
The key KEY_VIBRATE was not part of this array, it was handled
separately in the code.
Moved KEY_VIBRATE to NEED_VOICE_CAPABILITY and remove the
special treatement.
Change-Id: I96aa066cec373ccbfe89c46b530feb484f6f8164
Currently says "Turning Wifi off..."
This change will display "Turning Bluetooth off..." instead.
Change-Id: I697d19ca4d7a69cc6b3729ad09fcf38bf5ab2427
Signed-off-by: Ryan Baxter <rbryanbaxter@gmail.com>
If attempt to configure the first network fails, AccessPoints fails to
update error message because it only checks the error code if it is not
active.
With this change, user may see saved network message for a second
because SupplicantStateTracker retries on authentication failure so
intermediate status is displayed between each trial.
Bug: 8284024
Change-Id: I8b976b03878e27e46726ee8a176f131115b7a409
This change also reorganizes settings a little bit. A new section
called "Hardware accelerated rendering" now hosts all the 2D/GPU
related settings.
Change-Id: Ife2d466b94d69310c2056c3dcf5c13737319f989
RadioInfo was importing DataConnection and GsmDataConnection causing
it to break. As it turns out it isn't using them so I removed them
and all other unused imports.
Change-Id: I34ee9e87545e6b15ebf4d3ec101d4ed3d322f7b2
Keyguard currently relies on being in the system process to grab the
given user's widgets. When we split keyguard into a new process,
it will need to have access to user-specific info to instantiate a
specific user's widgets. In order to accomplish this, we add an
explicit userid to each binder call as well as new permission
check to allow keyguard access.
This also fixes a potential race condition of having an incorrect user id
due to an async call to change the user. Every binder call now has a specific
user id. The user id is either the calling process user's id or an explicit
one passed by applications like keyguard. It is created once when an
AppWidgetManager is instantiated and remains for the lifetime of the object.
Change-Id: Iec767fb399677b3cf2f9c0993e06b49951eb1f66