Commit Graph

10364 Commits

Author SHA1 Message Date
Jeff Sharkey
bb9d6b906e Merge "Refresh after clearing, tweak warn threshold." into mnc-dev 2015-07-30 19:24:53 +00:00
Jeff Sharkey
f99b424f3b Refresh after clearing, tweak warn threshold.
Refresh UI after clearing cache.  Hide user header on single-user
devices to match UX spec.  Refine adopted storage warning threshold
based on experiments with various devices.

For example, a typical internal storage device runs the benchmark
in about 600ms.  Very fast SD cards take about 1700ms, moderate speed
SD cards take about 3800ms, and slow SD cards take about 6800ms.

Bug: 22345902, 22487370
Change-Id: I6066f3b78dbb32277ae94b79e325500724f83c7e
2015-07-30 11:51:47 -07:00
Billy Lau
482e570683 am 9ccf08d2: am bb75ef0a: am 82e6edfe: am 95026e03: am eb372c93: Merge "Bug: 22718745 Intents to \'draw over other apps\' should go direct to the package\'s page instead of the top level one" into mnc-dev
* commit '9ccf08d2ee47407273bd9bc16f0fe0aea3b278c4':
  Bug: 22718745 Intents to 'draw over other apps' should go direct to the package's page instead of the top level one
2015-07-30 17:55:33 +00:00
Billy Lau
9ccf08d2ee am bb75ef0a: am 82e6edfe: am 95026e03: am eb372c93: Merge "Bug: 22718745 Intents to \'draw over other apps\' should go direct to the package\'s page instead of the top level one" into mnc-dev
* commit 'bb75ef0aa60216ed7c77b7f9f83ceaee577a6e34':
  Bug: 22718745 Intents to 'draw over other apps' should go direct to the package's page instead of the top level one
2015-07-30 17:47:30 +00:00
Billy Lau
82e6edfe1b am 95026e03: am eb372c93: Merge "Bug: 22718745 Intents to \'draw over other apps\' should go direct to the package\'s page instead of the top level one" into mnc-dev
* commit '95026e032809f39fb2aece05e8b3d8f74eca77ea':
  Bug: 22718745 Intents to 'draw over other apps' should go direct to the package's page instead of the top level one
2015-07-30 17:30:01 +00:00
Billy Lau
62d04c0012 am eb372c93: Merge "Bug: 22718745 Intents to \'draw over other apps\' should go direct to the package\'s page instead of the top level one" into mnc-dev
* commit 'eb372c93ee00fa9365206129136501497e6341c7':
  Bug: 22718745 Intents to 'draw over other apps' should go direct to the package's page instead of the top level one
2015-07-30 17:22:37 +00:00
Billy Lau
eb372c93ee Merge "Bug: 22718745 Intents to 'draw over other apps' should go direct to the package's page instead of the top level one" into mnc-dev 2015-07-30 17:14:17 +00:00
Billy Lau
fee785645b Bug: 22718745 Intents to 'draw over other apps' should go direct to the package's
page instead of the top level one

Settings:
Added two activities to handle app-specific Intent when app invoke permission
management UI.

SettingsActivity:
Added two fragment classes to handle app-specific Intent when app invoke permission
management UI.

AndroidManifest.xml:
We handle both Intent to top level settings and app-specific management UI for
app ops protected permissions.

AppStateAppOpsBridge:
Added a new field to PermissionState to keep track of permission declared vs one
that is actually granted during install time.

AppState{Overlay/Usage/WriteSettings}Bridge:
Updated the fields affected by changes in PermissionState.

{DrawOverlay/UsageAccess/WriteSettings}Details:
Disabled the toggling of permission if the app did not declare for the asked
permission.

Change-Id: Ibf63e4d9a4fbf7899a93d2176abb1204c4f75557
2015-07-29 23:04:57 +01:00
Fyodor Kupolov
eac01dc739 am cae9e899: am 2731a18f: Merge "brightness status not refresh in powercontrol widget"
* commit 'cae9e8999c27e21518db84ac94860f5958046c69':
  brightness status not refresh in powercontrol widget
2015-07-29 22:04:16 +00:00
Maurice Lam
e863016bac am e27b5590: am 4921339a: am 0ce45dbb: am 1df9a7cc: am 3760e5e7: Merge "[ZenMode] Align text to viewStart in remove dialog" into mnc-dev
* commit 'e27b5590986c378ae225d91ec258a85f4428f00b':
  [ZenMode] Align text to viewStart in remove dialog
2015-07-29 22:03:37 +00:00
Fyodor Kupolov
cae9e8999c am 2731a18f: Merge "brightness status not refresh in powercontrol widget"
* commit '2731a18fbe26eed89d870bf70a116a3588d227e1':
  brightness status not refresh in powercontrol widget
2015-07-29 20:02:25 +00:00
Fyodor Kupolov
2c5f59211f am 2731a18f: Merge "brightness status not refresh in powercontrol widget"
* commit '2731a18fbe26eed89d870bf70a116a3588d227e1':
  brightness status not refresh in powercontrol widget
2015-07-29 19:58:24 +00:00
Sanket Padawe
19336da3f7 am ac2347c0: am 158fa952: am df9b13af: am 74d85949: am e05f7143: Check for special char when renaming device for Wi-Fi direct.
* commit 'ac2347c0bf3c2b9c2ff7d8e2abe0a38d861495c4':
  Check for special char when renaming device for Wi-Fi direct.
2015-07-29 19:49:53 +00:00
Maurice Lam
e27b559098 am 4921339a: am 0ce45dbb: am 1df9a7cc: am 3760e5e7: Merge "[ZenMode] Align text to viewStart in remove dialog" into mnc-dev
* commit '4921339acc0a670ba9fdefe612667db9f8d50bc6':
  [ZenMode] Align text to viewStart in remove dialog
2015-07-29 19:35:53 +00:00
Sanket Padawe
ac2347c0bf am 158fa952: am df9b13af: am 74d85949: am e05f7143: Check for special char when renaming device for Wi-Fi direct.
* commit '158fa952187245ce7b8e9b8c71ee8bd3f23a9cb8':
  Check for special char when renaming device for Wi-Fi direct.
2015-07-29 19:25:06 +00:00
Maurice Lam
0ce45dbbe7 am 1df9a7cc: am 3760e5e7: Merge "[ZenMode] Align text to viewStart in remove dialog" into mnc-dev
* commit '1df9a7cc16a9dd9892b633aad4ec246677d2c6b5':
  [ZenMode] Align text to viewStart in remove dialog
2015-07-29 18:53:41 +00:00
Maurice Lam
862343bcad am 3760e5e7: Merge "[ZenMode] Align text to viewStart in remove dialog" into mnc-dev
* commit '3760e5e7e4ae17012cf0f336fa0d8d62ecbf5e69':
  [ZenMode] Align text to viewStart in remove dialog
2015-07-29 18:39:09 +00:00
Maurice Lam
3760e5e7e4 Merge "[ZenMode] Align text to viewStart in remove dialog" into mnc-dev 2015-07-29 18:25:48 +00:00
Chris Wren
aa352b39ca am 96117fc7: am 97ad12db: am 59f07cc7: am cb176a41: am 2a56d7f2: Merge "fix InactiveApps instrumentation" into mnc-dev
* commit '96117fc751d45f8ab307512821c9a19ee48249f6':
  fix InactiveApps instrumentation
2015-07-29 17:31:01 +00:00
Chris Wren
96117fc751 am 97ad12db: am 59f07cc7: am cb176a41: am 2a56d7f2: Merge "fix InactiveApps instrumentation" into mnc-dev
* commit '97ad12db5c36792870888b5d4a0f0c8d35bf059b':
  fix InactiveApps instrumentation
2015-07-29 17:08:51 +00:00
Sanket Padawe
158fa95218 am df9b13af: am 74d85949: am e05f7143: Check for special char when renaming device for Wi-Fi direct.
* commit 'df9b13af9bff0858c787000f1accee7dd1d2874d':
  Check for special char when renaming device for Wi-Fi direct.
2015-07-29 17:08:45 +00:00
Sanket Padawe
df9b13af9b am 74d85949: am e05f7143: Check for special char when renaming device for Wi-Fi direct.
* commit '74d85949507f3d9fdc75ace2acbec1aa7503b034':
  Check for special char when renaming device for Wi-Fi direct.
2015-07-29 16:44:58 +00:00
Chris Wren
59f07cc7c8 am cb176a41: am 2a56d7f2: Merge "fix InactiveApps instrumentation" into mnc-dev
* commit 'cb176a41ad0ac94a65ed13bf1e18242f8220bd5b':
  fix InactiveApps instrumentation
2015-07-29 16:26:32 +00:00
Chris Wren
3605c4356a am 2a56d7f2: Merge "fix InactiveApps instrumentation" into mnc-dev
* commit '2a56d7f23b4ef87ffb44ab6fcc4fbae6283a3242':
  fix InactiveApps instrumentation
2015-07-29 15:18:26 +00:00
Chris Wren
2a56d7f23b Merge "fix InactiveApps instrumentation" into mnc-dev 2015-07-29 14:57:14 +00:00
Julia Reynolds
b2b58dac7b am 56cdfbf6: am 3d6a40af: am 1990f8f7: am cb91edae: am 300d6fd9: Merge "Use pattern visibility setting on confirm pattern screen." into mnc-dev
* commit '56cdfbf6286fef9b0d88e5c4dd6f20292582ed04':
  Use pattern visibility setting on confirm pattern screen.
2015-07-29 13:55:10 +00:00
Julia Reynolds
56cdfbf628 am 3d6a40af: am 1990f8f7: am cb91edae: am 300d6fd9: Merge "Use pattern visibility setting on confirm pattern screen." into mnc-dev
* commit '3d6a40af6e8adb8230812a84998fadf82d71048f':
  Use pattern visibility setting on confirm pattern screen.
2015-07-29 13:34:43 +00:00
Julia Reynolds
1990f8f722 am cb91edae: am 300d6fd9: Merge "Use pattern visibility setting on confirm pattern screen." into mnc-dev
* commit 'cb91edaeb2fd9bdf8a77a994c4767fac808bbe36':
  Use pattern visibility setting on confirm pattern screen.
2015-07-29 13:00:27 +00:00
Julia Reynolds
0a52b7b3c4 am 300d6fd9: Merge "Use pattern visibility setting on confirm pattern screen." into mnc-dev
* commit '300d6fd90c3b63948d86e140353604baa8339a34':
  Use pattern visibility setting on confirm pattern screen.
2015-07-29 12:38:25 +00:00
Julia Reynolds
300d6fd90c Merge "Use pattern visibility setting on confirm pattern screen." into mnc-dev 2015-07-29 12:25:54 +00:00
Martijn Coenen
f299787f32 am 25f86b0f: am 120ed352: am b0390ed0: am de661d5b: am 8e7b9cf9: Merge "Fix tap & pay strings." into mnc-dev
* commit '25f86b0fafc1c9d656ce8aab305137c41662b037':
  Fix tap & pay strings.
2015-07-29 11:04:34 +00:00
Martijn Coenen
25f86b0faf am 120ed352: am b0390ed0: am de661d5b: am 8e7b9cf9: Merge "Fix tap & pay strings." into mnc-dev
* commit '120ed352430ae322fa9a5cc79f2c7bf654e2156a':
  Fix tap & pay strings.
2015-07-29 10:46:42 +00:00
Martijn Coenen
b0390ed0e5 am de661d5b: am 8e7b9cf9: Merge "Fix tap & pay strings." into mnc-dev
* commit 'de661d5b15e6d645229be4ea582a7d01fe160b9c':
  Fix tap & pay strings.
2015-07-29 10:06:07 +00:00
Martijn Coenen
274d92467a am 8e7b9cf9: Merge "Fix tap & pay strings." into mnc-dev
* commit '8e7b9cf9f67344192de98c951c11f144d1cdcd13':
  Fix tap & pay strings.
2015-07-29 08:12:07 +00:00
Martijn Coenen
8e7b9cf9f6 Merge "Fix tap & pay strings." into mnc-dev 2015-07-29 07:54:04 +00:00
Zach Johnson
9153a338b7 am b9739da6: am 0f5373e0: am b5c146ee: am ecb19d54: am a425e864: Merge "Hide apps in the battery menu that have COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED" into mnc-dev
* commit 'b9739da6d0929d41a6490e99dbeb7abfc1ddaf43':
  Hide apps in the battery menu that have COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED
2015-07-29 00:17:17 +00:00
Zach Johnson
b9739da6d0 am 0f5373e0: am b5c146ee: am ecb19d54: am a425e864: Merge "Hide apps in the battery menu that have COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED" into mnc-dev
* commit '0f5373e0eb2a912407323aaa459a3c55d3037115':
  Hide apps in the battery menu that have COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED
2015-07-28 23:56:29 +00:00
Zach Johnson
b5c146eef9 am ecb19d54: am a425e864: Merge "Hide apps in the battery menu that have COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED" into mnc-dev
* commit 'ecb19d540025a6c1855d148f1b4015f3a107bfd1':
  Hide apps in the battery menu that have COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED
2015-07-28 23:18:57 +00:00
Zach Johnson
4fd8d1e147 am a425e864: Merge "Hide apps in the battery menu that have COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED" into mnc-dev
* commit 'a425e86478b60c4eb1f90f47197fa244379879de':
  Hide apps in the battery menu that have COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED
2015-07-28 22:57:57 +00:00
Zach Johnson
a425e86478 Merge "Hide apps in the battery menu that have COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED" into mnc-dev 2015-07-28 22:36:31 +00:00
Julia Reynolds
5f4278bdd9 am b5852c60: am 981ff182: am 8bdb5561: am 85bdb773: am 5b5ed310: Merge "Prevent crash in app memory updater." into mnc-dev
* commit 'b5852c60610014b31a52792762ef120a68468775':
  Prevent crash in app memory updater.
2015-07-28 22:05:06 +00:00
Julia Reynolds
639ff84f94 am 3275d302: am 13a07054: am 2ade0a5e: am b7c6306b: am feeae4cd: Merge "Hide usage graph on app usage details pages." into mnc-dev
* commit '3275d30212196f8d42afb6d455508e345bf544e5':
  Hide usage graph on app usage details pages.
2015-07-28 22:05:03 +00:00
Julia Reynolds
b5852c6061 am 981ff182: am 8bdb5561: am 85bdb773: am 5b5ed310: Merge "Prevent crash in app memory updater." into mnc-dev
* commit '981ff1825e74dd391f4b7cdf03032cfbab0d7100':
  Prevent crash in app memory updater.
2015-07-28 21:53:01 +00:00
Julia Reynolds
3275d30212 am 13a07054: am 2ade0a5e: am b7c6306b: am feeae4cd: Merge "Hide usage graph on app usage details pages." into mnc-dev
* commit '13a070549d7a38e6b892293eb1ec4f6e52eff2cc':
  Hide usage graph on app usage details pages.
2015-07-28 21:53:00 +00:00
Jorim Jaggi
370af761fc am 6c4a29e5: am 72f141a5: am a15cf227: am 22064d8b: am 4d9f5c91: Merge "Don\'t use screenshot if structure is disabled (2/2)" into mnc-dev
* commit '6c4a29e5e8c736d53506ef6a84dede2d64ebe3a5':
  Don't use screenshot if structure is disabled (2/2)
2015-07-28 21:38:16 +00:00
Jorim Jaggi
6c4a29e5e8 am 72f141a5: am a15cf227: am 22064d8b: am 4d9f5c91: Merge "Don\'t use screenshot if structure is disabled (2/2)" into mnc-dev
* commit '72f141a518426b53295f65836eebb7ecf4316c2d':
  Don't use screenshot if structure is disabled (2/2)
2015-07-28 21:18:45 +00:00
Julia Reynolds
8bdb556174 am 85bdb773: am 5b5ed310: Merge "Prevent crash in app memory updater." into mnc-dev
* commit '85bdb7730814c1f1d8d13dec40e203e94fa87215':
  Prevent crash in app memory updater.
2015-07-28 21:16:06 +00:00
Julia Reynolds
2ade0a5e7b am b7c6306b: am feeae4cd: Merge "Hide usage graph on app usage details pages." into mnc-dev
* commit 'b7c6306b8322de90e5a620ac5e670216685c7841':
  Hide usage graph on app usage details pages.
2015-07-28 21:16:03 +00:00
Julia Reynolds
1ae73fafe7 am 5b5ed310: Merge "Prevent crash in app memory updater." into mnc-dev
* commit '5b5ed310d4eaf5f1c74594ada81a148d4f67f4c0':
  Prevent crash in app memory updater.
2015-07-28 20:52:50 +00:00
Julia Reynolds
b506392025 am feeae4cd: Merge "Hide usage graph on app usage details pages." into mnc-dev
* commit 'feeae4cdebfa1303581dbd284039bcf91068addd':
  Hide usage graph on app usage details pages.
2015-07-28 20:52:48 +00:00