| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Exception thrown during monkey testing.
Change-Id: I2f08df1e36c386aec0d57e3b6714cdbdd0f29246
TICKET: FEIJ-677
|
|
|
|
|
|
|
|
| |
Cellular networks settings menu will be disabled
if user enables airplane mode
Change-Id: I83d78754918d50c02e19121ffcfb673bb1dc5797
TICKET: CYNGNOS-2697
|
|
|
|
|
|
|
|
| |
Sometimes when connected to Wifi, the mobile data switch gets checked
off, even though mobile data is enabled.
Change-Id: I4d28366f9c7aa63d20b215d39bdcb04f7b6e83dc
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
| |
Change-Id: Ibff81510270745807a4b133457d60d47dd629df6
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
For more elaborate themes that use a drawable with color and no
need for tinting, the tint mode needs to be changed to SRC_ATOP
instead of the default SRC_IN. This means that the alpha value
from the tint color is discarded and the alpha of the drawable is
used instead. Stock still looks as expected so this should be
an acceptable compromise to accommodate themes that supply a
transparent tint with the intention of no tint being applied.
Change-Id: I6852792b6b71ef73c5c0ba6073c88bff8c19456b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Marhsmallow now allows for system apps to add settings. An icon is
loaded from the external package and a tint is applied to the icon
so that it matches other icons in the dashboard. The tint color
uses the colorAccent attribute from the currently applied style.
Themes can overlay the colorAccent but this color is also used for
other elements of the UI which may not be ideal.
This patch adds a new color external_tile_icon_tint_color which
points to the attribute ?android:attr/colorAccent when not themed.
This retains the original look but offers better flexibility for
theme designers.
Change-Id: I95fe8da0768f29e0b762af3a74fd2afad7b15cd2
|
|
|
|
|
| |
Bug: 21114836
Change-Id: I9a6e00ab8d85726ca6505a28ca7a52aef5aa1e1a
|
|
|
|
|
| |
Bug: 20293458
Change-Id: I9d3f04fb74c0e978e69e17898b703e270298fcbc
|
|
|
|
|
|
|
|
|
|
| |
- Handle a backup URI, so that if the specified URI is not available,
another can be used.
- Add some data to help intents when they are intent URIs
- Fill in the context with a classname when it isn't present
Bug: 15475009
Change-Id: I7050fa61121901929e650b20bd7a0ae21e8ba207
|
|
|
|
|
|
|
| |
So they can match the Settings theme.
Bug: 20449897
Change-Id: I33ad0d78dad6fbc9dae35552246a559b6508deaf
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 20159614
Change-Id: Id7bf48f2337c8764a37b5f6ff836fbae4019c747
|
|/
|
|
|
|
|
|
|
| |
Allow help uris to be either an intent uri or as uri (as they were
before). Also add a default help uri, and specific helps for several
screens.
Bug: 15475009
Change-Id: Iff982892973f01d32ff61ea88d4844e9a7153500
|
|
|
|
|
| |
Depends-On: I5b1dccb5d103ece3112acf38889bae16273b092f
Change-Id: I116aed2bb805f723a5bf2ec9eb94257de0b4a7b5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allow system apps to add a tile to the top level of settings that
links to an activity through adding a filter for a specific action.
Determine the info for the tile based off manifest info for the
activity. Also allow the same for managed profiles, but show a dialog
in between to select which profile.
The category in which the item is to be placed must be in meta-data.
The icon and title can be specified through meta-data as well or
if unspecified the activity's label and icon will be used.
Also added an optional <external-tiles> tag to the dashboard
category xml, this allows Settings to put external tiles
in the middle of some categories (Personal does this).
Bug: 19443117
Change-Id: Idc9938d1549d181103a3030a8784b527215a8399
|
|
|
|
| |
Change-Id: Iebfa52cb849d69974c94902b0b020893cf5618a3
|
|
|
|
|
|
|
|
|
| |
submitted
- dismiss keyboard when the query is submitted by returning the correct value to
onQueryTextSubmit()
Change-Id: I3da0606ea7c5e65c860784a867a54ad30589b3a7
|
|
|
|
|
|
|
| |
- remove the Intent.CATEGORY_HOME as it is not useful and
cannot be used into an Intent filter
Change-Id: I516188ea1c662c3277c64194c229a2e1c03a4e6a
|
|
|
|
|
|
| |
- remove those non usefull Intent.CATEGORY_LAUNCHER
Change-Id: Ib6e5f4a5265633da85423307fac26a104814f05f
|
|
|
|
|
|
|
|
|
| |
- remove that HomePackageReceiver from the AndroidManifest
that could force Settings to run
- use a HomePackageReceiver into HomeSettings and DashboardSummary
- fix also the BatteryInfoReceiver for refreshing the Dashboard
Change-Id: Id3891529fc176e7e4c450f2ce723f8ac2af66c58
|
|
|
|
|
|
| |
Bug: 15815948
Bug: 15819268
Change-Id: I3b6978cff346c73cca1d6a2c209ffe4c71808244
|
|
|
|
|
|
|
|
|
| |
- fix overdraw use as less backgrounds as possible
- make it look like the Dashboard with padding left and right
See bug: #15384992 Setting Dashboard - padding updates
Change-Id: I30ff33e51bc3c73e888d45f0ce6e16784eb6721c
|
|
|
|
|
|
|
|
|
|
|
|
| |
Index -1 requested, with a size of 38
- ahhhh Monkeys, do not allow to have position < 0
Similar fix than the one done for:
mSuggestionsListView.setOnItemClickListener(...) in I3a8ded4c1471a1589134826539c9db1b551f49dd
Change-Id: I6ef266852e2c2ab5d0d0f6b4faf358b22d12bf6b
|
|
|
|
|
|
|
|
|
|
| |
- follow UX spec
- update also the Search Panels (suggestions / results) to
follow the same specs
See bug: #15384992 Setting Dashboard - padding updates
Change-Id: I3d27a3b3d9779644f8ea123990a0c7bed8d4ba74
|
|
|
|
|
|
|
|
|
|
| |
Index -1 requested, with a size of 1
- do not allow to have position < 0
A use case was generated by the Monkeys where they were capable to click on the Header.
Change-Id: I3a8ded4c1471a1589134826539c9db1b551f49dd
|
|
|
|
|
|
|
|
|
| |
- add the capability to scroll recents and results with their
header (old request from UX)
See bug: #12910134 Implement Search into the Settings App
Change-Id: If3c4a23b928b189803f2ef8e13a61746c2790b4b
|
|
|
|
|
|
|
|
| |
...as per the newly selected language
- use also title resource id when possible
Change-Id: Ibeb95d605cd79910c18f4529b749645c9ed0fc17
|
|
|
|
|
|
|
|
|
| |
- as the summary was sometimes showing "Unknown" or even not the
real Preference value (we dont have right now the capability to
know the current value of a Preference), so it is better to be
safe than sorry.
Change-Id: I009c31fc41ad35a630f4b34aa0ef998932f65263
|
|
|
|
|
|
|
|
| |
- make the summary view as GONE when its text is empty
See bug: #12910134 Implement Search into the Settings App
Change-Id: Iafd680706b937137eaa30692e1c57a77cb5d7fc8
|
|
|
|
|
|
|
|
|
| |
DashboardSummary{588de71} not attached to Activity
- prevent rebuilding the UI until the fragment got attached
Change-Id: I6d5fcbce2581f3fc9900f1ca4fc8178ee959061e
(cherry picked from commit 53d76860a53c1463d182d4f3d28ce8e9f48454f3)
|
|
|
|
|
|
|
|
| |
- prevent loading categories twice
- add some logging to see the time taken for building the Dashboard titles
Change-Id: I31724c0e66fe3b453a87f12476f58db84c73423f
(cherry picked from commit b644f29313c086806d1ba5ad3db8ac36d2bf3c4f)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- per UX request
- Search recents show now by defaults with the recent searches
when the SearchView is empty
- when we press on a Serach recent, we are showing the Search results
and the recents are disappearing
- when keying text in the SearchView, we hide the recents and start
showing the results
- we still save the Search query when hitting on a result
Change-Id: I6c2be21660a30f6973dea27d4852b2068a05963d
|
|
|
|
|
|
|
|
| |
enter
- fix Dashboard categories refresh issue
Change-Id: I5bb7fc4a1410df8f5c2d2d13f7625a1ccc8893c3
|
|
|
|
|
|
| |
See bug: #13140648 Settings needs to support the new Quantum Paper theme
Change-Id: If3174fee563ef204eb939576e4c7ef4d986735e3
|
|
|
|
|
|
|
|
|
| |
Dashboard
- unregister the OnAccountsUpdateListener in Fragment.onDestroy() instead of
in Fragment.onStop()
Change-Id: I07c92f85bb6efb34771d93158f00b60d93f4c90b
|
|
|
|
|
|
| |
- needed for Quantum Theme support
Change-Id: I90e8fdbb86a3cc5d5c209d4d345f6d423b2a1d5d
|
|
|
|
|
|
| |
- goodbye Header(s) !
Change-Id: Ied27f1f01dbed9c51cc74d28800d9ca7cab47d5a
|
|
|
|
|
|
|
|
|
|
|
| |
... after changing orientation
- set the SearchView for the SearchResultsFragment when the SearchView is
instantiated in the onCreateOptionsMenu(Menu)
- take care of the correct showing of the Recent Searched (suggestions)
Change-Id: Idfa17436d4a2436e0947ce1e1692355def3821a3
|
|
|
|
|
|
| |
- check if the account istener has been previously added or not
Change-Id: Icfd111a406507ac520a396e44710a9d882f2ae4d
|
|
|
|
|
|
|
| |
- use a touch-feedback background
- declare DashboardTileView as focusable
Change-Id: I67ae19cd20374e531660232034528c995f595900
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 14410901
Change-Id: I52f85e8d4254caf1a3d0c26bf1805580f78fba99
|
|/
|
|
|
|
|
| |
Remove the listener in onStop(), to be symmetrical with onStart().
Bug: 14393261
Change-Id: I5d4f0ca38d5ef52b97715b8f3791ff2a400c68e2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Introduce the new Dashboard (a grid like presentation of
Settings top categories) per UX specification.
- the Dashboard is composed of "categories" and in each of them
you have "tiles"
- implement a new layout for showing top categories
(DashboardContainerView). This layout basically acts like a
grid
- depending on the device configuration make the grid with 1
column in portrait / 2 colums in landscape (phones) OR 2 columns
in portrait and 3 in landscape (tablets)
- take care of Accounts adding and removing (as it changes the
number of tiles to show)
Also remove all the old code related to Headers
Change-Id: Ie29944132c1b4c3f7b073d5a7d4453b8f5ec19a7
|
|
|
|
|
|
|
|
| |
- make the Settings dashboard definition be hierarchical (non flat) and use
categories and tiles
- code cleaning: remove mHeaderIndexMap
Change-Id: I16581a736ac5c8388a182d83159161fe3bb04f4b
|
|
|
|
|
|
|
|
|
|
|
|
| |
- update SearchResultsSummary fragment to have two lists:
one for Search suggestions (saved queries) and one for
Search results
- a tap on a saved query will launch that Search query
- show the list of saved queries when tapping on the SearchView
- do some fancy hidding / unhidding of the saved queries list
and results list
Change-Id: If15055ab78b0ec5eef4e543173dc7b866bd08e27
|
|
|
|
|
|
|
|
|
|
| |
- update database model for adding a table for saving a query
and its timestamp
- update database version
- save the query when the User tap on a Search result
- remove old queries (no more than 5 are saved)
Change-Id: I4ddff0ad660944c7fd53be64ac95397850dc60d0
|
|
|
|
|
|
|
|
|
|
|
|
| |
- before, we were showing a Swich for WiFi and Bluetooth entries
in the Headers. As this is no more the case, remove the code
that is no more usefull.
- as a side effect, we are also removing the call to update the
Search Index that was running when the Settings app was resuming
or pausing.
Change-Id: I26b40df5c7a664d196a249840638d89909b6bc24
|
|
|
|
|
|
|
|
|
|
| |
- now it is possible to have Search results directly when
you are typing (and not only when you press on the Search button
in the IME)
- implement onQueryTextChange(...)
- take care about re-runnin the saved query when the app is resumed
Change-Id: I021c8a9a95b50dce69ab6dace81eecb2fb188f18
|
|
|
|
|
|
|
|
| |
- need to increment the database model version to force re-indexing
- change entries separator from SPACE to PIPE
- just show the first entries value in the Search results
Change-Id: I747218ff3528c3231c0209f8870c12f65e036070
|